blib/lib/Mail/Exim/Blacklist/Attachments.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
216 | 9 | 0 | if ($filename =~ /[.]\h*([^.]+)\z/u) |
220 | 5 | 4 | if (exists $BLOCKLIST{$extension}) |
225 | 2 | 2 | if ($extension =~ /\A[r\d]\d{2,}\z/u) |
238 | 3 | 1 | if (defined $header) |
251 | 4 | 0 | if (defined $zip) |
256 | 3 | 1 | if (defined $filename) { } |
262 | 3 | 1 | if ($result ne "ok") |