JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.0p0 Hot Tips | CONFIDENTIAL | CodeSecure Inc |
Displays the results of a metric search.
For general information about metric reports, see GUI Reference: General Information About Metric Reports.
Metric report availability is independent of the language or languages involved, but the report contents will depend on the metric values available. In particular:
For the results of searches in other domains, see Search Results.
Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.
The Metric Report page can be reached in any of the following ways.
| From Analysis: | Expand the Metrics section, then select one of the report links. |
|---|---|
| From Advanced Search: | Execute an advanced search in the Metrics tab. |
| From the Simple Search Tool: | Execute a search with a domain/scope setting that specifies the metrics domain. |
| From Metric Report Creation: | Use the Open Saved Report or Create New Report functionality. |
| Output formats | CSV, JSON, XML (metrics.xsd) | ||||
|---|---|---|---|---|---|
| Visibility Filter Applied | Visible Metrics | ||||
| RBAC Permissions Needed |
|
The following annotated screenshot shows the various parts of a Metric Report page.
| Standard Header |
It is worth noting that the simple search tool is initially
populated with the component
search specification for the report.
For information on other header elements, see GUI Reference: Standard Header. |
||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Breadcrumbs |
Home > [Other_ProjectTree_Ancestors >]
Proj_Name > Analysis_Name > Metric
Report Home > Metric Report Depending on whether or not the search was carried out in the context of a focal analysis, where
|
||||||||||||||||||||||||||
| Page Heading | Proj_Name : Analysis_Name : Metric
Report Metric Report Depending on whether or not the search was carried out in the context of a focal analysis. |
||||||||||||||||||||||||||
| Save Report controls | See Save a Report for full details. | ||||||||||||||||||||||||||
| Edit Report controls | See Edit a Report for full details. | ||||||||||||||||||||||||||
| Analysis-Granularity Metric Table |
If the metric search was carried out in the context of a
focal analysis,
the Metric Report always includes a table of all the
analysis-granularity metric values computed for that analysis
(both built-in and
user-defined). Click
show to expand the table;
hide to hide the table
contents.
|
||||||||||||||||||||||||||
| Report Contents |
One table for each metric class (name-granularity pair)
specified for the report.
|
||||||||||||||||||||||||||
| Standard Footer | See GUI Reference: Standard Footer. |
If you save a report, it will be available (subject to NAMEDSEARCH_EXISTS permissions) in the Visible Metrics selector and through the Open Saved Report functionality on the Metric Report Creation page.
See Searching: Saved Searches: Permissions for details of the permissions required to save a named search.
The Edit Report section provides functionality for changing the metrics included and table limit for the report. Note in particular that the Edit Report section has no effect on the sets of procedures, files, and compilation units for which values are displayed: these sets depend on the component search.
The Edit Report section looks (something) like the example below. If necessary, click to expand it.
| view the source listing (or part thereof) associated with a metric value | Click the relevant table line. |
|---|---|
| view a metric report creation page | Click create new report in the Edit Report section. |