I am using, codeclimate tool for code quality, and we are using sonar java as analyser.
I am seeing false positives, in the case of code quality check → java:S1068
The check: Unused “private” fields should be removed
Sonarjava is unable to recognise lombok dependencies, and I am getting all these warnings.
I did a little digging, and got to know, there was an update regarding this issue, but I am still seeing this issue.
We run SonarQube as a Docker container with the latest sonarqube:10.8-developer image (as of writing) and still get lots of FP for classes annotated with @Getter. The fields are 100% used through the Lombok-generated getters, but SQ still raises “Remove this unused private field”.
On a side note, how can you tell from a Jira which version of SonarQube includes it?