Details
Description
With some rule engines like Findbugs, Toad codexpert, ... there is no way to suppress a violation (a false positive). Could be good thing to provide a basic and multi-languages way to suppress such violations with a //NOSONAR tag.
The //NOSONAR would be considered as a "info" violation on a given line and no more violations could be inserted by any rule engines at this given line.
Issue Links
| This issue is related to: | ||||
| SONARIDE-43 | Add quick fix for violations |
|
|
|
Squid is no able to analyze comment and detect NOSONAR tag to provide Sonar a way to suppress rule violations. This information is available on SquidFile object with help of "Set<Integer> getNoSonarTagLines()" or "boolean isThereNoSonarTagLine(int lineNumber)" methods.