Branch Coverage

blib/lib/HTML/FormFu/Constraint/File/Size.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
35 1 7 if not defined $value or $value eq ''
37 3 4 unless &blessed($value) and $value->isa('HTML::FormFu::Upload')
44 3 1 if (defined $min)
45 1 2 if $size < $min
48 2 1 if (defined $max)
49 0 2 if $size > $max
64 0 0 if @_ != 2
73 0 0 if @_ != 2
82 0 0 if @_ != 2
91 0 0 if @_ != 2