Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.12
-
Fix Version/s: None
-
Component/s: Squid
-
Labels:None
-
Number of attachments :
Description
With version 1.12 the NOSONAR tag has been introduced, allowing whoever has
access to the code to prevent sonar and the tools it employs to report
detected violations. Now, in our company, the policy is to not use this kind
of suppressing tags (NOPMD, NOSONAR) but to accept the occasional false
positive as the price to pay for proper, reliable reporting.
As far as I can tell, there is no way to prevent the use of NOSONAR, i.e. to
let the sonar plugin simply ignore this tag. This has been confirmed on the mailing list, see http://old.nabble.com/Disabling-use-of-NOSONAR-%28and-possible-taglist-bug-%29-to26828355.html#a26833632.
So I'd like to propose the addition of a mechanism to disable the effect of the NOSONAR tag, or make it possible to detect its use as a violation itself.
Issue Links
- is related to
-
SONAR-1817
Squid rule to create violation on each NOSONAR tag occurence
-
This metric should be directly provided by Squid.