Branch Coverage

blib/lib/Test/File/Contents.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
145 3 6 if ref $desc eq "HASH"
182 3 3 if ref $desc eq "HASH"
187 6 0 if (defined $have) { }
224 3 6 if ref $desc eq "HASH"
256 3 3 if ref $desc eq "HASH"
286 3 3 if ref $desc eq "HASH"
323 0 6 if ref $desc eq "HASH"
390 3 5 if ref $desc eq "HASH"
404 2 13 if ref $desc eq "HASH"
410 30 0 if defined $contents[-1]
426 36 0 if (defined $contents) { }
437 7 21 $encoding =~ /^:/ ? :
44 28 !$encoding ? :
440 0 72 unless open my $fh, "<$layer", $file
441 0 72 if eof $fh
448 82 0 $_[0] =~ m[/] ? :