Previous Topic Next topic Print topic


Performing Code Analysis on Demand

You can run code analysis rules or rule sets on projects or files in the IDE to perform code analysis without building the sources.

To run code analysis on demand:

  1. In Solution Explorer, right-click a COBOL program, a selection of programs, or a project in your solution.

    Alternatively, right-click a COBOL program in the editor to perform analysis of that individual file.

  2. Click Micro Focus Code Analysis and either click a rule or a rule set.

    This runs the selected rule or the rules enabled for a rule set on the source you have selected.

    To select rules that are not available on the context menu, click Micro Focus Code Analysis > Additional Rules or Code Analysis > Additional Rule Set. Select the rules that apply and click OK.

The Code Analysis 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.

Previous Topic Next topic Print topic