Finding dead code in Template toolkit

73 views Asked by At

We have a number of interconnected tt's in our project. Is there a way to find template code which is never used?

At least in theory, I could hack into Template, make it mark control blocks somehow and write usage data to a file for later analysis (much like Devel::Cover does). But maybe there's already a tool for that? I haven't found one though.

Here's a useful post on this topic but not quite what I want.

0

There are 0 answers