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 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.