Previous Topic Next topic Print topic


Performing Code Analysis when Building a Project

Before you build a project, enable code analysis in the project's properties as follows:

  1. In the IDE, navigate to your project's properties.
  2. Click the Micro Focus Code Analysis tab.
  3. Check Run active rule sets after build and one or more rule sets.

    To view and modify the set of rules that will be executed with each rule set, click Micro Focus Code Analysis Manager. Click OK to confirm any changes you have made.

  4. Click File > Save All.

Having enabled code analysis for a project, to run code analysis on it you simply need to build the project or the entire solution.

Building a project with code analysis enabled produces analysis reports. These are automatically displayed in the Micro Focus Code Analysis window. See The Micro Focus Code Analysis Window for details about how to view and navigate the reports.

Previous Topic Next topic Print topic