Branch Coverage

lib/Sisimai/Reason/SpamDetected.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
147 47 907 if $argv1 =~ /$regex/
161 172 555 unless $argvs->deliverystatus
162 0 555 if $argvs->reason eq "spamdetected"
163 0 555 if ('Sisimai::SMTP::Status'->name($argvs->deliverystatus) || '') eq "spamdetected"
168 151 404 if $argvs->{'smtpcommand'} =~ /\A(?:CONN|EHLO|HELO|MAIL|RCPT)\z/
169 36 368 if "Sisimai::Reason::SpamDetected"->match(lc $argvs->diagnosticcode)