Executing the code review
You can use the code review tool on any test, application node, or a single source file. The code review tool is run on the source code whenever you build the file.
Before you begin
For all new projects, you must have selected the rule configuration file. You can configure the code review rules if necessary. See Configuring code review rules.
About this task
To perform a code review without compiling and executing the application:
Procedure
- In the Project Explorer, select the node that you want to check.
- Click the Code Review icon to enable code review in the build and click the Launch icon .
-
If your rule configuration file is an out-of-date version, you are prompted to
update it. Click ok and select the rules that are
missing.
Note: The selected rules are added with their default severity levels to your configuration file. Unselected rules are added as disabled rules.
- In the Project Explorer view, right-click on the result file under the Test Result node, select to see the report.