| t/98.perlcritic.t | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 13 | 16 | 81.2 |
| branch | 1 | 2 | 50.0 |
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | n/a | ||
| total | 18 | 22 | 81.8 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | #!perl | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 5 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 31 | ||||||
| 4 | 1 | 1 | 5 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 31 | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 967 | use Test::More; | |||
| 1 | 28985 | ||||||
| 1 | 10 | ||||||
| 7 | |||||||
| 8 | 1 | 1 | 108974 | eval "use Test::Perl::Critic( -profile => 't/perlcriticrc' );"; | |||
| 1 | 358 | ||||||
| 0 | |||||||
| 0 | |||||||
| 9 | |||||||
| 10 | 1 | 50 | 6 | if ($@) { | |||
| 11 | 1 | 6 | plan( | ||||
| 12 | skip_all => "Test::Perl::Critic required for testing PBP compliance" | ||||||
| 13 | ); | ||||||
| 14 | } | ||||||
| 15 | |||||||
| 16 | 0 | 0 | Test::Perl::Critic::all_critic_ok( qw(t lib) ); |