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
|