Condition Coverage

blib/lib/Crypt/OpenPGP/PacketFactory.pm
Criterion Covered Total %
condition 13 21 61.9


and 3 conditions

line !l l&&!r l&&r condition
38 0 83 229 $buf and $buf->offset < $buf->length
70 6 0 215 $parse{$type} and my $ref = $Crypt::OpenPGP::PacketFactory::PACKET_TYPES{$type}
87 0 8 384 $buf and $buf->offset < $buf->length
114 0 0 133 $buf and $buf->offset < $buf->length
169 26 66 0 $hdrlen == 1 and $len > 255
171 66 26 0 $hdrlen == 2 and $len > 65535

or 3 conditions

line l !l&&r !l&&!r condition
141 0 2 92 $obj->{'is_new'} or $type > 15