Branch Coverage

blib/lib/Dist/Zilla/Plugin/MakeMaker/Awesome.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
176 19 0 if defined $b
1 55 if (my(@version_ranges) = &pairgrep(sub { not version::is_lax($b) if defined $b; } , %{$require_prereqs{$phase};}) and $self->eumm_version < '7.1101')
185 0 13 eval { do { 'Dist::Zilla'->VERSION('7.000') } } ? :
204 2 11 @authors > 1 && ($self->eumm_version >= 6.5702 || $perl_prereq >= 5.013005) ? :
2 11 @$exe_files ? :
1 12 keys %{$require_prereqs{'build'};} ? :
1 12 keys %{$require_prereqs{'test'};} ? :
2 11 $perl_prereq ? :
245 2 12 $perl_prereq ? :
280 35 3 unless $file->name =~ m[\At/.+\.t\z]
320 0 12 if (keys %$share_dir_map)
325 0 0 if (my $dist_share_dir = $share_dir_map->{'dist'})
330 0 0 if (my $mod_map = $share_dir_map->{'module'})
372 1 11 $self->header_file ? :
374 0 1 unless $abs_file->exists
407 1 11 $self->footer_file ? :
409 0 1 unless $abs_file->exists
424 14 0 unless keys %{$self->zilla->_share_dir_map;}
454 0 14 if grep /\s/, @{$self->exe_files;}
462 1 12 unless $file
495 0 16 eval { do { 'Dist::Zilla'->VERSION('7.000') } } ? :
499 16 3 $class =~ s/^Dist::Zilla::Plugin::// ? :
502 1 15 @plugin_classes > 2 ? :
507 2 14 if @makemaker_plugins > 1