Interface ProjectSensor

  • All Known Subinterfaces:
    Sensor

    @ScannerSide
    @SonarLintSide
    @ExtensionPoint
    public interface ProjectSensor

    A sensor is invoked once for each project analysis. Sensors are mainly used to add measures and issues on InputFiles.

    For example the Cobertura Sensor parses Cobertura report and saves the first-level of measures on files. For testing purpose you can use SensorContextTester

    Since:
    7.6