Branch Coverage

blib/lib/Cogit/PackIndex/Version1.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
28 0 2 unless $fh->seek($pos, 0)
30 0 18 unless $fh->read(my $data, $OffsetSize)
32 0 18 unless $fh->read($data, $SHA1Size)
46 0 25 unless defined $slot
52 0 25 unless $fh->seek($SHA1Start + $mid * $EntrySize, 0)
53 0 25 unless $fh->read(my $data, $SHA1Size)
55 0 25 if ($midsha1 lt $want_sha1) { }
0 25 elsif ($midsha1 gt $want_sha1) { }
61 0 25 unless $fh->seek($pos, 0)
62 0 25 unless $fh->read(my $data, $OffsetSize)