diff --git a/pmd/rulesets/new_for_0_6.xml b/pmd/rulesets/new_for_0_6.xml index 95fa62cb6d..0de895ad57 100644 --- a/pmd/rulesets/new_for_0_6.xml +++ b/pmd/rulesets/new_for_0_6.xml @@ -5,15 +5,67 @@ These are new ones for 0.6 + + +Excessive Method Length usually means that the method is doing +too much. There is usually quite a bit of Cut and Paste there +as well. Try to reduce the method size by creating helper methods, +and removing cut and paste. (Current Threshold is 200 lines) + + + + + + + + +Long Class files are indications that the class may be trying to +do too much. Try to break it down, and reduce the size to something +managable. + + + + + - foo +A variable is casted to one of its supertypes or interfaces. Usually +indicates that the programmer is not clear on the class structure they +are working with.