Versions Compared

Key

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

...

Key

Description

Default value

sonar.exclusions

Exclude files from analysis. See also sonar.test.exclusions, sonar.inclusions, sonar.test.inclusions, sonar.global.exclusions, sonar.global.test.exclusions, sonar.skippedModules, sonar.includedModules

 

sonar.cpd.exclusionsPrevent some files from being checked for duplications. 
sonar.coverage.exclusionsPrevent some files from being taken into account for code coverage by unit tests and integration tests. 
sonar.issue.ignore.allfileIgnore issues on certain components and against certain coding rules. See also sonar.issue.ignore.block, sonar.issue.ignore.multicriteria, sonar.issue.enforce.multicriteria. 

Configuration

Key

Description

Default value

sonar.host.connectTimeoutMs sonar.host.readTimeoutMs

Increase the HTTP timeouts of requests to server. The Maven plugin executes some HTTP requests to the server. Two timeouts makes the call fail if the server connection is too slow. In such a case the timeouts can be increased from Maven properties.

Respectively 30,000 and 60,000 milliseconds

Analyzer's Log

KeyDescriptionDefault value
sonar.showProfilingDisplay logs to see where the analyzer spends time.false
sonar.showSqlDisplay all the SQL queries executed by the analyzer.false
sonar.showSqlResultsDisplay the results of all the SQL queries executed by the analyzer.false
sonar.verboseActivate DEBUG mode for the analyzer.false