Finding unused code

Skip Montanaro skip at pobox.com
Tue Apr 29 17:33:23 EDT 2003


    Graham> I'd like to write a script to analyse the source code and tell
    Graham> me which bits haven't been used, but I'm at a bit of a loss for
    Graham> where to start.

Check out pychecker.  That may get you 90% of the way there.  If not, it
probably provides a good framework to add the necessary logic.

    http://pychecker.sf.net/

Skip







More information about the Python-list mailing list