From 2def5808e3c1f0deddc579b148b8d2459a99e173 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Fri, 5 Apr 2024 11:28:25 -0600 Subject: [PATCH] Per #2537, exclude test code from code coverage statistics. --- internal/scripts/sonarqube/sonar-project.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/scripts/sonarqube/sonar-project.properties b/internal/scripts/sonarqube/sonar-project.properties index ca8e0842b..d1ed593a8 100644 --- a/internal/scripts/sonarqube/sonar-project.properties +++ b/internal/scripts/sonarqube/sonar-project.properties @@ -4,6 +4,7 @@ sonar.projectName=SONAR_PROJECT_NAME sonar.projectVersion=SONAR_PROJECT_VERSION sonar.branch.name=SONAR_BRANCH_NAME sonar.sources=docs,internal,manage_externals,metplus,parm,produtil,ush +sonar.coverage.exclusions=internal/tests/** sonar.sourceEncoding=UTF-8 # SonarQube server