Rocket® Visual COBOL® (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
TIMES
Presents a list of program statistics. This consists of the following information:
| 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.