note
Joost
With static analysis, you'll probably not get very far, and it certainly won't be reliable.
<p>
Runtime analysis like what some profilers [cpan://Devel::NYTProf] and code coverage tools [cpan://Devel::Cover] do may work better, provided you've got enough "test" routines to cover all the code paths.
<p>
It's possible to build what you want with runtime inspections. Searching cpan for [cpan://Devel] might turn up something more directly suitable, but I'm not aware of anything that does exactly what you want. [cpan://Sepia::Xref] seems close, though.
<p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-157432">
<em>[id://149675|"What should it profit a man, if he should win a flame war, yet lose his cool?"]</em>
</div></div>
798738
798738