Code Review settings

The Code Review settings are part of the Configuration Settings dialog box, which allows you to configure settings for each node.

Use the Code Review settings to change any project settings related to the code review tool.

By default, the settings of each node of a project are inherited from those of the parent node. When you override the settings of a parent node, changes are propagated to all child nodes within the same Configuration. Overridden fields are displayed in bold.

  • Rule configuration: This setting specifies the file containing the rules for the code review tool. Click Browse ... to select another rule configuration file. Click the Edit button to edit the rule configuration or to create a new rule configuration. See Configuring code review rules for more information.

  • Additional included system directories: This setting specifies system include directories that are to be ignored during the code review.

  • Review included system files: Select Yes to extend code review to system files that are #included in the source files.

  • Naming script file: This setting allows you to specify a perl script that can check your own naming rules. See How to customize a naming script file. for more information.

  • Include Files: Specify a list of files to preinclude, like gcc would do with the -include= <files> option .

  • Display Errors/Warnings: Specify the maximum number of errors and warnings that you want to display in the report. By default, All errors and warnings are displayed.

To edit the Code Review settings for one or several nodes:

  1. In the Project Explorer, click the Settings button.

  2. Select a node in the Project Explorer pane.

  3. In the Configuration Settings list, select Code Review.

  4. When you have finished, click OK to validate the changes.

Related Topics

About Configuration Settings | About Static Metrics | Configuring code review rules