public class LineCounter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
analyse(org.sonar.api.batch.sensor.SensorContext context,
org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory,
org.sonar.api.batch.fs.InputFile inputFile)
Analyzes a file and saves its line measures.
|
public static void analyse(org.sonar.api.batch.sensor.SensorContext context,
org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory,
org.sonar.api.batch.fs.InputFile inputFile)
context - the SensorContextfileLinesContextFactory - FileLinesContextFactory used to save line measuresinputFile - the Shell script to be analyzedCopyright © 2018–2019. All rights reserved.