Branch Coverage

blib/lib/HTML/FormHandler/Field/Float.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
30 0 7 unless defined $value
37 0 0 unless defined $value
53 7 0 if ($value =~ /^-?([0-9]+)(\Q$symbol\E([0-9]+))?$/x) { }
55 7 0 defined $3 ? :
61 7 0 if (my $allowed_size = $field->size)
63 1 6 if $total_size > $allowed_size
68 6 0 if (my $allowed_precision = $field->precision)
69 1 5 if length $decimal_part > $allowed_precision