Condition Coverage

lib/Sisimai/Lhost/SendGrid.pm
Criterion Covered Total %
condition 9 22 40.9


or 2 conditions

line l !l condition
16 223 1 shift() // (return undef)
17 223 0 shift() // (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
143 11 0 5 $e->{'status'} eq "5.0.0" or $e->{'status'} eq "4.0.0"
146 11 0 0 'Sisimai::SMTP::Status'->find($e->{'diagnosis'}) || $e->{'status'}
152 0 0 0 not $e->{'status'} or substr($e->{'status'}, -4, 4) eq ".0.0"
155 0 0 0 'Sisimai::SMTP::Status'->code('expired') || $e->{'status'}
158 0 0 16 $e->{'lhost'} ||= $permessage->{'rhost'}
159 0 11 5 $e->{'command'} ||= $commandtxt