Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

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

...

Since Sonar 3.5, it is also possible to set :

  • Set the files to be analyzed through the 'sonar.inclusions' and 'sonar.test.inclusions' properties. In this case, only these very files will be analyzed.
  • Exclude some files from being checked against duplications. To do so, set the through 'the sonar.cpd.exclusions' property (Configuration > Settings > Duplications).

To exclude/include files, you can use wildcard patterns. Example: **/*Bean.java to exclude/include all classes ending with 'Bean'. Full documentation is directly available on the Sonar web interface (Configuration > Settings > Exclusions).

...