aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/AbstractAnalyzer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/AbstractAnalyzer.java b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/AbstractAnalyzer.java
index 2b226f2e69c..d737221d49b 100644
--- a/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/AbstractAnalyzer.java
+++ b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/AbstractAnalyzer.java
@@ -44,7 +44,7 @@ public abstract class AbstractAnalyzer {
public final void analyse(Project project, SensorContext context) {
final File buildOutputDir = project.getFileSystem().getBuildOutputDir();
if (!buildOutputDir.exists()) {
- JaCoCoUtils.LOG.info("Can't find build output directory: {}. Skipping JaCoCo analysis.", buildOutputDir);
+ JaCoCoUtils.LOG.info("Project coverage is set to 0% as build output directory doesn't exists: {}", buildOutputDir);
return;
}
String path = getReportPath(project);
@@ -61,7 +61,7 @@ public abstract class AbstractAnalyzer {
ExecutionDataStore executionDataStore = new ExecutionDataStore();
if (jacocoExecutionData == null || !jacocoExecutionData.exists() || !jacocoExecutionData.isFile()) {
- JaCoCoUtils.LOG.info("Can't find JaCoCo execution data : {}. Project coverage is set to 0%.", jacocoExecutionData);
+ JaCoCoUtils.LOG.info("Project coverage is set to 0% as no JaCoCo execution data has been dumped: {}", jacocoExecutionData);
} else {
JaCoCoUtils.LOG.info("Analysing {}", jacocoExecutionData);
ExecutionDataReader reader = new ExecutionDataReader(new FileInputStream(jacocoExecutionData));