Hi all,
        Take a look at PMD (http://pmd.sourceforge.net/
<http://pmd.sourceforge.net/> ). This  is a Java source code analyser
similar in some aspects to CheckStyle, but with some very interesting
non-overlapping features:

        Unused local variables
        Unused parameters
        Empty 'if' statements
        Unused private methods
        Classes which could be Singletons
        Classes with high Cyclomatic Complexity numbers
        Classes with high coupling/high external dependencies

(OK, so CheckStyle may also support some of those, not really sure).  PMD is
also very extensible so you can create your own code checking rules.

        The emacs interface package is (so far) *not* JDEE-aware.

        Regards,
                Nascif

Reply via email to