Details
Description
The following rules are missing in Sonar :
- Switch statement found where one case falls through to the next case (SF_SWITCH_FALLTHROUGH)
- Dead store due to switch statement fall through (SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH)
- Dead store due to switch statement fall through to throw (SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW)
- Switch statement found where default case is missing (SF_SWITCH_NO_DEFAULT)
- Method uses the same code for two switch clauses (DB_DUPLICATE_SWITCH_CLAUSES)
I reopen this issue because the rule "Dead store due to switch statement fall through to throw" don't seem to be active ine Sonar 2.3.1.