Condition Coverage

blib/lib/EMDIS/ECS.pm
Criterion Covered Total %
condition 6 66 9.0


and 3 conditions

line !l l&&!r l&&r condition
193 0 0 0 $level < $cfg->LOG_LEVEL and not $cfg->ECS_DEBUG
336 0 0 0 $err and not $_[$#_] =~ /Unable to send admin email/iso
361 0 0 0 $seq_num and not $node_id
531 0 0 0 $cfg->SMTP_USERNAME and $cfg->SMTP_PASSWORD
695 0 0 0 defined $encr_out_passphrase && 0 < length $encr_out_passphrase
0 0 0 defined $cfg->GPG_PASSPHRASE && (0 < length $cfg->GPG_PASSPHRASE ? $cfg->GPG_PASSPHRASE : undef)
703 0 0 0 defined $required_signature and not $result
730 0 0 0 defined $encr_out_keyid && 0 < length $encr_out_keyid
744 0 0 0 defined $encr_out_passphrase && 0 < length $encr_out_passphrase
0 0 0 defined $cfg->GPG_PASSPHRASE && (0 < length $cfg->GPG_PASSPHRASE ? $cfg->GPG_PASSPHRASE : undef)
777 0 0 0 defined $encr_out_passphrase && 0 < length $encr_out_passphrase
786 0 0 0 defined $required_signature and not $result
813 0 0 0 defined $encr_out_keyid && 0 < length $encr_out_keyid
825 0 0 0 defined $encr_out_passphrase && 0 < length $encr_out_passphrase
1051 0 0 0 not defined $pid and $@ =~ /^open2/
1073 0 0 0 $result and $#msgs >= 0

or 3 conditions

line l !l&&r !l&&!r condition
79 17 1 36 $val =~ /^\s*YES\s*$/io or $val =~ /^\s*TRUE\s*$/io
89 14 1 7 $val =~ /^\s*NO\s*$/io or $val =~ /^\s*FALSE\s*$/io
191 0 0 0 not defined $level or $level < 0
0 0 0 not defined $level or $level < 0 or $level > $#EMDIS::ECS::LOG_LEVEL
456 0 0 0 $seq_num || $node->{'encr_meta'} =~ /true/i
501 0 0 0 is_yes($cfg->SMTP_USE_SSL) or is_yes($cfg->SMTP_USE_STARTTLS)