Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
76 243 2252 0 not exists $$GetRetried{$argvs->{'reason'}} and $argvs->{'reason'}

or 2 conditions

line l !l condition
39 3734 5823 shift() || (return 0)
72 2495 1 shift() // (return "")
80 2483 10 $argvs->{'diagnosticcode'} || ''
81 2493 0 $argvs->{'diagnostictype'} || ''
100 52 0 $reasontext ||= "expired"
106 0 32 $reasontext ||= "onhold"
107 32 10 $reasontext ||= "undefined"
118 658 1 shift() // (return "")
121 628 0 lc $argvs->{'diagnosticcode'} // ""
122 628 0 $argvs->{'diagnostictype'} // ""
123 628 0 $argvs->{'action'} // ""
124 628 0 $argvs->{'deliverystatus'} // ""
125 240 388 'Sisimai::SMTP::Status'->name($statuscode) || ''
143 67 16 substr($statuscode, 0, 3) || ''
170 63 0 $argvs->{'command'} // ""
186 188 1 shift() // (return "")
211 30 14 'Sisimai::SMTP::Status'->find($argv1) || ''
212 28 16 'Sisimai::SMTP::Status'->name($cv) || 'undefined'

or 3 conditions

line l !l&&r !l&&!r condition
41 10 53 3671 $argv1 eq "undefined" or $argv1 eq "onhold"
63 0 3671 $argv1 eq "undefined" or $argv1 eq "onhold" or $argv1 eq ""
82 2422 0 71 $codeformat eq "SMTP" or $codeformat eq ""
96 1835 0 658 $reasontext or $reasontext eq "undefined"
127 205 36 387 exists $GetRetried->{$reasontext} or $codeformat ne "SMTP"
144 0 0 83 $code2digit eq "5.6" or $code2digit eq "4.6"
0 0 83 $code2digit eq "5.7" or $code2digit eq "4.7"
164 5 0 63 CORE::index($actiontext, "delayed") == 0 or CORE::index($actiontext, "expired") == 0
171 5 16 42 $thecommand eq "EHLO" or $thecommand eq "HELO"