Hi, I have a doubt about the effort time in some rules on latest Sonarqube server versions.
Most of the rules have the effort time showed in “Constant/Issue” field:
The question is: Why this rule does not have the “Constant/Issue” time field and many others does?
I don’t know why there are some rules with issue effort time and others not.
That was an oversight that - as far as I can tell - has been corrected in recent versions of SonarQube. If you’re not caught up to the current LTS, 8.9.7, or the latest version: 9.3, you should upgrade at your earliest convenience.
Why these two rules have “0min” of effort time and other similar rules like “Track uses of “NOSONAR” comments” have “1min” being almost the same type of rule/issue?
The effort estimate is about how long it would take the average developer on an average day to make the issue go away. For “Track uses of ‘NOSONAR’ tags” it should be about a minute to delete the NOSONAR comment & commit.
For TODO and FIXME, we have absolutely no way of knowing how long it will take, so rather than guessing we just threw up our hands and set it to 0.
Thank you Ann, I thought that the “0min” effort meant that delete the FIXME or TODO comment it took less than a minute XD, but with your answer I’m very sure now why is the reason of that.