diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-01-18 20:56:15 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-01-18 21:03:42 +0400 |
commit | 6b18d0b4a318d8830711c34989d5058dce044814 (patch) | |
tree | 407e42b6da10f66321a4af2df18ad0aa906ce772 | |
parent | b7ddbfd2e8a5ebe48f6c12be5225babac8779938 (diff) | |
download | sonarqube-6b18d0b4a318d8830711c34989d5058dce044814.tar.gz sonarqube-6b18d0b4a318d8830711c34989d5058dce044814.zip |
SONAR-3112 Metrics 'test_errors' and 'skipped_tests' should be qualitative
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 4 |
1 files changed, 2 insertions, 2 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 e249b2a5b10..0a16d6ac777 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 @@ -367,7 +367,7 @@ public final class CoreMetrics { public static final Metric TEST_ERRORS = new Metric.Builder(TEST_ERRORS_KEY, "Unit test errors", Metric.ValueType.INT) .setDescription("Number of unit test errors") .setDirection(Metric.DIRECTION_WORST) - .setQualitative(false) + .setQualitative(true) .setDomain(DOMAIN_TESTS) .setBestValue(0.0) .setOptimizedBestValue(true) @@ -377,7 +377,7 @@ public final class CoreMetrics { public static final Metric SKIPPED_TESTS = new Metric.Builder(SKIPPED_TESTS_KEY, "Skipped unit tests", Metric.ValueType.INT) .setDescription("Number of skipped unit tests") .setDirection(Metric.DIRECTION_WORST) - .setQualitative(false) + .setQualitative(true) .setDomain(DOMAIN_TESTS) .setBestValue(0.0) .setOptimizedBestValue(true) |