<td>body</td>
<td>*C*</td>
</tr>
- <!--No diff value is displayed on the SQALE rating-->
+ <!--No diff value is displayed on the maintainability rating-->
<tr>
<td>assertNotText</td>
<td>body</td>
<tr>
<td>waitForText</td>
<td>content</td>
- <td>*SQALE Rating*C*</td>
+ <td>*Maintainability Rating*C*</td>
</tr>
<tr>
<td>open</td>
return rating;
}
}
- throw new IllegalArgumentException("A SQALE rating must be in the range [1..5].");
+ throw new IllegalArgumentException("A maintainability rating must be in the range [1..5].");
}
}
/*
- * Display SQALE Rating (also used by the SQALE plugin)
+ * Display Maintainability Rating (also used by the SQALE plugin)
*/
.rating {
builder.setValueType(getMeasureValueType(measure.getMetric().getType()));
setValueAccordingToType(builder, measure);
- // Because some numeric measures also have a data (like Sqale rating)
+ // Because some numeric measures also have a data (like maintainability rating)
String data = measure.getData();
if (data != null) {
builder.setStringValue(data);
* @since 4.5
*/
// TODO should be renamed to MAINTAINABILITY_RATING
- public static final Metric<Integer> SQALE_RATING = new Metric.Builder(SQALE_RATING_KEY, "SQALE Rating", Metric.ValueType.RATING)
+ public static final Metric<Integer> SQALE_RATING = new Metric.Builder(SQALE_RATING_KEY, "Maintainability Rating", Metric.ValueType.RATING)
.setDomain(DOMAIN_MAINTAINABILITY)
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(true)