Qube: Community 9.9
Hey, I would like to suggest a new category next to “Bug”, “Security hotspot” and “Code smell”. This would be something like “Pending action”.
This category could list things like
- Don’t forget to remove deprecated item foo
- Remove commented out code
- Rename variable Foo to foo
etc.
Well, of course the use could change categorization at will. But some good defaults always help.
Things like deprected methods or classes to be removed and comented out code are neither bugs, not code smells and of course not security hotspots. Sometimes it is nice to have a report to list these things. But I don’t want to see them in any list of bugs or code smells, because it is plain wrong to name them like that. And any taken report of a project, that lists bugs or code smells, smells more than it has to. So I would possibly tend to disable these rules. But the results are still very usefull, but just not by adding them to the wrong list.
Of course there’s always the option to duplicate all projects, one to report all the bugs and code smells and one to list all the pending actions (that are named bugs or code smells here). But this would be very bloated.
What do you think?