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 49 0 187 $self->passphrase =~ /\S/ && !$handles->passphrase
149 44 71 121 $handles->passphrase and $self->version
115 121 0 $handles->passphrase and $self->version and $self->cmp_version($self->version, '2.2') > 0
166 192 0 44 @command_args and $command_args[0] ne '--'
258 0 39 14 $stdout->parent_end ne $stderr->parent_end and $stderr->direct
39 14 0 $stdout->parent_end ne $stderr->parent_end and $stderr->direct and my_fileno($stderr->parent_end) == my_fileno($standard_out)
342 4 48 1 $self->version and $self->cmp_version($self->version, 2.2) >= 0
52 1 0 $self->version and $self->cmp_version($self->version, 2.2) >= 0 and $commands[0] =~ /^--delete-secret-.*keys?$/
480 4 0 0 $record_type ne 'tru' and $record_type ne 'grp'
830 0 0 94 $self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
153 225 11 0 $args{'commands'} ||= $args{'gnupg_commands'}
160 33 11 192 $args{'command_args'} ||= $args{'gnupg_command_args'}
165 20 115 77 $args{'command_args'} || ()
480 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'
566 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')
830 11 94 0 $self->cmp_version($version, '2.2') >= 0 or $self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0