Condition Coverage

blib/lib/EMDIS/ECS/Config.pm
Criterion Covered Total %
condition 33 51 64.7


and 3 conditions

line !l l&&!r l&&r condition
141 162 324 0 $#fields >= 0 and $fields[$#fields] =~ /\\$/
237 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})
245 0 0 14 exists $this->{$attr} and not file_name_is_absolute($this->{$attr})
550 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})
558 5 1 1 is_yes($this->{'INBOX_USE_SSL'}) and is_yes($this->{'INBOX_USE_STARTTLS'})
565 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'})
573 5 1 1 is_yes($this->{'SMTP_USE_SSL'}) and is_yes($this->{'SMTP_USE_STARTTLS'})
580 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'})
600 5 70 8 exists $this->{$dir} and not -d $this->{$dir}

or 3 conditions

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