| blib/lib/Test2/Tools/PerlCritic/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 10 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 8 | 1 | if is_blessed_ref($config) and $config->isa("Perl::Critic") |
| 25 | 0 | 9 | unless is_blessed_ref($config) and $config->isa("Perl::Critic::Config") |
| 38 | 0 | 71 | unless $policy->is_enabled |
| 50 | 71 | 0 | if defined $severity |
| 51 | 8 | 63 | if defined $maximum_violations_per_document |