Condition Coverage

blib/lib/Cogit/Pack.pm
Criterion Covered Total %
condition 13 22 59.0


or 2 conditions

line l !l condition
57 50 0 unpack('C', $c) || die($!)
68 42 0 unpack('C', $c) || die($!)

or 3 conditions

line l !l&&r !l&&!r condition
39 2 0 0 'IO::File'->new($self->filename) || confess($!)
61 50 0 0 $TYPES[$type_number] || confess("invalid type $type_number")
74 2 2 46 $type eq 'ofs_delta' or $type eq 'ref_delta'
18 14 14 $type eq 'commit' or $type eq 'tree'
32 14 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob'
28 0 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob' or $type eq 'tag'