Condition Coverage

blib/lib/EMDIS/ECS/Config.pm
Criterion Covered Total %
condition 35 54 64.8


and 3 conditions

line !l l&&!r l&&r condition
141 162 324 0 $#fields >= 0 and $fields[$#fields] =~ /\\$/
235 49 7 0 $attr eq "LOG_FILE" and $this->{$attr} eq "__STDOUT__"
240 17 0 39 exists $this->{$attr} and not $this->{$attr} eq ""
17 11 28 exists $this->{$attr} and not $this->{$attr} eq "" and not file_name_is_absolute($this->{$attr})
248 0 0 14 exists $this->{$attr} and not file_name_is_absolute($this->{$attr})
553 0 7 28 exists $this->{$name} and not is_yes($this->{$name})
7 23 5 exists $this->{$name} and not is_yes($this->{$name}) and not is_no($this->{$name})
561 5 1 1 is_yes($this->{'INBOX_USE_SSL'}) and is_yes($this->{'INBOX_USE_STARTTLS'})
568 7 0 0 exists $this->{'INBOX_OAUTH_TOKEN_CMD'} and not is_yes($this->{'INBOX_USE_SSL'})
7 0 0 exists $this->{'INBOX_OAUTH_TOKEN_CMD'} and not is_yes($this->{'INBOX_USE_SSL'}) and not is_yes($this->{'INBOX_USE_STARTTLS'})
576 5 1 1 is_yes($this->{'SMTP_USE_SSL'}) and is_yes($this->{'SMTP_USE_STARTTLS'})
583 7 0 0 exists $this->{'SMTP_OAUTH_TOKEN_CMD'} and not is_yes($this->{'SMTP_USE_SSL'})
7 0 0 exists $this->{'SMTP_OAUTH_TOKEN_CMD'} and not is_yes($this->{'SMTP_USE_SSL'}) and not is_yes($this->{'SMTP_USE_STARTTLS'})
603 5 70 8 exists $this->{$dir} and not -d $this->{$dir}

or 3 conditions

line l !l&&r !l&&!r condition
253 6 0 1 not defined $this->{'ECS_TO_DIR'} or $this->{'ECS_TO_DIR'} eq ""
416 0 0 7 $this->{'INBOX_PROTOCOL'} =~ /DIRECTORY/i or exists $this->{'INBOX_OAUTH_TOKEN_CMD'}
488 6 0 1 exists $this->{'GPG_HOMEDIR'} or exists $this->{'PGP_HOMEDIR'}
599 6 0 1 not defined $this->{'ECS_TO_DIR'} or $this->{'ECS_TO_DIR'} eq ""