For all fans of zombie web application frameworks.

Christian Jaeger chrjae at gmail.com
Fri Sep 19 16:04:44 BST 2014


> pulling off a near equivalent of PSGI->finalize

(I don't know what you mean here.)

> swathes of dead code but nobody quite knows where the dead code is.

Sounds like something for a code coverage tool, i.e. Devel::Cover.

Run the program with -MDevel::Cover, use every feature of the app (and
all the tests that you think are still relevant), then "cover -report
html" and look for code in the HTML output that has zero statement
coverage.

(*Static* dead code analysis would probably not be so easy, given the
many ways Perl can call code. Also, not as complete unless you also
analyze which URLs are callable in actual use etc.)

Christian.


More information about the london.pm mailing list