| blib/lib/Crypt/OpenPGP/Certificate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 21 | 47.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 240 | 9 | 0 | 1 | not defined $key and defined $cert->{'unparsed_key'} |
| 293 | 0 | 0 | 9 | $cert->{'is_secret'} and $cert->{'is_protected'} |
| line | l | !l | condition |
|---|---|---|---|
| 49 | 4 | 0 | $param{'Version'} || 4 |
| 54 | 0 | 4 | $param{'Subkey'} || 0 |
| 58 | 0 | 2 | $param{'Validity'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 67 | 0 | 2 | 0 | $param{'Cipher'} || &DEFAULT_CIPHER() |
| 188 | 30 | 9 | 0 | $cert->{'cipher'} == 255 or $cert->{'cipher'} == 254 |
| 348 | 0 | 0 | 2 | not $cert->{'is_secret'} or $cert->{'is_protected'} |