NASA - National Aeronautics and Space Administration
Follow this link to skip to the main content
+ Site Help & Preferences
Go
ABOUT NASA LATEST NEWS MULTIMEDIA MISSIONS MyNASA WORK FOR NASA

+ NASA Home
+ IVV Home
Metrics Data Program
MDP HOME
WHAT IS THE MDP?
CONTACT THE MDP TEAM
PROJECT RECRUITING
REPOSITORY OVERVIEW
REPOSITORY LISTING ACCESS
MDP Banner

MISCELLANEOUS QUANTITATIVE METRICS

Branch Count | Call Pairs | Condition Count | Decision Count | Edge Count | Formal Parameter Count | Modified Condition Count | Multiple Condition Count | Node Count | Unique Operators | Unique Operands | Total Operators | Total Operands

Branch Count
Handle: Branch Count
Description: This metric is the number of branches for each module. Branches are defined as those edges that exit from a decision node. The greater the number of branches in a program's modules, the more testing resource's required.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Call Pairs
Handle: Call Pairs
Description: Number of calls to other functions in a module.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Condition Count
Handle: Condition Count
Description: Number of conditionals in a given module.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Decision Count
Handle: Decision Count
Description: Number of decision points in a given module.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Edge Count
Handle: Edge Count
Description: Number of edges found in a given module. Represents the transfer of control from one module to another. (Edges are a base metric, used to calculate many of the more involved complexity metric).
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Formal Parameter Count
Handle: Formal Parameter Count
Description: Number of parameters to a given module.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Modified Condition Count
Handle: Modified Condition Count
Description: Every condition shown to independently affect a decision outcome (by varying that condition only
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Multiple Condition Count
Handle: Multiple Condition Count
Description: Number of multiple conditions that exist within a module.
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Node Count
Handle: Node Count
Description: Number of nodes found in a given module. (Nodes are a base metric, used to calculate many of the more involved complexity metrics).
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one up.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Unique Operators
Handle: Unique Operators
Description: The following items are counted as operators:

! % & * + , -
. / ; < > ? ^
~ = >= <= == != >>
<< += -= *= /= %= &=
^= |= >>= <<= && || ++
-- -> | return size of enum struct
delete continue new break union

The following items are counted as a single operator:
if (...) ... if (...) ... else
switch (......) ... default:
case:... goto
do ... while (...) ... while (...) ...do
for (... ; ...; ...) ... this->
[ ] ... { }
<function name>( ) ... ( ) in any other cases not covered
... '?' ... ' ': ...

Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one operator - one count.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Unique Operands
Handle: Unique Operands
Description: Variables and identifiers Constants (numeric literal/string) Function names when used during calls
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one unique operand - one count.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Total Operators
Handle: Total Operators
Description: See 1.2.4.27
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one operator - one count.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: None, currently.

+ Top

Total Operands
Handle: Total operands
Description: Variables and identifiers Constants (numeric literal/string) Function names when used during calls
Observation: This metric is generated with McCabeIQ 7.1.
Frequency: Frequency is determined by the requirements of each project.
Scale: This is one operand - one count.
Range: Unlimited.
Usage: None, currently.
Relationship: Unknown.
Threshold: Unknown.
Validation: IV&V has an internal study that indicates that this is the best metric for identifying errors but it also has the highest false positive rate among that group of metrics studied.

+ Top


+ Freedom of Information Act
+ Budgets, Strategic Plans and Accountability Reports
+ The President's Management Agenda
+ Privacy Policy and Important Notices
+ Inspector General Hotline
+ Equal Employment Opportunity Data Posted Pursuant to the No Fear Act
+ Information-Dissemination Priorities and Inventories
+ USA.gov
+ ExpectMore.gov
NASA
Editor: Jay Long
NASA Official: Lisa Montgomery
Last Updated: June 10, 2008
+ Contact IV&V
+ Contact Tools Lab
+ Metrics Data Program Usage Policy