blib/lib/Git/PurePerl/Pack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 22 | 59.0 |
line | l | !l | condition |
---|---|---|---|
46 | 3770 | 0 | unpack('C', $c) || die($!) |
57 | 3766 | 0 | unpack('C', $c) || die($!) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
28 | 4 | 0 | 0 | 'IO::File'->new($self->filename) || confess($!) |
50 | 3770 | 0 | 0 | $TYPES[$type_number] || confess("invalid type $type_number") |
63 | 2 | 2595 | 1173 | $type eq 'ofs_delta' or $type eq 'ref_delta' |
126 | 537 | 510 | $type eq 'commit' or $type eq 'tree' | |
663 | 510 | 0 | $type eq 'commit' or $type eq 'tree' or $type eq 'blob' | |
1047 | 0 | 0 | $type eq 'commit' or $type eq 'tree' or $type eq 'blob' or $type eq 'tag' |