blib/lib/HTML/FormFu/Constraint/File/MIME.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 3 | if not defined $value or $value eq '' |
21 | 1 | 2 | unless &blessed($value) and $value->isa('HTML::FormFu::Upload') |
27 | 1 | 1 | if (defined $types) |
28 | 0 | 1 | if (ref $types ne 'ARRAY') |
32 | 1 | 0 | if &any(sub { $input eq $_; } , @$types) |
35 | 1 | 0 | if (defined $regex) |