Branch Coverage

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


line true false branch
36 1 7 if not defined $value or $value eq ''
38 3 4 unless &blessed($value) and $value->isa('HTML::FormFu::Upload')
45 3 1 if (defined $min)
46 1 2 if $size < $min
49 2 1 if (defined $max)
50 0 2 if $size > $max
65 0 0 if @_ != 2
74 0 0 if @_ != 2
83 0 0 if @_ != 2
92 0 0 if @_ != 2