blib/lib/Crypt/OpenPGP/Armour.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 8 | unless my $data = $param{'Data'} |
16 | 7 | 1 | unless $param{'NoVersion'} |
33 | 0 | 9 | unless my($begin, $obj, $head, $data, $end) = $blob =~ /(-----BEGIN ([^\n\-]+)-----)\n(.*?\n\n)?(.+)(-----END .*?-----)/s |
36 | 0 | 9 | unless ($data =~ s/=([^\n]+)$//s) |
42 | 0 | 9 | unless $check eq $csum |
44 | 9 | 0 | if ($head) |