Condition Coverage

blib/lib/Validator/LIVR/Rules/Numeric.pm
Criterion Covered Total %
condition 27 39 69.2


and 3 conditions

line !l l&&!r l&&r condition
17 2 0 3 $value =~ /^\-?\d+$/ and &looks_like_number($value)
30 14 0 76 $value =~ /^\d+$/ and &looks_like_number($value)
14 4 72 $value =~ /^\d+$/ and &looks_like_number($value) and $value > 0
45 0 0 3 $value =~ /^\-?[\d.]+$/ and &looks_like_number($value)
61 0 0 6 $value =~ /^\-?[\d.]+$/ and &looks_like_number($value)
0 2 4 $value =~ /^\-?[\d.]+$/ and &looks_like_number($value) and $value > 0

or 3 conditions

line l !l&&r !l&&!r condition
13 1 2 11 not defined $value or $value eq ''
26 7 3 99 not defined $value or $value eq ''
41 0 2 11 not defined $value or $value eq ''
56 0 2 12 not defined $value or $value eq ''
75 0 2 22 not defined $value or $value eq ''
90 0 2 40 not defined $value or $value eq ''
105 0 2 10 not defined $value or $value eq ''