Condition Coverage

lib/Sisimai/Reason.pm
Criterion Covered Total %
condition 30 45 66.6


or 2 conditions

line l !l condition
61 2063 1 shift() // (return undef)
90 45 0 $reasontext ||= "expired"
96 0 21 $reasontext ||= "onhold"
97 21 10 $reasontext ||= "undefined"
109 570 1 shift() // (return undef)
115 483 0 $argvs->deliverystatus // ""
116 231 252 'Sisimai::SMTP::Status'->name($statuscode) || ''
119 483 0 lc $argvs->diagnosticcode // ""
121 0 80 $trytomatch ||= 1
122 0 102 $trytomatch ||= 1
123 60 0 $trytomatch ||= 1
164 36 0 $argvs->smtpcommand // ""
180 186 0 shift() // (return undef)
206 24 18 'Sisimai::SMTP::Status'->find($argv1) || ''
207 20 22 'Sisimai::SMTP::Status'->name($statuscode) || 'undefined'

or 3 conditions

line l !l&&r !l&&!r condition
72 1980 0 81 $argvs->diagnostictype eq "SMTP" or $argvs->diagnostictype eq ""
86 1491 0 570 $reasontext or $reasontext eq "undefined"
139 0 0 70 $v eq "5.7" or $v eq "4.7"
14 0 56 $argvs->diagnostictype eq "X-UNIX" or $argvs->diagnostictype eq "X-POSTFIX"
165 5 0 31 $commandtxt eq "EHLO" or $commandtxt eq "HELO"