halstead
version 0.0617
halstead [--options] /some/perl/file.pl [/some/perl/Module.pm ...]
Analyze the Halstead complexity of Perl code.
--metric effort
The Halstead sorted metric. If not specified on the command line, a metric of effort is used.
effort
Possible metrics:
effort difficulty volume level lang_level intel_content time_to_program delivered_bugs
--report
Output a Halstead report for each given file instead of a single --metric.
--metric
--prec 4
Specify the decimal precision to use for report numbers.
Getopt::Long
Pod::Usage
Gene Boggs <gene@cpan.org>
This software is copyright (c) 2022 by Gene Boggs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perl::Metrics::Halstead, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Metrics::Halstead
CPAN shell
perl -MCPAN -e shell install Perl::Metrics::Halstead
For more information on module installation, please visit the detailed CPAN module installation guide.