[java:S120] Avoid duplications

Qube: Community 9.9

The Java rule S120 produces as many duplicated findings as classes are inside the package (and sub packages).

Assuming, there can be no marker at a package, it would help and be sufficient, if the first class in the falsely written package would get marked. Yes, this is random. But it’s still better than having 1000 findings for a single issue.

1 Like

Hi @mfroehlich,

Thank you for raising this.
Here is a ticket to track progress: [SONARJAVA-4647] - Jira.

All the best,

Irina