Branch Coverage

blib/lib/HTML/FormFu/Constraint/File/MIME.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
20 1 3 if not defined $value or $value eq ''
22 1 2 unless &blessed($value) and $value->isa('HTML::FormFu::Upload')
28 1 1 if (defined $types)
29 0 1 if (ref $types ne 'ARRAY')
33 1 0 if &any(sub { $input eq $_; } , @$types)
36 1 0 if (defined $regex)