Skip to content

The results window

Updated on 28 November 2026

The results of every calculation go to the Stau Metro tool window, at the bottom of the IDE. The window exists only while it has results: it appears with the first run and goes away when you close the last tab.

Tabs of the window, tabs of a run

The window has one tab per run, which you can close. Its title says what was measured and when:

Profile: Complexity metrics · Scope: Module 'core' · Run at: Sat, 28 Nov 2026 10:15:02 CET

Inside a run there is a second row of tabs:

  • Summary, the list of the elements beyond a threshold. It has “its own page”.
  • One table per category that has rows, in this order: Method metrics, Class metrics, Interface metrics, Package metrics, Module metrics, File type metrics, Project metrics. A category the profile does not measure, or with no element in the scope, has no tab.

A table

Each row is an element and each column a metric.

  • The first column names the element, with the icon of its file type. Its header is the category: method, class, package... A name too long for the column is cut at the start, and the tooltip shows it whole. “What is analyzed” explains how elements are named.
  • The other columns are headed by the abbreviation of their metric. Rest the mouse on a header to see the name of the metric, what it measures and the thresholds in effect (“Help for a metric”).
  • A value is shown as a whole number, with two decimals, or as a percentage, depending on the metric. Numbers follow the language of the plugin: 1,234.56 in English, 1.234,56 in Spanish.
  • An empty cell means the metric has no value for that element.

Warnings and errors

A value beyond a threshold carries an icon: a warning or an error. Rest the mouse on the cell to see why:

  • 25 > error 20 · reference value — the value, the limit it crosses and where the limit comes from: the reference of the plugin or your profile.
  • OK · warning > 10, error > 20 — the value is within the limits, which are these.

A cell of a metric without thresholds has no icon and no tooltip. “Thresholds” explains where the limits come from and how to change them.

Total and Average

When a table has more than one row, two more rows stay fixed under it: Total and Average of each column. They never carry an icon, because thresholds apply to elements.

  • Total is filled in only for the metrics that are counts, which are the ones that can be added up.
  • Average is the mean of the column. For a metric shown as a percentage it is the proportion over all the rows together, not the mean of the percentages. It is empty for a score, a value that only serves to compare elements.

The Type line of “the help of a metric” says which of these it is.

Order of the rows

A table opens with the worst rows first: those with an error, then those with a warning, and within each group the ones that go furthest beyond a limit and beyond more limits.

  • Click a header to sort by that column. The first click puts the highest values on top, or the lowest when higher values of the metric are better. A second click reverses the order. An arrow in the header marks the column.
  • Right-click a column for Sort Ascending, Sort Descending and Worst First, which goes back to the initial order.

Elements without a value come first in ascending order and last in descending order.

Columns

Drag a header to move a column and drag its edge to resize it. The order, the widths and the sort column are remembered for each profile and each category, so a profile keeps its layout from one run to the next.

Find an element

Click a table and start typing: the IDE's quick search looks for the text in the names of the elements.

Go to the code

  • Double-click a row, or select it and press Enter or F4, to open the element in the editor.
  • With several rows selected, Enter opens them all, one editor tab per file, up to the tab limit of the editor.
  • Methods, classes and interfaces open at their declaration, and a package row takes you to the package. Module, file type and project rows have nowhere to go.

Turn on Follow Selection in Editor in the toolbar and the editor follows the row you select, without leaving the table.

The menu of a column

Right-click a cell or a header of a metric column:

Item What it does
Charts... Opens the “charts” of the metric
Explain This Metric Opens the “full help” of the metric. Not offered while a comparison is shown
Sort Ascending, Sort Descending Sort the rows by the column
Worst First Goes back to the initial order

The column of the element only has the sort items.

The toolbar

The buttons on the left of a run act on that run.

Button What it does
Recalculate Calculates again with the same scope and profile and replaces the results shown
Recalculate and Compare Calculates again and highlights what changed since the results shown (“Comparing two runs”)
Save Snapshot... Stores the results in a snapshot file
Compare with Snapshot... Shows how the results differ from those of a saved snapshot
Dismiss Comparison Stops comparing. Enabled only while a comparison is shown
Export Results... Writes the results to a CSV or XML file (“Exporting the results”)
Edit Thresholds... Changes the thresholds of the metrics of the selected table (“Thresholds”)
Follow Selection in Editor Opens the source of the selected row whenever the selection changes
Show Only Rows That Exceed a Threshold Hides the rows without warnings or errors

The two recalculation buttons are disabled while that run is being recalculated.

Show only the rows that exceed a threshold

With the filter on, a table keeps only the rows that have some warning or error. If you calculate with the filter on, a category with no such rows gets no tab. If you turn it on from the toolbar, its tab stays and is left empty. The filter only hides rows:

  • The Summary counts every element, filtered or not.
  • An export and a snapshot contain every element.
  • The charts are drawn from the rows the table shows, so with the filter on they describe only those.

The filter applies at once, without calculating again, and it is remembered: it is the same setting as the checkbox of the calculation dialog.

Results follow their profile

A run stays tied to the profile it was calculated with. When you change the thresholds of that profile, from Edit Thresholds... or from Metrics Profiles..., the icons, the order and the Summary of the run are updated at once, without calculating again.

Thresholds are judged on the values the run already has. If you enable in the profile a metric the run did not calculate, use Recalculate to get its column.