From 0e3e1a3323f946f0be03f664c048d10c008d7db7 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 18 Oct 2016 16:05:39 +0200 Subject: [PATCH] SONAR-8286 Reword common rules about coverage --- .../java/org/sonar/server/rule/CommonRuleDefinitionsImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/rule/CommonRuleDefinitionsImpl.java b/server/sonar-server/src/main/java/org/sonar/server/rule/CommonRuleDefinitionsImpl.java index 15b2ec68bcf..24b58167078 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/rule/CommonRuleDefinitionsImpl.java +++ b/server/sonar-server/src/main/java/org/sonar/server/rule/CommonRuleDefinitionsImpl.java @@ -58,7 +58,7 @@ public class CommonRuleDefinitionsImpl implements CommonRuleDefinitions { private static void defineBranchCoverageRule(RulesDefinition.NewRepository repo) { RulesDefinition.NewRule rule = repo.createRule(CommonRuleKeys.INSUFFICIENT_BRANCH_COVERAGE); - rule.setName("Branches should have sufficient coverage by unit tests") + rule.setName("Branches should have sufficient coverage by tests") .addTags("bad-practice") .setHtmlDescription("An issue is created on a file as soon as the branch coverage on this file is less than the required threshold." + "It gives the number of branches to be covered in order to reach the required threshold.") @@ -73,7 +73,7 @@ public class CommonRuleDefinitionsImpl implements CommonRuleDefinitions { private static void defineLineCoverageRule(RulesDefinition.NewRepository repo) { RulesDefinition.NewRule rule = repo.createRule(CommonRuleKeys.INSUFFICIENT_LINE_COVERAGE); - rule.setName("Lines should have sufficient coverage by unit tests") + rule.setName("Lines should have sufficient coverage by tests") .addTags("bad-practice") .setHtmlDescription("An issue is created on a file as soon as the line coverage on this file is less than the required threshold. " + "It gives the number of lines to be covered in order to reach the required threshold.") -- 2.39.5