]> source.dussan.org Git - sonarqube.git/commitdiff
change capitalization of new metrics (#906)
authorStas Vilchik <vilchiks@gmail.com>
Tue, 19 Apr 2016 13:22:21 +0000 (15:22 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 19 Apr 2016 13:22:21 +0000 (15:22 +0200)
sonar-core/src/main/resources/org/sonar/l10n/core.properties
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 8ce30fca411e1326a83b3496ac294f60e853ac63..06b226068959faae56ece02adb43d02dcd277c12 100644 (file)
@@ -2395,11 +2395,11 @@ metric.conditions_by_line.description=Conditions by line
 metric.covered_conditions_by_line.name=Covered conditions by line
 metric.covered_conditions_by_line.description=Covered conditions by line
 
-metric.reliability_remediation_effort.name=Reliability remediation effort
+metric.reliability_remediation_effort.name=Reliability Remediation Effort
 
 metric.reliability_rating.name=Reliability Rating
 
-metric.security_remediation_effort.name=Security remediation effort
+metric.security_remediation_effort.name=Security Remediation Effort
 
 metric.security_rating.name=Security Rating
 
index 9a936521085b388cbd836f49fc1f97c3f8079818..e3b65d00d32350f6aa6bead9d91ba3d4a5905a80 100644 (file)
@@ -1617,7 +1617,7 @@ public final class CoreMetrics {
    * SonarQube Quality Model
    * @since 5.5
    */
-  public static final Metric<Integer> NEW_CODE_SMELLS = new Metric.Builder(NEW_CODE_SMELLS_KEY, "New code smells", Metric.ValueType.INT)
+  public static final Metric<Integer> NEW_CODE_SMELLS = new Metric.Builder(NEW_CODE_SMELLS_KEY, "New Code Smells", Metric.ValueType.INT)
     .setDescription("New Code Smells")
     .setDirection(Metric.DIRECTION_WORST)
     .setQualitative(true)
@@ -2298,7 +2298,7 @@ public final class CoreMetrics {
    * @since 5.5
    */
   public static final Metric<Long> EFFORT_TO_REACH_MAINTAINABILITY_RATING_A = new Metric.Builder(EFFORT_TO_REACH_MAINTAINABILITY_RATING_A_KEY,
-    "Effort to reach maintainability rating A", Metric.ValueType.WORK_DUR)
+    "Effort to Reach Maintainability Rating A", Metric.ValueType.WORK_DUR)
       .setDomain(DOMAIN_MAINTAINABILITY)
       .setDirection(Metric.DIRECTION_WORST)
       .setQualitative(true)
@@ -2320,7 +2320,7 @@ public final class CoreMetrics {
   /**
    * @since 5.5
    */
-  public static final Metric<Long> RELIABILITY_REMEDIATION_EFFORT = new Metric.Builder(RELIABILITY_REMEDIATION_EFFORT_KEY, "Reliability remediation effort",
+  public static final Metric<Long> RELIABILITY_REMEDIATION_EFFORT = new Metric.Builder(RELIABILITY_REMEDIATION_EFFORT_KEY, "Reliability Remediation Effort",
     Metric.ValueType.WORK_DUR)
       .setDomain(DOMAIN_RELIABILITY)
       .setDirection(Metric.DIRECTION_WORST)
@@ -2337,9 +2337,8 @@ public final class CoreMetrics {
   /**
    * @since 5.5
    */
-  public static final Metric<Long> NEW_RELIABILITY_REMEDIATION_EFFORT = new Metric.Builder(NEW_RELIABILITY_REMEDIATION_EFFORT_KEY, "Reliability remediation effort on new code",
+  public static final Metric<Long> NEW_RELIABILITY_REMEDIATION_EFFORT = new Metric.Builder(NEW_RELIABILITY_REMEDIATION_EFFORT_KEY, "Reliability Remediation Effort on New Code",
     Metric.ValueType.WORK_DUR)
-      .setDescription("Reliability remediation effort of new code")
       .setDomain(DOMAIN_RELIABILITY)
       .setDirection(Metric.DIRECTION_WORST)
       .setOptimizedBestValue(true)
@@ -2378,7 +2377,7 @@ public final class CoreMetrics {
   /**
    * @since 5.5
    */
-  public static final Metric<Long> SECURITY_REMEDIATION_EFFORT = new Metric.Builder(SECURITY_REMEDIATION_EFFORT_KEY, "Security remediation effort", Metric.ValueType.WORK_DUR)
+  public static final Metric<Long> SECURITY_REMEDIATION_EFFORT = new Metric.Builder(SECURITY_REMEDIATION_EFFORT_KEY, "Security Remediation Effort", Metric.ValueType.WORK_DUR)
     .setDomain(DOMAIN_SECURITY)
     .setDirection(Metric.DIRECTION_WORST)
     .setOptimizedBestValue(true)
@@ -2394,9 +2393,8 @@ public final class CoreMetrics {
   /**
    * @since 5.5
    */
-  public static final Metric<Long> NEW_SECURITY_REMEDIATION_EFFORT = new Metric.Builder(NEW_SECURITY_REMEDIATION_EFFORT_KEY, "Security remediation effort on new code",
+  public static final Metric<Long> NEW_SECURITY_REMEDIATION_EFFORT = new Metric.Builder(NEW_SECURITY_REMEDIATION_EFFORT_KEY, "Security Remediation Effort on New Code",
     Metric.ValueType.WORK_DUR)
-      .setDescription("Security remediation effort of new code")
       .setDomain(DOMAIN_SECURITY)
       .setDirection(Metric.DIRECTION_WORST)
       .setOptimizedBestValue(true)