Condition Coverage

lib/Sisimai/Lhost/GSuite.pm
Criterion Covered Total %
condition 30 51 58.8


and 3 conditions

line !l l&&!r l&&r condition
102 0 829 90 not $endoferror and $v->{'diagnosis'}
150 0 0 71 exists $anotherset->{'diagnosis'} and $anotherset->{'diagnosis'}
165 45 0 6 length $as > 0 and substr($as, -4, 4) ne ".0.0"
174 45 0 26 length $ar > 0 and substr($ar, -2, 2) ne "00"
180 45 0 20 $ar and length $anotherset->{'diagnosis'} > length $e->{'diagnosis'}

or 2 conditions

line l !l condition
16 688 1 shift() // (return undef)
17 688 0 shift() // (return undef)
104 0 0 $endoferror ||= 1
148 0 0 $permessage->{$_} || ''
164 6 45 'Sisimai::SMTP::Status'->find($anotherset->{'diagnosis'}) || ''
173 26 45 'Sisimai::SMTP::Reply'->find($anotherset->{'diagnosis'}) || ''

or 3 conditions

line l !l&&r !l&&!r condition
147 0 71 0 $e->{'lhost'} ||= $permessage->{'rhost'}
148 163 0 0 $e->{$_} ||= $permessage->{$_} || ''
152 66 5 0 $e->{'diagnosis'} ||= $anotherset->{'diagnosis'}
162 0 26 45 $e->{'status'} eq "" or $e->{'status'} eq "5.0.0"
26 25 20 $e->{'status'} eq "" or $e->{'status'} eq "5.0.0" or $e->{'status'} eq "4.0.0"
171 71 0 0 $e->{'replycode'} eq "" or $e->{'replycode'} eq 500
71 0 0 $e->{'replycode'} eq "" or $e->{'replycode'} eq 500 or $e->{'replycode'} eq 400
180 6 60 5 $as or $ar and length $anotherset->{'diagnosis'} > length $e->{'diagnosis'}