RE: Improvement : NO [SONAR|PMD|CHECKSTYLE] authorized if commented
Yes of course ... but if you are using multiple SonarQube platform or branch process (for multi-profiles) or on some legacy code (with switch off
commented), this false positive tag is required each time.
=> Having the feature in the code is (IMO) a value added.
My purpose is on the rule behavior ... because if I was the devil's advocate, why these 3 rules exist … the false positive tag process in the platform
could be used ;-).
De : Nicolas Peru [mailto:[hidden email]]
Envoyé : jeudi 21 mai 2015 11:47 À :[hidden email] Objet : Re: [sonar-user] Improvement : NO [SONAR|PMD|CHECKSTYLE] authorized if commented
There is also another solution :
Is there a reason why the handling of false positive issue in certain context could not be handled directly in the platform by setting the status of the issue to false positive ?
This way, no need to clutter your code with comments dedicated to some tools.