Metrics
This chapter describes how CAE Provider for Metrics works and how it can be customized.
CAE Provider for Metrics performs these operations:
• | For each program, it calculates analytic data at parsing time. |
• | For mainframe programs, it calculates software science volume and cyclomatic complexity, and generates Metric objects. |
• | For object-oriented language program classes, it calculates the metrics specific to object-oriented languages. |
For classes of most languages, cyclomatic complexity also is calculated.
You can view the output from CAE Provider for Metrics in either one of these two ways:
• | Per program, by retrieving information directly (e.g., using a query or any other becubic standard feature) from the generated objects (i.e., Source, Program, Binary Object File, and Metric objects) |
• | Per application, by using the Application Portfolio Management (APM) feature in becubic. |
For information about how to display this output in the becubic Eclipse client, see the ASG-becubic User’s Guide.
If you activate additional metrics options after having loaded at least once, you must force re-analysis of all program source files so that the metrics are correctly calculated. Only the metrics in the OO metrics section (e.g., DIT, NOC, CBO, etc.) do not require re-analysis of all source files.