Try the B::Fathom module. It was designed to measure readability, but it should work for your purposes.
There is also a very good article by Kurt Starsinic in The Perl Journal #11 (Fall '98) about using B::Fathom.
You can grab B::Fathom on CPAN at /modules/by-module/B/B-Fathom-0.06.tar.gz
In reply to Re: Is there a way to measure code complexity?
by dlc
in thread Is there a way to measure code complexity?
by mikfire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |