COBOL Source Code Metrics
The COBOL Metrics tool computes a number of useful metrics for COBOL program source code suites. It is a member of SD's family of Source Code Metrics tools. An example of the COBOL Metrics tool results can be seen here.
COBOL Metrics Features
- Repeatable operation across specified set of files
- Metrics computed at paragraph, section, division and file level:
- Source Lines of Code (SLOC)
- Noncommented Source Lines of Code
- Comment Lines
- Number of Methods
- Decision Density
- Cyclomatic Complexity
- Maximum loop nesting
- Maximum conditional nesting
- Halstead measures (volume, difficulty and effort)
- Software Engineering Institute (SEI) Maintainability Index
- Worst-case nesting metrics pinpointed to specific file/line
- Summaries per section/division/file
- Text report
- XML report, reformattable in any way desired (example)
See other COBOL tools.