## Program Unit Metrics Report

The Program Unit Metrics Report provides information on various metrics for each program unit that has been analyzed.

The following metrics are provided for each program unit:

- Lines - the total number of lines in the program unit.
- Comments - the number of lines that contain Ada comments in the program unit.
- Blanks - the number of blank lines in the program unit.
- Code - the number of lines that contain any type of code.
- Lines-exe - the number of source lines that are executable, note that this may exceed the number of Ada statements since they may cross line boundaries.
- Lines-dec - the number of source lines used to declare entities (such as packages, types, parameters, etc...)
- Stmt-exe - the number of executable statements, as counted by semicolons in executable code. Always <= code-exe lines.
- Stmt-dec - the number of declarations as counted by semicolon-terminated declaration statements. If the -count_declarations option is specified when the database is created, this heading becomes “decls” and the count is the number of declarations.
- Statements - the total number of statements. This is the sum of the number of executable and declaration statements.

Specifications and bodies of program units are reported separately.

Note: code+comment+blank != lines
Some lines may contain both code and comments.

Scientific Toolworks, Inc. http://www.scitools.com