Branch Coverage

lib/Sisimai/Reason/SpamDetected.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
73 68 1420 if grep {rindex($argv1, $_) != -1;} @$index
74 42 1378 if grep {"Sisimai::String"->aligned(\$argv1, $_);} @$pairs
86 623 1193 unless $argvs->{'deliverystatus'}
88 1 1192 if $argvs->{'reason'} eq "spamdetected"
89 0 1192 if ('Sisimai::SMTP::Status'->name($argvs->{'deliverystatus'}) || '') eq "spamdetected"
94 394 798 if grep {$argvs->{'command'} eq $_;} @{"Sisimai::SMTP::Command"->ExceptDATA}