Rational Developer for System z

Overview of running a software analysis

This topic provides an overview of running a software analysis.

You run a software analysis by selecting a software analysis configuration from a list of existing configurations. You can do this in several contexts: from the Eclipse toolbar, from a popup menu in the project explorer, from the COBOL editor, or from the software analysis configuration editor (see Running a software analysis; runtime scope).

The software analysis runtime component first determines the scope of the software analysis, that is the COBOL source files to which the rules are to be applied. The scope is set in the software analysis configuration to be either the entire workspace, a resource working set, or selected projects (see Creating a software analysis configuration). However, you can override the configured scope when you start the software analysis (see Running a software analysis; runtime scope).

During the software analysis the code review runtime component applies the rules specified in the software analysis configuration to each COBOL source file in the scope. The runtime component records the results of the review in two forms. The first form is a complete report that appears in the Software Analysis Results view and that is organized by rule, source file, and line number (see Working with histories and results). The second form is a set of icons that appear in the left margin of the COBOL editor, each icon positioned at the line of source code where an infraction was detected. Clicking an icon displays the relevant rule (see Fixing a problem reported in a result).


Feedback