aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-06-26 15:38:39 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-06-26 15:38:39 +0200
commit02fe9872d0e26c8d627870f39dcaab1508084008 (patch)
tree92837ebe893c53a406a73d5b33dc0652ef835f2b /sonar-plugin-api
parentb650497bc563e8fb1fa6a033a4d91dae0731cdb0 (diff)
downloadsonarqube-02fe9872d0e26c8d627870f39dcaab1508084008.tar.gz
sonarqube-02fe9872d0e26c8d627870f39dcaab1508084008.zip
Update documentation
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java2
1 files changed, 0 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 eb0c7ccb409..3585f200629 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
@@ -435,8 +435,6 @@ public final class CoreMetrics {
/**
* Value of measure for this metric can be saved from Sensor, taking into account following rules:
* <ul>
- * <li>If tool (like Maven Surefire Plugin) has not been activated to run unit tests, then Sensor should not save anything. For example there is no such tool for COBOL.</li>
- * <li>If tool has been activated, but there was no unit tests to run, then zero value should be saved for project.</li>
* <li>Non-zero value should be saved for resources representing tests. And Sonar provides default Decorator, which will decorate parent resources.</li>
* <li>Should include {@link #TEST_FAILURES} and {@link #TEST_ERRORS}, but should not include {@link #SKIPPED_TESTS}.</li>
* </ul>