The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Perl::Metrics::Lite - Use Perl::Metrics::Lite in test programs

SYNOPSIS

Basic usage:

  use Test::Perl::Metrics::Lite;
  all_metrics_ok();

You can change the metrics threshold.

  use Test::Perl::Metrics::Lite (-mccabe_complexity => 6, -loc => 30);
  all_metrics_ok();

DESCRIPTION

Test::Perl::Metrics::Lite wraps the Perl::Metrics::Lite engine in a convenient subroutine suitable for test programs written using the Test::More framework

This makes it easy to integrate metrics enforcement into the build process. =head1 SOURCE AVAILABILITY

This source is in Github:

  http://github.com/dann/p5-test-perl-metrics-lite

AUTHOR

Dann <techmemo@gmail.com>

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.