I use Sonarqube with Jenkins to check various violations. There are two classes, A
and B
, that have a lot of duplicated code. I know that and accept that. Therefore, I'd like to ignore these violations. However, I still want to be informed about the duplicated code from other classes, like C. I just want to ignore the duplicated code between A
and B
. How can I do that?
You can resolve the issue as false positive. This will make this issue disappear from your dashboard:
That's it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With