Package perl-Perl-Metrics-Simple

Count packages, subs, lines, etc. of many files

https://metacpan.org/release/Perl-Metrics-Simple

Perl::Metrics::Simple provides just enough methods to run static analysis
of one or many Perl files and obtain a few metrics: packages, subroutines,
lines of code, and an approximation of cyclomatic (McCabe) complexity for
the subroutines and the "main" portion of the code.

Version: 1.0.3

General Commands

countperl count lines, packages, subs, and complexity of Perl files.