Condition Coverage

lib/Sisimai/Reason.pm
Criterion Covered Total %
condition 30 43 69.7


or 2 conditions

line l !l condition
61 2099 1 shift() // (return undef)
90 45 0 $reasontext ||= "expired"
96 0 21 $reasontext ||= "onhold"
97 21 10 $reasontext ||= "undefined"
109 580 1 shift() // (return undef)
115 493 0 $argvs->deliverystatus // ""
116 236 257 'Sisimai::SMTP::Status'->name($statuscode) || ''
119 493 0 lc $argvs->diagnosticcode // ""
121 0 107 $trytomatch ||= 1
122 45 15 $trytomatch ||= 1
163 36 0 $argvs->smtpcommand // ""
179 186 0 shift() // (return undef)
205 24 18 'Sisimai::SMTP::Status'->find($argv1) || ''
206 20 22 'Sisimai::SMTP::Status'->name($statuscode) || 'undefined'

or 3 conditions

line l !l&&r !l&&!r condition
72 2016 0 81 $argvs->diagnostictype eq "SMTP" or $argvs->diagnostictype eq ""
86 1517 0 580 $reasontext or $reasontext eq "undefined"
138 0 0 75 $v eq "5.7" or $v eq "4.7"
14 0 61 $argvs->diagnostictype eq "X-UNIX" or $argvs->diagnostictype eq "X-POSTFIX"
164 5 0 31 $commandtxt eq "EHLO" or $commandtxt eq "HELO"