blib/lib/Validation/Class/Directive/State.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
83 | 46 | 0 | if (defined $field->{'state'} and defined $param) |
85 | 46 | 0 | if ($field->{'required'} or $param) |
97 | 46 | 0 | $type == 1 ? : |
0 | 46 | isa_arrayref($type) ? : | |
101 | 26 | 48 | if ($param =~ /$sre->{$_}/) |
108 | 20 | 26 | unless $is_valid |