@Override
protected String formatMessage(int effortToFix, double minCoverage) {
// FIXME declare min threshold as int but not float ?
- return format("%d more branches need to be covered by unit tests to reach the minimum threshold of %s%% branch coverage.", effortToFix, minCoverage);
+ return format("%d more branches need to be covered by tests to reach the minimum threshold of %s%% branch coverage.", effortToFix, minCoverage);
}
}
@Override
protected String formatMessage(int effortToFix, double minCoverage) {
// TODO declare min threshold as int but not float ?
- return format("%d more lines of code need to be covered by unit tests to reach the minimum threshold of %s%% lines coverage.", effortToFix, minCoverage);
+ return format("%d more lines of code need to be covered by tests to reach the minimum threshold of %s%% lines coverage.", effortToFix, minCoverage);
}
}
@Override
protected String getExpectedIssueMessage() {
- return "23 more branches need to be covered by unit tests to reach the minimum threshold of 65.0% branch coverage.";
+ return "23 more branches need to be covered by tests to reach the minimum threshold of 65.0% branch coverage.";
}
}
@Override
protected String getExpectedIssueMessage() {
- return "23 more lines of code need to be covered by unit tests to reach the minimum threshold of 65.0% lines coverage.";
+ return "23 more lines of code need to be covered by tests to reach the minimum threshold of 65.0% lines coverage.";
}
}