Condition Coverage

blib/lib/Kossy/Validator.pm
Criterion Covered Total %
condition 12 17 70.5


and 3 conditions

line !l l&&!r l&&r condition
86 0 16 5 ref $$rule[$i + 1] and ref $$rule[$i + 1] eq 'HASH'
87 3 0 2 not $param =~ /^@/ || $VALIDATOR{'NOT_NULL'}($req, $$vals[0]) and exists $$rule[$i + 1]{'default'}
89 1 0 1 ref $default and ref $default eq 'CODE'
103 9 0 2 ref $constraint_name and ref $constraint_name eq 'CODE'

or 2 conditions

line l !l condition
73 18 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
87 2 1 2 $param =~ /^@/ || $VALIDATOR{'NOT_NULL'}($req, $$vals[0])