Using available result views
The analysis types support different views to display information in the result tabs.
| Analysis type | Views available |
|---|---|
| C/C++ Code Review | Tree Table |
| Java™ Code Review | Tree Table |
| Java Architectural Discovery | Tree |
| Java Data Flow Analysis | Tree |
| Java Software Metrics | Rule Resource |
Tree view
This is the default view for C/C++ Code Review and Java Code Review. To select the Table view, use the View as box.
This is the only view for Java Data Flow Analysis and Java Architectural Discovery.
The tree view presents a compact view of analysis results organized by rule category. Open a top-level rule category to display its subcategories, and open subcategories to display individual rules.
In the tree, rule categories are listed in alphabetical order and you drill down to locate results for individual rules. Each file that contains a result is listed as a result line.
Double-click a result line to open the referenced file in the editor.
Table view
This is a view option for C/C++ Code Review and Java Code Review. To select the Tree view, use the View as box.
The table view lists individual analysis results for each rule and file combination as a row in a table. By default, rules with the highest severity level are listed first, followed by warnings, and then recommendations.
You can sort results using any of the column headings in the table. For example, sort by resource if you want to see a list of results by source file.
Double-click any result row to open the referenced file in the editor.
Rule view
This is the default view for Java Software Metrics. To select the Resource view, use the View as box.
The rule view presents a compact view of analysis results organized by metric category. Open a top-level metric category to list the metrics in the category. For each metric category, a rolled up value is provided for all projects analyzed.
In a metric category, open a metric to display a list of packages. Each metric lists a rolled up value for one or more packages.
For a metric, open a package to display a list of classes. Each package lists a rolled up value for one or more package classes.
Double-click any class file to open it in the editor.
To see values for individual methods in a class, switch to the Resource view.
Resource view
For Java Metrics, this is a view option. To select the Rule view, use the View as box.
The resource view lists the packages included in the analysis configuration as the first column in the table.
The metrics included in the configuration are also listed as table columns. To create column titles for individual metrics, metric names are displayed as acronyms. For example, the Average number of comments metric is ANOCOM. Use tool tips to display the full name for each metric.
Open a package to display a list of classes. Each package lists a rolled up value for one or more package classes.
Open a class to display the methods in a class. Each class lists a rolled up value for one or more methods. Each method lists the value for the method.