Consider backend TCK and test utils as test code during the Sonar analysis

Description

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.

Activity

Show:
Steve Ebersole
updated the workflowSeptember 14, 2023 at 5:01 PM
Expanded Workflow with pull request
Expanded Workflow
Yoann Rodière
changed the statusNovember 28, 2018 at 3:43 PM
Resolved
Closed
Yoann Rodière
made 2 changes
September 12, 2018 at 1:36 PM
Status
Pull Request Sent
Resolved
Resolution
None
Fixed
Yoann Rodière
made 4 changes
September 11, 2018 at 12:05 PM
Status
Open
Pull Request Sent
Pull Request
None
https://github.com/hibernate/hibernate-search/pull/1738
Rank
None
Ranked higher
Yoann Rodière
updated the summarySeptember 11, 2018 at 12:00 PM
Consider baclend TCK and test utils as test code during the Sonar analysis
Consider backend TCK and test utils as test code during the Sonar analysis
Yoann Rodière
created the IssueSeptember 11, 2018 at 12:00 PM
Fixed

Details

Assignee

Reporter

Sprint

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

Flag notifications