Package | Description |
---|---|
org.sonar.api.batch.sensor | |
org.sonar.api.batch.sensor.coverage | |
org.sonar.api.batch.sensor.coverage.internal | |
org.sonar.api.batch.sensor.internal |
Modifier and Type | Method and Description |
---|---|
NewCoverage |
SensorContext.newCoverage()
Builder to define coverage in a file.
|
Modifier and Type | Method and Description |
---|---|
NewCoverage |
NewCoverage.conditions(int line,
int conditions,
int coveredConditions)
Call this method as many time as needed to report coverage of conditions.
|
NewCoverage |
NewCoverage.lineHits(int line,
int hits)
Call this method as many time as needed to report coverage hits per line.
|
NewCoverage |
NewCoverage.ofType(CoverageType type) |
NewCoverage |
NewCoverage.onFile(InputFile inputFile)
The covered file.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCoverage |
Modifier and Type | Method and Description |
---|---|
NewCoverage |
DefaultCoverage.conditions(int line,
int conditions,
int coveredConditions) |
NewCoverage |
DefaultCoverage.lineHits(int line,
int hits) |
NewCoverage |
DefaultCoverage.ofType(CoverageType type) |
Modifier and Type | Method and Description |
---|---|
NewCoverage |
SensorContextTester.newCoverage() |
Copyright © 2009–2016 SonarSource. All rights reserved.