Branch Coverage

blib/lib/Dist/Zilla/Role/ModuleMetadata.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
22 0 5 unless $file
25 5 0 $file->can('encoded_content') ? :
31 0 5 if $CACHE{$filename}{$md5}
33 5 0 $file->can('encoding') ? :
0 5 unless open my $fh, $file->can('encoding') ? sprintf('<:encoding(%s)', $file->encoding) : '<', \$encoded_content