Details
Description
The drawback of NOSONAR can lead to a bad practise, if developers use it too much. We are not able to watch their code anymore.
What about counting all the occurences of NOSONAR as a metric, so as to see its use through time ?
Sometimes I try to perform a search with my editor, looking for this tag through the code, trying to see :
- how many NOSONAR occurences there are, comparing with my latest review,
- if NOSONAR was used appropriately : for example, if a comment is written to explain its use
Issue Links
- depends upon
-
SONAR-1405
The API must optionally allow plugins to add rule violations on lines with //NOSONAR tag
-
- is related to
-
SONARJAVA-66
Provide a rule to prevent use of @SuppressWarnings annotation
-
-
SONARPLUGINS-842
New metric - amount of NOSONAR tags
-
- relates to
-
SONAR-1322
Provide a way to deactivate the NOSONAR mechanism used to flag false-positif
-
I suppose that this issue duplicates
SONAR-1322