Branch Coverage

blib/lib/FormValidator/LazyWay/Rule/Number.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
10 1 4 if $num > $$args{'max'}
11 1 3 if $num < $$args{'min'}
17 1 10 if $num eq '0'
18 6 4 $num =~ /^[-+]?[1-9][0-9]*$/ ? :
22 2 13 if $num eq '0'
23 6 7 $num =~ /^[1-9][0-9]*$/ ? :
28 9 4 $num =~ /^[-+]?([1-9][0-9]*|0)(\.[0-9]+)?$/ ? :
33 5 7 $num =~ /^([1-9][0-9]*|0)(\.[0-9]+)?$/ ? :