| lib/Dist/Zilla/Plugin/AutoPrereqs/Perl/Critic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 69 | 9 | 3 | if (defined $critic_config) |
| 80 | 5 | 4 | if $remove_core_policies and exists $self->_core_policies->{$policy_module} |
| 95 | 5 | 1 | unless (defined $yaml) |
| 116 | 1 | 4 | if ($res->{'status'} ne '200') |
| 130 | 0 | 4 | unless $cache_file->spew($cache_header, $content) |
| 140 | 4 | 2 | unless -e $cache_file |
| 145 | 1 | 1 | if 'CPAN::Version'->vgt('Perl::Critic'->VERSION, do { $yaml }->[0]{'version'}) |