Branch Coverage

blib/lib/Dist/Zilla/Plugin/DynamicPrereqs.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
102 0 25 if $INC{&module_notional_filename('Dist::Zilla::Plugin::MakeMaker::Awesome')} and not eval {
106 1 24 if (my(@keys) = keys %extra_args)
108 0 1 @keys > 1 ? :
132 1 19 if &first(sub {
143 2 21 unless $file
155 0 21 unless $content =~ /\Q$insertion_breadcrumb\E/gm
161 5 16 if (my $conditions = join(' && ', $self->conditions))
201 10 11 unless @include_subs
204 10 1 unless keys %included_subs
206 1 10 if (my(@missing_subs) = grep((!(-f path($self->_include_sub_root, $_))), @include_subs))
208 1 0 @missing_subs > 1 ? :
276 12 0 unless $_->name eq $path
277 3 0 unless ($file)
280 1 2 unless my $installed_filename = 'Module::Metadata'->find_module_by_name($module)
287 0 2 unless $file
289 2 0 if (defined $include_modules->{$module} and $include_modules->{$module} > 0)
296 1 0 defined $mmd->version ? :
1 1 if ($mmd->version || 0) < $include_modules->{$module}
308 7 20 if %$configure_prereqs
317 1 26 if %$develop_prereqs
376 15 16 unless $sub_dependencies{$sub}
378 9 22 if &notall(sub {