Condition Coverage

blib/lib/FormValidator/Simple/Struct/Regex.pm
Criterion Covered Total %
condition 18 22 81.8


and 3 conditions

line !l l&&!r l&&r condition
15 1 6 73 defined $s and length $s > 0
116 2 2 3 $len >= $min and $len <= $max
129 1 1 1 length $integer_value <= $integer and length $decimal_value <= $decimal
138 4 3 10 $s >= $min and $s <= $max

or 2 conditions

line l !l condition
126 3 0 $integer_value ||= ''
127 3 0 $decimal_value ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
110 0 2 7 $s eq '0' || $s eq '1'
116 2 0 7 $len == 0 or $len >= $min and $len <= $max