diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-01-17 17:45:30 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-01-17 17:47:19 +0100 |
commit | 88ab55ff91986e1497b1b5ed041aecaf1ab318dd (patch) | |
tree | ad5795505da72c8bea6f7ee729176b8516b20d4f /sonar-plugin-api | |
parent | 8aaaddd2e420d380714f28537c65aca72fd60818 (diff) | |
download | sonarqube-88ab55ff91986e1497b1b5ed041aecaf1ab318dd.tar.gz sonarqube-88ab55ff91986e1497b1b5ed041aecaf1ab318dd.zip |
SONAR-3012 Shows the new unreviewed violations count in the widget
- Links this count to the drilldown service
- Open the right tab (Violations)
+ renaming of the metrics to be consistent with names
To be done: adding a filter in the "Violations" Tab
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java index 352c9b75bd0..e249b2a5b10 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java @@ -1408,12 +1408,12 @@ public final class CoreMetrics { /** * @since 2.14 */ - public static final String VIOLATIONS_WITHOUT_REVIEW_KEY = "violations_without_review"; + public static final String UNREVIEWED_VIOLATIONS_KEY = "unreviewed_violations"; /** * @since 2.14 */ - public static final Metric VIOLATIONS_WITHOUT_REVIEW = new Metric.Builder(VIOLATIONS_WITHOUT_REVIEW_KEY, "Unreviewed violations", Metric.ValueType.INT) + public static final Metric UNREVIEWED_VIOLATIONS = new Metric.Builder(UNREVIEWED_VIOLATIONS_KEY, "Unreviewed violations", Metric.ValueType.INT) .setDescription("Violations that have not been reviewed yet") .setDirection(Metric.DIRECTION_WORST) .setDomain(DOMAIN_REVIEWS) @@ -1424,12 +1424,12 @@ public final class CoreMetrics { /** * @since 2.14 */ - public static final String NEW_VIOLATIONS_WITHOUT_REVIEW_KEY = "new_violations_without_review"; + public static final String NEW_UNREVIEWED_VIOLATIONS_KEY = "new_unreviewed_violations"; /** * @since 2.14 */ - public static final Metric NEW_VIOLATIONS_WITHOUT_REVIEW = new Metric.Builder(NEW_VIOLATIONS_WITHOUT_REVIEW_KEY, "New unreviewed violations", Metric.ValueType.INT) + public static final Metric NEW_UNREVIEWED_VIOLATIONS = new Metric.Builder(NEW_UNREVIEWED_VIOLATIONS_KEY, "New unreviewed violations", Metric.ValueType.INT) .setDescription("New violations that have not been reviewed yet") .setDirection(Metric.DIRECTION_WORST) .setQualitative(true) |