Statistics
The Statistics tab shows a table that contains measurements taken by Rational® Asset Analyzer for each program that is shown on the “Program summary” page. From this table, you can also open a “Program details” page for a specific program by clicking the link in the Program column.
Click the arrows on any table heading to sort the table by that measurement characteristic. Use the Advanced search to further refine the set of program results, by Application or Language for example.
| Characteristic | Definition |
|---|---|
| Lines in program | The number of lines of code in the compiled program. |
| Comment lines | The number of comments lines in the source program. |
| External control flow transfers | The number of external control flow statements in the program, such as CALL, and CICS® LINK, XCTL, and RETURN. |
| Data stores | The number of data stores defined by the program. |
| Include files | The number of include files in the program. |
| Variables defined | The number of data elements defined in the program. |
| Number of lines in file | The number of lines in the source file. |
| Halstead effort | Calculates the complexity of a program to determine the mental effort required to develop or maintain a program. The lower the value of this measure, the simpler a change to the program will be. This measurement is calculated for COBOL and PL/I programs. See the Related Concepts for information on how this value is calculated. |
| Essential complexity | Calculates the number of entry points, termination points, and nonreducible nodes (unstructured exits from blocks of code) to determine how well structured a program is. The closer to 1 this value is, the more well structured the program is. This measurement is calculated for COBOL and PL/I programs. See the Related Concepts for information on how this value is calculated. |
| Cyclomatic complexity | Measures the number of linearly-independent paths through a program module to determine the stability and level of confidence in a program. Programs with lower cyclomatic complexity are easier to understand and less risky to modify. This measurement is calculated for COBOL and PL/I programs. See the Related Concepts for information on how this value is calculated. |