Branch Coverage

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


line true false branch
98 0 25 if $INC{&module_notional_filename("Dist::Zilla::Plugin::MakeMaker::Awesome")} and not eval {
102 1 24 if (my(@keys) = keys %extra_args)
103 0 1 @keys > 1 ? :
125 1 19 if &first(sub {
135 2 21 unless $file
147 0 21 unless $content =~ /\Q$insertion_breadcrumb\E/gm
153 5 16 if (my $conditions = join(" && ", $self->conditions))
191 10 11 unless @include_subs
194 10 1 unless keys %included_subs
196 1 10 if (my(@missing_subs) = grep((!(-f path($self->_include_sub_root, $_))), @include_subs))
197 1 0 @missing_subs > 1 ? :
262 12 0 unless $_->name eq $path
263 3 0 unless ($file)
265 1 2 unless my $installed_filename = "Module::Metadata"->find_module_by_name($module)
272 0 2 unless $file
274 2 0 if (defined $include_modules->{$module} and $include_modules->{$module} > 0)
280 1 0 defined $mmd->version ? :
1 1 if ($mmd->version || 0) < $include_modules->{$module}
290 7 20 if %$configure_prereqs
299 1 26 if %$develop_prereqs
357 15 16 unless $sub_dependencies{$sub}
359 9 22 if &notall(sub {