Branch Coverage

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


line true false branch
143 47 862 if $argv1 =~ /$regex/
157 172 575 unless $argvs->deliverystatus
158 0 575 if $argvs->reason eq "spamdetected"
159 0 575 if ('Sisimai::SMTP::Status'->name($argvs->deliverystatus) || '') eq "spamdetected"
164 161 414 if $argvs->{'smtpcommand'} =~ /\A(?:CONN|EHLO|HELO|MAIL|RCPT)\z/
165 36 378 if "Sisimai::Reason::SpamDetected"->match(lc $argvs->diagnosticcode)