background image
<< Root Level Summary | Metrics Viewer >>
<< Root Level Summary | Metrics Viewer >>

Metrics Summary

Test RealTime - User Guide
·
Testing Effort
·
Testing Errors
·
Testing Time
See the Halstead Metrics section for more information.
Metrics Summary
Below the Halstead graph, the Root page displays a metrics summary table, which
lists for each source code component:
·
V(g): provides a complexity estimate of the source code component
·
Statements: shows the total number of statements within the object
·
Nested Levels: shows the highest statement nesting level reached in the object
·
Ext Comp Calls: measures the number of calls to components defined outside of
the object
·
Ext Var Use: measures the number of uses of variables defined outside of the
object
Note The result of the metrics for a given object is equal to the sum of the
metrics for the methods it contains.
To select the Object View:
1. Select
the
Root node in the Report Explorer to open the Root page.
2. Select
Object View in the View box of the Report Explorer.
To switch the object graph mode:
1. From
the
Metrics menu, select Object Graph for Root Page.
2. Select
ExtVarUse by ExtCompCall or Nested Level by Statement.
Halstead Metrics
Halstead complexity measurement was developed to measure a program module's
complexity directly from source code, with emphasis on computational complexity.
The measures were developed by the late Maurice Halstead as a means of
determining a quantitative measure of complexity directly from the operators and
operands in the module.
Halstead provides various indicators of the module's complexity
Halstead metrics allow you to evaluate the testing time of any C/C++ source code.
These only make sense at the source file level and vary with the following
parameters:
64