Condition Coverage

blib/lib/Mail/GPG.pm
Criterion Covered Total %
condition 54 87 62.0


and 3 conditions

line !l l&&!r l&&r condition
440 65 161 48 $fields[1] and $fields[1] =~ /^([eird])$/
124 102 0 $fields[11] and $fields[11] =~ /([D])/
449 65 39 12 $tag eq 'sub' and $gpg2_mode
104 12 0 $tag eq 'sub' and $gpg2_mode and $fields[4]
88 0 16 $tag eq 'uid' and $gpg2_mode
88 0 16 $tag eq 'uid' and $gpg2_mode and $fields[9] =~ /<[^>]+>/
452 59 0 51 @ids and @emails
490 59 51 0 defined $fields[1] and $fields[1] eq 'FLUSH'
806 8 14 0 not $_no_sign and $key_id eq ''
834 22 0 0 $self->get_default_key_encrypt and $self->get_default_key_id
1072 8 0 0 $self->get_default_key_encrypt and $self->get_default_key_id
1239 22 8 0 $is_armor and not $output_stdout =~ /^[\w-]+:/

or 2 conditions

line l !l condition
55 62 0 $gnupg_hash_init ||= {}
56 0 62 $digest ||= 'RIPEMD160'
57 0 62 $gpg_call ||= 'gpg'
58 0 62 $no_strict_7bit_encoding ||= 0
59 27 35 $use_long_key_ids ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
54 0 62 0 $ENV{'DUMPDIR'} || 'File::Spec'->tmpdir . '/mail-gpg-test'
0 62 0 $debug_dir ||= $ENV{'DUMPDIR'} || 'File::Spec'->tmpdir . '/mail-gpg-test'
135 17 56 0 not defined $encoding or $encoding =~ /^(quoted-printable|base64|7bit)\s*$/i
293 11983 0 137 $stdin_watcher || $data_watcher
440 48 0 226 $fields[1] and $fields[1] =~ /^([eird])$/ or $fields[11] and $fields[11] =~ /([D])/
443 0 0 48 $verbose or $debug
449 51 59 116 $tag eq 'pub' or $tag eq 'FLUSH'
452 0 0 59 @ids or @emails
494 59 12 39 not defined $fields[9] or $fields[9] =~ /^\s*$/
807 8 14 0 $_no_sign or defined $passphrase
1658 16 22 16 $entity->effective_type eq 'multipart/signed' or $entity->effective_type eq 'multipart/encrypted'

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1484 0 10 10 0 $mail_fh xor $mail_sref
1642 0 54 0 0 $mail_fh xor $mail_sref