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