SonarQube gives you several options for configuring exactly what will be analyzed. You can
* completely ignore some files or directories
-* exclude files/directories from Issues detection (specific rules or all of them) but analyze all other aspects
-* exclude files/directories from Duplications detection but analyze all other aspects
* exclude files/directories from Coverage calculations but analyze all other aspects
+* exclude files/directories from Duplications detection but analyze all other aspects
+* exclude files/directories from Issues detection (specific rules or all of them) but analyze all other aspects
You can make these changes globally or at a project level. At the global level, the navigation path is **Administration > General Settings > Analysis Scope**. At the project level, the navigation path is **Project Settings > General Settings > Analysis Scope**
See the Patterns section below for more details on the syntax to use in these inputs.
+## Ignore Code Coverage
+
+You can prevent some files from being taken into account for code coverage by unit tests.
+
+To do so, go to **Project Settings > General Settings > Analysis Scope > Code Coverage** and set the *Coverage Exclusions* property. See the Patterns section for more details on the syntax.
+
+## Ignore Duplications
+
+You can prevent some files from being checked for duplications.
+
+To do so, go to **Project Settings > General Settings > Analysis Scope > Duplications** and set the *Duplication Exclusions* property. See the Patterns section for more details on the syntax.
+
## Ignore Issues
You can have SonarQube ignore issues on certain components and against certain coding rules. Go to **Project Settings > General Settings > Analysis Scope > Issues**.
PATH #1 = `bank/creditcard/**/*`
KEY #2 = `cobol:COBOL.GotoTransferControlOutsideCurrentModuleCheck`
PATH #2 = `bank/bankcard/**/*`
-
-## Ignore Duplications
-
-You can prevent some files from being checked for duplications.
-
-To do so, go to **Project Settings > General Settings > Analysis Scope > Duplications** and set the *Duplication Exclusions* property. See the Patterns section for more details on the syntax.
-
-## Ignore Code Coverage
-
-You can prevent some files from being taken into account for code coverage by unit tests.
-
-To do so, go to **Project Settings > General Settings > Analysis Scope > Code Coverage** and set the *Coverage Exclusions* property. See the Patterns section for more details on the syntax.
\ No newline at end of file
property.sonar.global.exclusions.description=Patterns used to exclude some source files from analysis. They apply to every project and cannot be overridden.
property.sonar.global.test.exclusions.name=Global Test File Exclusions
property.sonar.global.test.exclusions.description=Patterns used to exclude some test files from analysis. They apply to every project and cannot be overridden.
-property.category.exclusions.files=Files
+property.category.exclusions.files=A. File Exclusions
property.category.exclusions.files.description=Configure the files that should be completely ignored by the analysis.
property.sonar.skippedModules.name=Module Exclusions
property.sonar.skippedModules.description=This property is deprecated since version 4.3 and should not be used anymore.
property.sonar.includedModules.name=Module Inclusions
property.sonar.includedModules.description=This property is deprecated since version 4.3 and should not be used anymore.
-property.category.exclusions.issues=Issues
+property.category.exclusions.issues=D. Issue Exclusions
property.category.exclusions.issues.description=Configure the conditions under which issues should not be reported.
-property.category.exclusions.duplications=Duplications
+property.category.exclusions.duplications=C. Duplication Exclusions
property.category.exclusions.duplications.description=Configure the files that should be ignored by duplication detection.
-property.category.exclusions.coverage=Code Coverage
+property.category.exclusions.coverage=B. Code Coverage Exclusions
property.category.exclusions.coverage.description=Configure the files that should be ignored by code coverage calculations.
property.sonar.coverage.exclusions.name=Coverage Exclusions
property.sonar.coverage.exclusions.description=Patterns used to exclude some files from coverage report.