Branch Coverage

blib/lib/Cogit/Pack/WithoutIndex.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
34 0 0 unless $index_fh->print(pack('N', $fan_out_table[$i] || 0))
39 0 0 unless $index_fh->print(pack('N', $offset))
40 0 0 unless $index_fh->print(pack('H*', $sha1))
46 0 0 unless $fh->seek($size - 20, 0)
49 0 0 unless $index_fh->print($pack_sha1)
50 0 0 unless $index_fh->print($iod->digest)
52 0 0 unless $index_fh->close
71 0 0 unless $fh->read(my $c, 1)
84 0 0 unless $fh->read($c, 1)
93 0 0 if ($type eq 'ofs_delta' or $type eq 'ref_delta') { }
0 0 elsif ($type eq 'commit' or $type eq 'tree' or $type eq 'blob' or $type eq 'tag') { }
120 0 0 unless $offset