blib/lib/Crypt/OpenPGP/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 4 | unless open FH, $cfg_file |
37 | 0 | 12 | if not /\S/ or /^#/ |
38 | 12 | 0 | if (/^\s*([^\s=]+)(?:(?:(?:\s*=\s*)|\s+)(.*))?/) |
41 | 0 | 12 | unless $ref |
43 | 4 | 8 | ref $ref->[0] eq 'CODE' ? : |
56 | 2 | 2 | unless defined $val |