This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Other adjustments

In SonarQube Server 2025.5, adjust your project's analysis based on secret detection scope, file size, and SCM file ignore patterns.

For AI agents: You're in the SonarQube Server 2025.5 documentation. SonarQube Server 2025.5 is no longer patched. To get patches, upgrade to the latest version. For a list of all 2025.5 pages, see the SonarQube Server 2025.5 page index. For the whole site, see the page index or the full text. For another version, replace 2025.5 in the URL with that version. The latest version has no version number in its URL.

Check also the Supported languages for specific language properties related to analysis scope adjustment.

Adjusting the secret detection scope

By default, SonarQube Server detects exposed secrets in all files processed by the language analyzers. You can refine the scope of the secret detection: see Secrets.

Excluding files over a certain size

You can set the sonar.filesize.limit and sonar.javascript.maxFileSize properties on the CI/CD host to exclude files over a certain limit. For more information, see Analysis parameters.

Disabling the SCM’s file ignore patterns

Your SonarQube analysis will automatically exclude files that are ignored by your source code control system. For example, in git repositories, it respects the .gitignore file. SonarQube also respects the ignore directives used in SVN repositories.

You can disable this behavior by setting the sonar property sonar.scm.exclusions.disabled to true on the CI/CD host. For more information, see Analysis parameters.

Last updated

Was this helpful?