Branch Coverage

blib/lib/Dist/Zilla/Plugin/CheckPrereqsIndexed.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
73 9 4 unless (keys %self_modules)
86 0 34 if ($NOT_INDEXED{$pkg})
91 1 33 if (&any(sub {
100 4 2 if ($phase eq "develop" and exists $self_modules{$pkg} and "version"->parse($self_modules{$pkg}) >= "version"->parse($ver))
116 0 13 unless @modules
128 6 23 unless ($res->{'success'})
129 6 0 if ($res->{'status'} == 404)
139 0 23 unless (@$payload)
145 22 1 if $requirements->accepts_module($pkg, $indexed_version->stringify)
153 6 7 unless (keys %missing or keys %unmet)
158 6 1 if (keys %missing)
163 1 6 if (keys %unmet)
174 0 7 if $self->zilla->chrome->prompt_yn("release despite missing prereqs?", {"default", 0})