Condition Coverage

blib/lib/Brannigan/Validations.pm
Criterion Covered Total %
condition 25 32 78.1


and 3 conditions

line !l l&&!r l&&r condition
49 7 83 1 $boolean and not defined $value
65 1 0 1 defined $value && $boolean
80 1 2 2 $boolean && !$value
112 0 0 14 defined $min and $min >= 0
160 0 24 4 $boolean && !($value =~ /^\d+$/)
375 2 16 6 $sc <= $#chars and ord($chars[$sc]) - ord($chars[$fc]) == 1
409 2 16 6 $sc <= $#chars and $chars[$sc] eq $chars[$fc]

or 2 conditions

line l !l condition
445 0 0 $dict_files ||= []

or 3 conditions

line l !l&&r !l&&!r condition
96 10 3 12 $length < $min || $length > $max
114 0 5 9 !$value && $min || $length < $min
172 5 10 30 !defined($value) || $value < $min || $value > $max