Ticket #16 (closed enhancement: fixed)
Change severity rules
| Reported by: | amandel | Owned by: | amandel |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | misc | Version: | trunk |
| Keywords: | Cc: |
Description
To get more targeted results especially for new setups I would propose to do either of:
- Add a new severity level bug and allow only selected finders to report into this severity (definite nullpointer dereference, fails to close stream...). I also would then change the severity of the C&P detector to be between bug and error.
- Move all error level findings into the warning severity except the ons that directly report a bug (see above). So things like tab in code, misplaced brace etc. would go to warning rather than error. I also would then change the severity of the C&P detector to be between warning and error.
- Something completely different like introducing a new dimension reflecting the difference of finders that detect violations of code formating rules vs. potential bugs or resource leaks. (+ coverage data + metrics + c&p)
I assume b would be the least effort and does not have the risk to have to many severity levels and no clear rule decide in which level to put a finding in.
I'll take care for this change but it would be nice to hear your opinion about this change.
Change History
Note: See
TracTickets for help on using
tickets.
