diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-16 17:22:09 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-16 17:22:09 +0200 |
commit | 10446fdfb48efd6b9ca04b21798ff0f75e565b8e (patch) | |
tree | 07717c01b85a9d1a83d8e702882cc03cda9c587b /sonar-plugin-api | |
parent | 45262ae2a0f65c23abf77af30a6b224857153c31 (diff) | |
download | sonarqube-10446fdfb48efd6b9ca04b21798ff0f75e565b8e.tar.gz sonarqube-10446fdfb48efd6b9ca04b21798ff0f75e565b8e.zip |
SONAR-4301 Add status and assignee filters on issues search page
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 5 |
1 files changed, 5 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 6937e575686..89d7704c19d 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 @@ -332,6 +332,11 @@ public final class CoreMetrics { .create(); public static final String FUNCTION_COMPLEXITY_KEY = "function_complexity"; + + /** + * Information about the cyclomatic complexity per function, calculated by divided the complexity in functions by the number of functions. + * If the complexity in functions is not available, the complexity of the file is used. + */ public static final Metric FUNCTION_COMPLEXITY = new Metric.Builder(FUNCTION_COMPLEXITY_KEY, "Complexity /method", Metric.ValueType.FLOAT) .setDescription("Complexity average by method") .setDirection(Metric.DIRECTION_WORST) |