Two aspects with the current dashboard view:
So to make a long story short it would be nice to reflect the higher rated Code Smell issues somewhere in the dashboard, too...
Thanks!
So... that shifts the question to how the Maintainability rating should be calculated. By putting it on the same scale as the Reliability rating (1 Blocker = E), you're saying that a bad unit test (one of the Blocker-level Code Smell rules) deserves the same urgent treatment as a resource leak or a runtime error that will take down the application. I don't think that's true.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/STPeu-cx3aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3144219c-3387-42f2-af0f-ffa271c671ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
So... that shifts the question to how the Maintainability rating should be calculated. By putting it on the same scale as the Reliability rating (1 Blocker = E), you're saying that a bad unit test (one of the Blocker-level Code Smell rules) deserves the same urgent treatment as a resource leak or a runtime error that will take down the application. I don't think that's true.
Concern) From my project homepage, I'd never know that there are Blocker Code SmellsAction) If you add an Error condition to your quality gate on Blocker Issues > 0 (sorry, you can't narrow this to Blocker Code Smells) then the presence of any blockers will mean your project fails the quality gate with a prominent notification as to why
Concern) We have a lot of trivial classes under analysis, and their large aggregate LoC count throws off the Maintainability Rating calculation.Action) If these classes are generated, I'd exclude them completely from analysis. If they're hand-coded (no matter how trivial) I would retain them.