Help for a metric
The columns of the results are headed by abbreviations. The plugin explains each one in three places, always in the language of the plugin.
The tooltip of a header
Rest the mouse on the header of a metric column. The tooltip gives, in a few lines:
- the name of the metric, its abbreviation and its aspect,
- one sentence on what it measures,
- whether higher values are worse or better, and the thresholds in effect for this run,
- a reminder of where the full help is: Right-click → Explain This Metric for details.
The line of the thresholds reads like Higher is worse · Warning > 10 · Error > 20. A limit that comes from your
profile, not from the reference, is followed by (your profile). The line says Thresholds off when the
profile switches off the reference limits of the metric, and No reference threshold when the metric has a
direction but no limits.
Explain This Metric
Right-click a cell or the header of a metric column and choose Explain This Metric. A window opens with the name of the metric as its title. It does not block the IDE, so you can leave it open next to the results and open others.
The window has:
| Part | What it says |
|---|---|
| Aspect | The quality aspect the metric belongs to |
| Measured element | The category: method, class, package... |
| Type | How the value behaves: a count that adds up, an average, a ratio shown as a percentage, a score |
| What it measures | The definition, with the rules the plugin applies |
| Why it matters | What the metric is used for |
| How to interpret | What a high and a low value mean |
| Reference thresholds | The direction and the reference limits, when it has them |
| Also available for | The other categories that have the same metric |
| References | Links to the sources, which open in your browser |
Explain This Metric is not in the menu while a comparison is shown. Dismiss the comparison, or read the help in the profiles dialog.
In the profiles dialog
The dialog of Metrics Profiles... shows the same help for the metric selected in its tree, next to the editor of its thresholds. There you can read about a metric before deciding whether to enable it:
- Selecting a group of the tree shows the description of its aspect.
- The filter field searches the help too: type a word and the tree keeps the metrics that mention it in their name, their abbreviation or their description.
“Metrics profiles” describes the dialog.
Beyond the plugin
The help of the plugin is short on purpose. For the background of a metric, its formula step by step, worked examples and how other tools calculate it, see the reference at “metrics.stau.me”, which is written in Spanish.