The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

halstead

VERSION

version 0.0617

SYNOPSIS

  halstead [--options] /some/perl/file.pl [/some/perl/Module.pm ...]

DESCRIPTION

Analyze the Halstead complexity of Perl code.

OPTIONS

metric

  --metric effort

The Halstead sorted metric. If not specified on the command line, a metric of effort is used.

Possible metrics:

  effort
  difficulty
  volume
  level
  lang_level
  intel_content
  time_to_program
  delivered_bugs

report

  --report

Output a Halstead report for each given file instead of a single --metric.

precision

  --prec 4

Specify the decimal precision to use for report numbers.

SEE ALSO

Getopt::Long

Pod::Usage

AUTHOR

Gene Boggs <gene@cpan.org>

COPYRIGHT AND LICENSE

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.