measureperl-checkstyle - count lines, packages, subs and complexity of Perl files.
measureperl-checkstyle --max_sub_lines 100 --max_sub_mccabe_complexity 10 --directory lib
At least one file or directory path must be supplied.
To install Perl::Metrics::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Metrics::Lite
CPAN shell
perl -MCPAN -e shell install Perl::Metrics::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.