Campaigns

Required role  Campaign Execution
Access  CodeChecker Server Campaign Execution →  Campaigns

Campaigns are used to carry out a code review process and to keep records of these executions over time. Associate a code review with a target to define the context for each campaign's analysis. When a campaign is launched, the rule sets defined in the selected code review are executed on the associated target to check the code quality.

Once a campaign is completed, the campaign status indicates if the quality rules contained in the executed rule sets succeeded or failed. The campaign results can then be viewed to know which quality rules failed and which source members are concerned.

Example

You want to check the code quality of your application. You have defined quality rules to set code quality goals, and these quality rules are grouped into a rule set.

To execute the quality rules on the source code of your application, you need to create a code review to associate the rule set to that target application. You will then be able to generate campaigns using this context and carry out the code review process.

Reference

For more information about code reviews, refer to Code reviews.

For more information about targets, refer to Targets.

Campaigns can be manually created and launched, or scheduled to automate the creation and launch processes.

Reference

This chapter describes how to manually create and launch campaigns. For more information about scheduling campaigns, refer to Schedules.

Campaigns

The  Campaigns view is accessed from the  Campaign Execution node in the Navigator.

Enter any combination of the above search criteria, then click the Search button to display the results. To display the complete list, click the Search button without entering any search criteria.