blib/lib/GnuPG/Interface.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 41 | 56 | 73.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
113 | 49 | 0 | 174 | $self->passphrase =~ /\S/ && !$handles->passphrase |
149 | 44 | 67 | 112 | $handles->passphrase and $self->version |
111 | 112 | 0 | $handles->passphrase and $self->version and $self->cmp_version($self->version, '2.2') > 0 | |
166 | 188 | 0 | 35 | @command_args and $command_args[0] ne '--' |
258 | 0 | 36 | 14 | $stdout->parent_end ne $stderr->parent_end and $stderr->direct |
36 | 14 | 0 | $stdout->parent_end ne $stderr->parent_end and $stderr->direct and my_fileno($stderr->parent_end) == my_fileno($standard_out) | |
473 | 4 | 0 | 0 | $record_type ne 'tru' and $record_type ne 'grp' |
823 | 0 | 0 | 90 | $self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 |
line | l | !l | condition |
---|---|---|---|
202 | 30 | 590 | $name_shows_dup || $handles->options($fh_name)->{'direct'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
153 | 221 | 2 | 0 | $args{'commands'} ||= $args{'gnupg_commands'} |
160 | 33 | 2 | 188 | $args{'command_args'} ||= $args{'gnupg_command_args'} |
165 | 20 | 111 | 77 | $args{'command_args'} || () |
473 | 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' | |
559 | 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') | |
823 | 11 | 90 | 0 | $self->cmp_version($version, '2.2') >= 0 or $self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 |