Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A useful feature is to limit the scope of the analysis to the files that have been created or modified. To do so, the sonar.inclusions property can be set.

In the following example, SonarQube will only check the myCobolProgram.cbl Cobol program. The analysis will be local: nothing will be pushed to the database, thus the results will not be available through the SonarQube server web interface. An HTML report will be generated to display the list of issues on the myCobolProgram.cbl file:

...