key = CoreProperties.CORE_RULE_WEIGHTS_PROPERTY,
defaultValue = CoreProperties.CORE_RULE_WEIGHTS_DEFAULT_VALUE,
name = "Rules weight",
- description = "A weight is associated to each severity to calculate the Rules Compliance Index.",
+ description = "A weight is associated to each severity to emphasize the most critical issues.",
project = false,
global = true,
category = CoreProperties.CATEGORY_GENERAL)
//
// --------------------------------------------------------------------------------------------------------------------
- /**
- * @deprecated since 4.0. See SONAR-4755
- */
- @Deprecated
public static final String WEIGHTED_VIOLATIONS_KEY = "weighted_violations";
- /**
- * @deprecated since 4.0. See SONAR-4755
- */
- @Deprecated
public static final Metric WEIGHTED_VIOLATIONS = new Metric.Builder(WEIGHTED_VIOLATIONS_KEY, "Weighted issues", Metric.ValueType.INT)
.setDescription("Weighted Issues")
.setDirection(Metric.DIRECTION_WORST)
.setDomain(DOMAIN_ISSUES)
.setBestValue(0.0)
.setOptimizedBestValue(true)
- .setHidden(true)
.create();
/**