Software Metrics Research and Development Assurance Tools and Techniques Project Support and Outreach Continuous Risk Management

Code Metrics Title Image

Non-OO Metric Definitions

# Modules The total number of modules in a project
LOC  The total Lines of Code found in a project (Source lines + Blank lines + comment lines)
Blank The total number of blank lines that contain no code or comments on the line found in a project
% Comment Comm / (LOC - Blank)
Exec. Stmts. Total number of executable statements in a project
Comm Total number of comments freestanding + inline comments
#goto The total number of GOTOs in a project
#sql The total number of sequel calls in a project
Cyclomatic Complexity Number of linearly independent test paths (McCabe)Cyclomatic Complexity
Extended Cyclomatic Complexity Similar to Cyclomatic Complexity only this metric is extended by taking into account compound decision and loops (and/or)

 

CODE METRICS - HOME PAGE  

 

 SATC Home Send E-Mail to the SATC NASA Goddard NASA IV+V

Copyright © 1998
Software Assurance Technology Center

This page was last updated on:
08/22/00