| blib/lib/Crypt/OpenPGP/Message.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 1 | 63 | if (not $msg->{'_data'} and my $file = $param{'Filename'}) |
| 26 | 0 | 1 | unless open FH, $file |
| 32 | 0 | 64 | unless $msg->read |
| 39 | 0 | 64 | unless my $data = $msg->{'_data'} |
| 41 | 2 | 62 | if (not $msg->{'is_packet_stream'} and $data =~ /-----BEGIN PGP SIGNED MESSAGE/) |
| 58 | 9 | 55 | if (not $msg->{'is_packet_stream'} and $data =~ /^-----BEGIN PGP/m) |
| 60 | 0 | 9 | unless my $rec = "Crypt::OpenPGP::Armour"->unarmour($data) |
| 68 | 2 | 62 | if $pt |