30 Aug
2002
30 Aug
'02
4:59 p.m.
On Fri, 30 Aug 2002, Oliver Bleutgen wrote:
If there is a central part in zope (ZPublisher?) which always runs when methods/scripts/etc are called, one could patch it to also log the path of the object which is called (the physical path!). Then just use a web spider which crawls the whole site, and after that compare the list which has been produced by the method above to the list of objects in your ZODB.
Everything which hasn't been touched is an orphan.
Combine this with a regression test suite that exercised all of the site's functionality and pages, and you'd have something. As with Unit Tests, if it isn't tested, it should be deleted <grin>. --RDM