Excluding from coverage or duplication
This page explains how SonarQube Cloud can exclude specific files from your project’s code coverage analysis or duplication check.
You can exclude specific files from your project’s code coverage analysis or duplication check analysis (detection of identical lines of code).
Excluding specific files from the code coverage analysis
You can perform the setup in SonarQube UI (this requires that you have the project’s Administer permission) or on the CI/CD host. A parameter set on the CI/CD host has precedence over any UI setting of the same parameter.
Excluding specific files from the duplication check
You can perform the setup in SonarQube UI (this requires that you have the project’s Administer permission) or on the CI/CD host. A parameter set on the CI/CD host has precedence over any UI setting of the same parameter.
Related pages
Introduction to Adjusting analysis scope
Last updated
Was this helpful?