Skip to content

Commit d32590c

Browse files
author
Gilles Grousset
committed
Plugin properties clean up
1 parent bcee2d1 commit d32590c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sonar-swift-plugin/src/main/java/com/backelite/sonarqube/swift/SwiftPlugin.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
@Property(
5656
key = CoberturaSensor.REPORT_PATTERN_KEY,
5757
defaultValue = CoberturaSensor.DEFAULT_REPORT_PATTERN,
58-
name = "Path to unit test coverage report(s)",
58+
name = "Path to Cobertura reports (coverage)",
5959
description = "Relative to projects' root. Ant patterns are accepted",
6060
global = false,
6161
project = true),
@@ -76,29 +76,29 @@
7676
@Property(
7777
key = LizardSensor.REPORT_PATH_KEY,
7878
defaultValue = LizardSensor.DEFAULT_REPORT_PATH,
79-
name = "Path to lizard report",
79+
name = "Path to Lizard report (complexity)",
8080
description = "Relative to projects' root.",
8181
global = false,
8282
project = true),
8383
@Property(
8484
key = SwiftSurefireSensor.REPORTS_PATH_KEY,
8585
defaultValue = SwiftSurefireSensor.DEFAULT_REPORTS_PATH,
86-
name = "Path to surefire junit report",
86+
name = "Path to surefire JUnit reports (unit tests)",
8787
description = "Relative to projects' root.",
8888
global = false,
8989
project = true),
9090

9191
@Property(
9292
key = OCLintSensor.REPORT_PATH_KEY,
9393
defaultValue = OCLintSensor.DEFAULT_REPORT_PATH,
94-
name = "Path to oclint pmd formatted report",
94+
name = "Path to OCLint pmd formatted report",
9595
description = "Relative to projects' root.",
9696
global = false,
9797
project = true),
9898
@Property(
9999
key = FauxPasSensor.REPORT_PATH_KEY,
100100
defaultValue = FauxPasSensor.DEFAULT_REPORT_PATH,
101-
name = "Path to fauxpas json formatted report",
101+
name = "Path to FauxPas json formatted report",
102102
description = "Relative to projects' root.",
103103
global = false,
104104
project = true)

swiftlang/src/main/java/com/backelite/sonarqube/swift/surefire/SwiftSurefireSensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public final class SwiftSurefireSensor implements Sensor {
3636

3737
private static final Logger LOGGER = LoggerFactory.getLogger(SwiftSurefireSensor.class);
3838

39-
public static final String REPORTS_PATH_KEY = Constants.PROPERTY_PREFIX + "swiftsurefire.junit.reportsPath";
39+
public static final String REPORTS_PATH_KEY = Constants.PROPERTY_PREFIX + ".surefire.junit.reportsPath";
4040
public static final String DEFAULT_REPORTS_PATH = "sonar-reports/";
4141

4242

0 commit comments

Comments
 (0)