2.2.2. Adjust Metric Thresholds

The Metrics view allows defining lower and upper-level thresholds for metrics. Issues are created for those elements violating these thresholds and they are clearly marked in the table. If metric thresholds are specified, those values will be saved into a file located at: <Sonargraph System directory>/Analyzers/MetricThresholds.xml . Thresholds are defined either via the context menu of a metric or the menu entry "Metrics""New Threshold..." .

Metrics View Highlighting Thresholds Violations
Figure 2.6. Metrics View Highlighting Thresholds Violations