Branch Coverage

blib/lib/Git/PurePerl/PackIndex/Version1.pm
Criterion Covered Total %
branch 12 20 60.0


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