| org.acm.seguin.pmd.stat.StatisticalRule org.acm.seguin.pmd.rules.design.SwitchDensityRule
SwitchDensityRule | public class SwitchDensityRule extends StatisticalRule (Code) | | author: dpeugh author: Switch Density - This is the number of statements over the author: number of cases within a switch. The higher the value, the author: more work each case is doing. author: Its my theory, that when the Switch Density is high, you should author: start looking at Subclasses or State Pattern to alleviate the author: problem. |
SwitchDensityRule | public SwitchDensityRule()(Code) | | |
Fields inherited from org.acm.seguin.pmd.stat.StatisticalRule | public static double DELTA(Code)(Java Doc)
|
|
|