Condition Coverage

blib/lib/Validator/LIVR/Rules/Numeric.pm
Criterion Covered Total %
condition 30 39 76.9


and 3 conditions

line !l l&&!r l&&r condition
15 3 0 3 $value =~ /^\-?\d+$/ and looks_like_number $value
26 13 0 65 $value =~ /^\d+$/ and looks_like_number $value
13 3 62 $value =~ /^\d+$/ and looks_like_number $value and $value > 0
39 2 1 3 $value =~ /^\-?[\d.]+$/ and looks_like_number $value
52 0 1 5 $value =~ /^\-?[\d.]+$/ and looks_like_number $value
1 2 3 $value =~ /^\-?[\d.]+$/ and looks_like_number $value and $value > 0

or 3 conditions

line l !l&&r !l&&!r condition
13 0 2 6 not defined $value or $value eq ''
24 2 3 78 not defined $value or $value eq ''
37 0 2 6 not defined $value or $value eq ''
50 0 2 6 not defined $value or $value eq ''
66 0 2 17 not defined $value or $value eq ''
79 0 2 30 not defined $value or $value eq ''
92 0 2 5 not defined $value or $value eq ''