Consider backend TCK and test utils as test code during the Sonar analysis
Description
Activity
Show:
Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Yoann RodièreYoann RodièreSprint
NoneFix versions
Priority
Major
Details
Details
Assignee

Reporter

Sprint
None
Fix versions
Priority
Created September 11, 2018 at 12:00 PM
Updated November 28, 2018 at 3:43 PM
Resolved September 12, 2018 at 1:36 PM
Currently the Sonar analysis considers the backend TCK and test utils as "main" code because this code is in the
src/main
directory. But we only put the code there to follow the preferred way to create JARs containing test code, which allows transitive dependencies.As a result, about 400 issues were created in Sonar that do not make sense in test code, such as "use constants for repeated string values".
We should tune the Sonar analysis to fix this.