Other analysis scope adjustments
Additional analysis scope adjustments can be made in SonarQube Cloud for a few scenerios.
Last updated
Was this helpful?
Additional analysis scope adjustments can be made in SonarQube Cloud for a few scenerios.
See Supported languages page for language-specific properties related to analysis scope adjustment.
By default, SonarQube Cloud detects exposed secrets in all files processed by the language analyzers. You can refine the scope of the secret detection, see Secrets for more details.
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.
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.
Introduction to Adjusting the analysis scope at the organization level
Last updated
Was this helpful?
Was this helpful?

