Condition Coverage

blib/lib/Cogit/Pack/WithoutIndex.pm
Criterion Covered Total %
condition 0 29 0.0


or 2 conditions

line l !l condition
22 0 0 'IO::File'->new("> $index_filename") || die($!)
34 0 0 $fan_out_table[$i] || 0
35 0 0 $fan_out_table[$i] || 0
47 0 0 $fh->read(my $pack_sha1, 20) || die($!)
69 0 0 $fh->tell || die("Error telling filehandle: $!")
72 0 0 unpack('C', $c) || die($!)
85 0 0 unpack('C', $c) || die($!)

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 0 $TYPES[$type_number] || confess("invalid type $type_number at offset $offset, size $size")
93 0 0 0 $type eq 'ofs_delta' or $type eq 'ref_delta'
0 0 0 $type eq 'commit' or $type eq 'tree'
0 0 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob'
0 0 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob' or $type eq 'tag'