I should also note that ADAMK's Perl::Metrics provides a heavy-weight alternative, using Class::DBI to persist metrics data. At present I'm interested in something with fewer dependencies.
Well, it doesn't do the actual metrics.
It's a platform for doing the processing and storage of metrics, with the ACTUAL metrics logic written as small plugins.
The idea was that you write a small class that calculates the actual metrics, and then let Perl::Metrics do the heavy lifting for you (much as PPI does the heavy lifting for the actual parsing).
I'm hoping to rewrite with DBIx::Class at some point (which doesn't do much for dep reduction, but does make it saner).
So while it does work, consider Perl::Metrics a little bit bleeding edge at the moment.
Adam K