Object view

Static Metrics for C, C++ and Ada

Root Level Summary

At the top of the Root page, the Metrics Viewer displays a graph based on the sum ofdata.

On the Root page, the scope of the Metrics Viewer is the entire set of nodes below the Root node.



File View is the only available view with C or Ada source code. When viewing metrics for C++, an Object View is also available.

Two modes are available for the data graph:

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:

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.

Related Topics

Root Level File ViewStatic MetricsViewing Static Metrics