#103 More Unused checks!

release_3.3
closed
Check (274)
7
2012-10-10
2002-09-15
No

Please add checks for

  1. Unused private methods in a class
  2. Unused local variables

thanks
Vivek

Discussion

<< < 1 2 (Page 2 of 2)
  • Oliver Burn
    Oliver Burn
    2008-02-08

    Logged In: YES
    user_id=218824
    Originator: NO

    A decision was made a while back to remove these types of usage checks. The reason is that the Checkstyle architecture is not suited to these sorts of checks. I'd recommend you look at FindBugs or PMD for these types of checks.

     
  • Logged In: YES
    user_id=1855304
    Originator: NO

    That's regrettable.
    I use CheckStyle with Maven wich generates a weekly report. I just try to get rid of PMD because the developers in my team don't want to ckeck several reports. Having one single plugin is nice because every warning is presented into one single report.

    I found CheckStyle was better than PMD because it seemed to be the most complete : for instance, it includes the copy/paste detection...

    I think the only thing I have to do now is looking for a plugin that generates one single homogeneous report including warnings from both CheckStyle and PMD.

     
<< < 1 2 (Page 2 of 2)