Condition Coverage

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


or 2 conditions

line l !l condition
46 3838 0 unpack('C', $c) || die($!)
57 3805 0 unpack('C', $c) || die($!)

or 3 conditions

line l !l&&r !l&&!r condition
28 4 0 0 'IO::File'->new($self->filename) || confess($!)
50 3838 0 0 $TYPES[$type_number] || confess("invalid type $type_number")
63 2 2660 1176 $type eq 'ofs_delta' or $type eq 'ref_delta'
126 537 513 $type eq 'commit' or $type eq 'tree'
663 513 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob'
1050 0 0 $type eq 'commit' or $type eq 'tree' or $type eq 'blob' or $type eq 'tag'