Finding unused perl code

Discussion in 'Perl' started by Noah, Apr 2, 2004.

  1. Noah

    Noah Guest

    I inherited a large perl project with many small perl files spread out
    over different directories. The project is an admin tool with a cgi interface.
    I suspect that many of the files are no longer being used. Some entire
    directories may be obsolete.

    Is there a way I can identify the unused code?
    Basically I need to locate Perl files that are not used by
    any other Perl file in a directory tree.

    Yours,
    Noah
     
    Noah, Apr 2, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    2,152
  2. John Harrison
    Replies:
    4
    Views:
    488
    Ali Cehreli
    Jul 17, 2004
  3. Chris
    Replies:
    5
    Views:
    2,560
  4. Geronimo W. Christ Esq

    Removing dead code and unused functions

    Geronimo W. Christ Esq, Jun 19, 2005, in forum: C Programming
    Replies:
    39
    Views:
    2,642
    Dave Thompson
    Jul 4, 2005
  5. Greg
    Replies:
    10
    Views:
    1,724
    Dave Thompson
    Jul 4, 2005
  6. Andreas Krause

    Finding unused variables in a Perl script

    Andreas Krause, Mar 16, 2006, in forum: Perl Misc
    Replies:
    10
    Views:
    1,083
    Dr.Ruud
    Apr 19, 2006
  7. Gerhard Haslberger

    tool/idea to "opimize" code / remove unused methods

    Gerhard Haslberger, Aug 6, 2008, in forum: Perl Misc
    Replies:
    1
    Views:
    183
    Ben Morrow
    Aug 6, 2008
  8. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Jan 23, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    505
    PerlFAQ Server
    Jan 23, 2011
Loading...