blib/lib/FormValidator/Simple/Struct.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 29 | 68.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 200 | 0 | 0 | $$opt{'alias'} && $$opt{'alias'}{$meth} |
52 | 0 | 131 | 0 | $param and $rule |
82 | 0 | 8 | 1 | ref $$rule{$_} eq 'ARRAY' and ref $$rule{$_}[0] eq 'ARRAY' |
94 | 18 | 5 | 2 | @$rule != 1 and @$rule != @$param |
140 | 0 | 29 | 33 | $min and not $min =~ /^\d+\.\d+$|^\d+$/ |
143 | 37 | 18 | 7 | $max and not $max =~ /^\d+\.\d+$|^\d+$/ |
line | l | !l | condition |
---|---|---|---|
103 | 27 | 3 | $$param[$_] || '' |
105 | 22 | 0 | $$param[$_] || '' |
228 | 66 | 0 | $$self{'error_object'} ||= [] |
237 | 48 | 0 | $_[0]{'error_object'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
149 | 9 | 17 | 36 | $type eq 'LENGTH' or $type eq 'BETWEEN' |