Itatsumaki has asked for the wisdom of the Perl Monks concerning the following question:
Howdy Monks,
I am maintaining a CGI-based website of about 100 different scripts. It is underpinned by a handful of library modules which are not particularly organized and seem to contain a lot of deprecated functions.
Is there some automated way of checking the entire set of 100 scripts and identifying which parts of the modules are no longer accessed anywhere?
My current thinking had been to add code to every sub in every module to log who had called them, but I worry that our test-set isn't comprehensive enough to catch everything on a site (e.g. ~300 tests for 100 scripts).
Any other ideas on how to do this?
-Tats
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Identifying Library Usage
by ysth (Canon) on May 07, 2004 at 15:40 UTC | |
|
Re: Identifying Library Usage
by Ven'Tatsu (Deacon) on May 07, 2004 at 15:01 UTC | |
|
Re: Identifying Library Usage
by eXile (Priest) on May 07, 2004 at 15:27 UTC | |
|
Re: Identifying Library Usage
by halley (Prior) on May 07, 2004 at 15:55 UTC | |
|
Re: Identifying Library Usage
by BUU (Prior) on May 07, 2004 at 21:42 UTC | |
|
Re: Identifying Library Usage
by ColonelPanic (Friar) on May 07, 2004 at 14:54 UTC | |
|
Re: Identifying Library Usage
by graff (Chancellor) on May 11, 2004 at 03:43 UTC |