[ 
https://issues.apache.org/jira/browse/JCR-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated JCR-5174:
---------------------------------
    Description: Although 
https://github.com/apache/jackrabbit/tree/trunk/jackrabbit-jcr-tests contains 
only tests SonarQube treats them as regular code (as the source is contained in 
{{src/main/java}} in order to depend on it in downstream modules). One should 
exclude it from coverage calculation 
(https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/analysis-scope/exclude-from-coverage-duplication/)
  (was: Although 
https://github.com/apache/jackrabbit/tree/trunk/jackrabbit-jcr-tests contains 
only tests SonarQube treats them as regular code (as the source is contained in 
{{src/main/java}} in order to depend on it in downstream modules). One should 
exclude it from coverage calculation.)

> Exclude jackrabbit-jcr-tests from coverage calculation
> ------------------------------------------------------
>
>                 Key: JCR-5174
>                 URL: https://issues.apache.org/jira/browse/JCR-5174
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Although https://github.com/apache/jackrabbit/tree/trunk/jackrabbit-jcr-tests 
> contains only tests SonarQube treats them as regular code (as the source is 
> contained in {{src/main/java}} in order to depend on it in downstream 
> modules). One should exclude it from coverage calculation 
> (https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/analysis-scope/exclude-from-coverage-duplication/)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to