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. Advertising

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. John Harrison
    Replies:
    4
    Views:
    376
    Ali Cehreli
    Jul 17, 2004
  2. Chris
    Replies:
    5
    Views:
    2,248
  3. 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,310
    Dave Thompson
    Jul 4, 2005
  4. Dan Henry
    Replies:
    0
    Views:
    394
    Dan Henry
    Jun 21, 2005
  5. Andreas Krause

    Finding unused variables in a Perl script

    Andreas Krause, Mar 16, 2006, in forum: Perl Misc
    Replies:
    10
    Views:
    728
    Dr.Ruud
    Apr 19, 2006
Loading...

Share This Page