public class LCOVCoverageSensor extends Object
| Constructor and Description |
|---|
LCOVCoverageSensor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.sonar.api.batch.sensor.SensorContext context,
Map<org.sonar.api.batch.fs.InputFile,Set<Integer>> linesOfCode,
boolean isAtLeastSq62) |
protected org.sonar.api.batch.sensor.coverage.CoverageType |
getCoverageType()
Returns type of coverage provided by sensor: unit tests, integration tests, overall.
|
protected List<String> |
parseReportsProperty(org.sonar.api.batch.sensor.SensorContext context) |
protected String[] |
reportPathProperties() |
protected String[] reportPathProperties()
protected List<String> parseReportsProperty(org.sonar.api.batch.sensor.SensorContext context)
protected org.sonar.api.batch.sensor.coverage.CoverageType getCoverageType()
LCOVCoverageSensor (which is used for SQ>6.1 with property sonar.javascript.lcov.reportPaths) method returns CoverageType.UNIT
(this is done to be compatible with old API, on server side this value is ignored).Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.