Branch Coverage

blib/lib/HTML/CheckArgs/dollar.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
21 2 13 if ($$config{'required'} and !defined($value) || $value eq '') { }
1 12 elsif (not $$config{'required'} and !defined($value) || $value eq '') { }
30 1 11 unless ($value =~ /^[-+\$]?([0-9,]+(\.[0-9]*)?|\.[0-9]+)$/)
42 1 10 if (defined $min and $value < $min)
48 1 9 if (defined $max and $value > $max)
57 9 0 unless ($$config{'noclean'})
59 5 4 if ($value =~ /^[-+]?\d+$/)
63 1 8 if ($value =~ /^[-+]?\d+\.\d$/)
68 1 8 if ($parts[1])