Statistics and metrics

The Rational® Asset Analyzer metrics framework provides a twofold approach to calculating measurements and statistics for inventory assets.

The kinds of predefined statistics and metrics gathered and reported by Rational Asset Analyzer fall into the following general categories:

Counts
Include simple totals of various programming statements, objects, and files. The home and explore pages of Rational Asset Analyzer include enterprise-wide counts of all asset types or of the asset types that match certain search criteria. The summary and details pages also include asset-specific counts, such as the number of lines in a program, the number of comment lines, the number of external control flow transfers, the number of data stores, the number of include files, the number of variables defined, and the number of lines in a file.
Metrics
Rational Asset Analyzer calculates several measurements from the occurrence of specific operands and types of language instructions. The measurements it reports are approximations.
  • Cyclomatic complexity measures the reliability and maintainability of a program by calculating the number of linearly-independent paths through a program module. Rational Asset Analyzer calculates and reports Cyclomatic complexity for COBOL and PL/I programs, and Applications, Containers, Impact analysis projects, Link decks, Projects, Working sets, and Sites that contain COBOL and PL/I programs.
  • Essential complexity measures how well structured a program is by calculating the number of entry points, termination points, and nonreducible nodes (unstructured exits from blocks of code). Rational Asset Analyzer calculates and reports Essential complexity for COBOL and PL/I programs, and Applications, Containers, Impact analysis projects, Link decks, Projects, Working sets, and Sites that contain COBOL and PL/I programs.
  • Halstead metrics measure a program's computational complexity from source code by counting a program's operators and operands to derive measurements of a program's length, vocabulary, volume, difficulty, and effort. Rational Asset Analyzer calculates and reports Halstead effort for COBOL and PL/I programs, and Applications, Containers, Impact analysis projects, Link decks, Projects, Working sets, and Sites that contain COBOL and PL/I programs.
For more information on these metrics and how Rational Asset Analyzer calculates them, see the Related Concepts. For more information on how Rational Asset Analyzer reports these measurements and statistics on product pages, see the Related resources.
e-business information
A collection of numeric attributes that is based on specific language instructions. Rational Asset Analyzer reports e-business information for COBOL and PL/I programs on "Program summary" pages.