perlquestion
ryanus
<p>
I would like to be able to calculate the <a href="http://www.sei.cmu.edu/str/descriptions/cyclomatic_body.html">Cyclomatic Complexity</a> of some Perl code. After searching Google, there seems to be nothing implemented which calculates this for Perl source code. For those who didn't click the link, Cyclomatic Complexity is a test of source code that generates a number. If this number is high, the code is complex and therefor hard to maintain, prone to errors, and hard to test.
</p>
<p>
<b>Questions:</b>
<br />
<ol>
<li>Does anyone know of an implementation that will calculte Cyclomatic Complexity for Perl code?</li>
<li>If this does not exist, does anyone know of any language agnostic engines that parsers for Perl parsers could be written for?</li>
</ol>
</p>