| net.sourceforge.pmd.stat.StatisticalRule net.sourceforge.pmd.rules.design.SwitchDensityRule
SwitchDensityRule | public class SwitchDensityRule extends StatisticalRule (Code) | | author: David Dixon-Peugh author: 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: 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. |
Fields inherited from net.sourceforge.pmd.stat.StatisticalRule | final public static double DELTA(Code)(Java Doc)
|
|
|