diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-19 16:46:29 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-19 16:46:44 +0100 |
commit | 1e0ff5d933fa9717d64e7887d6ea02fca427e32b (patch) | |
tree | d66e056877333211c8afc50c9f3e814377aae0c3 /sonar-plugin-api/src | |
parent | 42b1e7b5171d38265c4ca9b4fea951a020c56988 (diff) | |
download | sonarqube-1e0ff5d933fa9717d64e7887d6ea02fca427e32b.tar.gz sonarqube-1e0ff5d933fa9717d64e7887d6ea02fca427e32b.zip |
SONAR-4111 Remove the availability of the following metrics on the web interface
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 6 |
1 files changed, 6 insertions, 0 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 fbbfc823bcb..aa8f3bf5e67 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 @@ -536,6 +536,7 @@ public final class CoreMetrics { .setDomain(DOMAIN_TESTS) .setFormula(new SumChildValuesFormula(false)) .setDeleteHistoricalData(true) + .setHidden(true) .create(); public static final String UNCOVERED_CONDITIONS_KEY = "uncovered_conditions"; @@ -809,6 +810,7 @@ public final class CoreMetrics { .setDomain(DOMAIN_INTEGRATION_TESTS) .setFormula(new SumChildValuesFormula(false)) .setDeleteHistoricalData(true) + .setHidden(true) .create(); /** @@ -1092,6 +1094,7 @@ public final class CoreMetrics { .setDomain(DOMAIN_OVERALL_TESTS) .setFormula(new SumChildValuesFormula(false)) .setDeleteHistoricalData(true) + .setHidden(true) .create(); /** @@ -1502,6 +1505,7 @@ public final class CoreMetrics { .setDirection(Metric.DIRECTION_NONE) .setQualitative(false) .setDomain(DOMAIN_DESIGN) + .setHidden(true) .create(); public static final String INSTABILITY_KEY = "instability"; @@ -1510,6 +1514,7 @@ public final class CoreMetrics { .setDirection(Metric.DIRECTION_NONE) .setQualitative(false) .setDomain(DOMAIN_DESIGN) + .setHidden(true) .create(); public static final String DISTANCE_KEY = "distance"; @@ -1518,6 +1523,7 @@ public final class CoreMetrics { .setDirection(Metric.DIRECTION_NONE) .setQualitative(false) .setDomain(DOMAIN_DESIGN) + .setHidden(true) .create(); public static final String DEPTH_IN_TREE_KEY = "dit"; |