Before you build a project, enable code analysis in the project's properties as follows:
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.
Having enabled code analysis for a project, to run code analysis on it you simply need to build the project (as a standalone project or with other projects), or the entire solution.
When code analysis is in progress, the Build, Rebuild and Clean commands for the solution and the projects are disabled. (Similarly, the code analysis menu commands are disabled when a build, rebuild or a clean command is being executed.
Running code analysis on multiple projects is performed in parallel.
Building a project with code analysis enabled produces analysis reports. Any messages from the code analysis are displayed in the Output window alongside the build messages and the reports 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.