A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.public class Foo { public String value; public Bar something; public Variable var; // [... more more public attributes ...] public void doWork() {} public void doMoreWork() {} public void doWorkAgain() {} // [... more more public methods ...] }Additional info can be found at this http://pmd.sourceforge.net/rules/codesize.html#ExcessivePublicCount site.
| 1 | org.jcoderz.commons.util.DbUtil |
| [33:1] | |