| blib/lib/Crypt/OpenPGP/PacketFactory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 21 | 61.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 41 | 0 | 94 | 358 | $buf and $buf->offset < $buf->length |
| 73 | 6 | 0 | 341 | $parse{$type} and my $ref = $PACKET_TYPES{$type} |
| 90 | 0 | 11 | 838 | $buf and $buf->offset < $buf->length |
| 117 | 0 | 0 | 129 | $buf and $buf->offset < $buf->length |
| 172 | 28 | 64 | 0 | $hdrlen == 1 and $len > 255 |
| 174 | 64 | 28 | 0 | $hdrlen == 2 and $len > 65535 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 144 | 0 | 3 | 92 | $obj->{'is_new'} or $type > 15 |