plmetrics - show the Perl metrics
plmetrics [--module=<module> | --file=<file> | --dir=<dir> | --git=<git_repos> | --tar=<tar_url>] [--result=<result>] [--sort] OPTIONS: --module local module name --file local file path --dir local directory path --git git repository --tar URL of tar.gz --sort sort result table --result kind of result(module*|methods|cc|lines|files) *default --version show the version -h --help show this help
$ plmetrics --module Some::Module $ plmetrics --file ./path/to/lib/Some/Module.pm $ plmetrics --dir ./path/to/lib $ plmetrics --git git://example.com/Some-Module.git $ plmetrics --tar http://example.com/Some-Module-0.01.tar.gz $ plmetrics --module Some::Module --result methods --sort
If you use --git or --tar option, you may have to install some modules manually. These are NOT installed with App::plmetrics.
--git
--tar
App::plmetrics
Dai Okabayashi <bayashi@cpan.org>
Perl::Metrics::Lite
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install App::plmetrics, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::plmetrics
CPAN shell
perl -MCPAN -e shell install App::plmetrics
For more information on module installation, please visit the detailed CPAN module installation guide.