Condition Coverage

lib/Sisimai/Reason.pm
Criterion Covered Total %
condition 49 66 74.2


and 3 conditions

line !l l&&!r l&&r condition
75 398 1999 0 not exists $$GetRetried{$argvs->{'reason'}} and $argvs->{'reason'}

or 2 conditions

line l !l condition
38 3651 5627 shift() || (return 0)
71 2397 1 shift() // (return "")
79 2385 10 $argvs->{'diagnosticcode'} || ''
80 2395 0 $argvs->{'diagnostictype'} || ''
99 52 0 $reasontext ||= "expired"
105 0 27 $reasontext ||= "onhold"
106 27 10 $reasontext ||= "undefined"
117 631 1 shift() // (return "")
120 486 0 lc $argvs->{'diagnosticcode'} // ""
121 486 0 $argvs->{'diagnostictype'} // ""
122 486 0 $argvs->{'action'} // ""
123 486 0 $argvs->{'deliverystatus'} // ""
124 245 241 'Sisimai::SMTP::Status'->name($statuscode) || ''
142 72 16 substr($statuscode, 0, 3) || ''
169 58 0 $argvs->{'command'} // ""
185 188 1 shift() // (return "")
210 30 14 'Sisimai::SMTP::Status'->find($argv1) || ''
211 28 16 'Sisimai::SMTP::Status'->name($cv) || 'undefined'

or 3 conditions

line l !l&&r !l&&!r condition
40 10 43 3598 $argv1 eq "undefined" or $argv1 eq "onhold"
53 0 3598 $argv1 eq "undefined" or $argv1 eq "onhold" or $argv1 eq ""
81 2329 0 66 $codeformat eq "SMTP" or $codeformat eq ""
95 1764 0 631 $reasontext or $reasontext eq "undefined"
126 200 31 255 exists $GetRetried->{$reasontext} or $codeformat ne "SMTP"
143 0 0 88 $code2digit eq "5.6" or $code2digit eq "4.6"
0 0 88 $code2digit eq "5.7" or $code2digit eq "4.7"
163 10 0 58 CORE::index($actiontext, "delayed") == 0 or CORE::index($actiontext, "expired") == 0
170 5 16 37 $thecommand eq "EHLO" or $thecommand eq "HELO"