Lines of Source | Total number of source lines |
Lines of Code | Lines of Procedure Division code |
Comment Lines | Number of comments (both * in column 7 and end of line comments "*>") |
Text Comments | Number of comments containing at least character A-Z, a-z, or 0-9. This generally provides a better indication of the number of meaningful comments in a program |
Comment Ratio | Number of text comments for every 100 source lines |
Section | Number of section-names |
Statements | Total number of COBOL statements |
Paragraphs | Number of paragraph-names |
Files | Number of files (FDs) |
Data Items | Number of data items |
Conditions | Number of conditions (level-88 items) |
Screen-names | Number of screen-names (Screen Section syntax) |
Report | Number of report-names (Report Writer syntax) |
Constant | Number of level-78 items |
Call (by name) | Number of call-by-name subprograms used |
Call (by number) | Number of call-by-number routines used |
Call (data item) | Number of data items used as called subprogram-names |
Verb counts | Number of verbs for each type of statement, including the number of statements for each type of group (for example, Program Exits, Arithmetic) |
Arithmetic | Total number of all ADD, COMPUTE, DIVIDE, MULTIPLY, SUBTRACT statements in the code. |
Maximum Nesting | Maximum nesting level of in-line constructs; such as IF, EVALUATE, in-line PERFORM |
Overlapping Performs | Number of paragraphs/sections that lie in more than one PERFORM...THRU range |
Program Volume | An assessment of the number of operators and operands in the program. It is calculated as (N1 +
N2) LOG2 (n1 + n2)
where the parameters are:
|
Total Data | Data size of .int code |
INT Code | Procedure size of .int code (root segment only) |
Linkage 01s | Level-01 items in the Linkage Section |
Comments:
The values of these statistics might not be strictly accurate for those programs compiled with an integrated preprocessor, and can vary slightly depending on the COBOL language dialect specified when you syntax-checked your program.