Condition Coverage

blib/lib/GnuPG/Interface.pm
Criterion Covered Total %
condition 46 62 74.1


and 3 conditions

line !l l&&!r l&&r condition
113 54 0 187 $self->passphrase =~ /\S/ && !$handles->passphrase
149 49 71 121 $handles->passphrase and $self->version
120 121 0 $handles->passphrase and $self->version and $self->cmp_version($self->version, "2.2") > 0
166 197 0 44 @command_args and $command_args[0] ne "--"
258 0 39 16 $stdout->parent_end ne $stderr->parent_end and $stderr->direct
39 16 0 $stdout->parent_end ne $stderr->parent_end and $stderr->direct and my_fileno($stderr->parent_end) == my_fileno($standard_out)
342 5 49 1 $self->version and $self->cmp_version($self->version, "2.2") >= 0
54 1 0 $self->version and $self->cmp_version($self->version, "2.2") >= 0 and $commands[0] =~ /^--delete-secret-.*keys?$/
484 4 0 0 $record_type ne "tru" and $record_type ne "grp"
834 0 0 97 $self->cmp_version($version, "1.4") >= 0 and $self->cmp_version($version, "1.5") < 0

or 2 conditions

line l !l condition
202 30 639 $name_shows_dup || $handles->options($fh_name)->{'direct'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
153 230 11 0 $args{'commands'} ||= $args{'gnupg_commands'}
160 33 11 197 $args{'command_args'} ||= $args{'gnupg_command_args'}
165 20 120 77 $args{'command_args'} || ()
484 4 1 70 $record_type eq "pub" or $record_type eq "sec"
9 0 51 $record_type eq "sig" or $record_type eq "rev"
4 1 36 $record_type eq "sub" or $record_type eq "ssb"
570 1 7 1 $current_signed_item->isa("GnuPG::Key") or $current_signed_item->isa("GnuPG::UserId")
8 1 0 $current_signed_item->isa("GnuPG::Key") or $current_signed_item->isa("GnuPG::UserId") or $current_signed_item->isa("GnuPG::Revoker")
8 0 0 $current_signed_item->isa("GnuPG::Key") or $current_signed_item->isa("GnuPG::UserId") or $current_signed_item->isa("GnuPG::Revoker") or $current_signed_item->isa("GnuPG::UserAttribute")
834 11 97 0 $self->cmp_version($version, "2.2") >= 0 or $self->cmp_version($version, "1.4") >= 0 and $self->cmp_version($version, "1.5") < 0