Branch Coverage

blib/lib/Dist/Zilla/Plugin/CheckSelfDependency.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
53 0 10 if $file->can('encoding') and $file->encoding eq 'bytes'
57 10 0 $file->can('encoding') ? :
0 10 unless $file->can('encoding') ? open($fh, sprintf('<:encoding(%s)', $file->encoding), \$file->encoded_content) : open($fh, '<', \$file->content)
65 5 5 if (exists $prereqs{$package} or exists $$develop_prereqs_hash{$package} and not exists $$provides{$package})
77 2 3 unless exists $$develop_prereqs_hash{$package}
79 3 0 $provides ? :
80 1 2 unless ($develop_prereqs->accepts_module($package, $version))
89 6 4 if @errors