| line |
true |
false |
branch |
|
13
|
1 |
25 |
unless @args |
|
30
|
28 |
29 |
unless ref $rule eq 'HASH' |
|
32
|
13 |
44 |
if (my $nested_rule = delete $rule->{'rule'}) |
|
33
|
1 |
12 |
if (ref $nested_rule eq 'HASH') { } |
|
|
1 |
11 |
elsif (ref $nested_rule ne 'ARRAY') { } |
|
43
|
2 |
10 |
if ($with) |
|
44
|
2 |
0 |
unless ref $with eq 'ARRAY' |
|
69
|
6 |
25 |
if (my $errors = $self->{'validator'}->clear_errors) |
|
72
|
8 |
1 |
$_parent_name ? : |
|
75
|
2 |
7 |
if ($type eq 'ExclusiveParameter') { } |
|
|
4 |
3 |
elsif ($type eq 'InvalidValue') { } |
|
|
3 |
0 |
elsif ($type eq 'MissingParameter') { } |
|
77
|
2 |
0 |
$_parent_name ? : |
|
86
|
3 |
0 |
if $_parent_name |
|
94
|
2 |
7 |
defined $other_name ? : |
|
106
|
0 |
15 |
unless exists $result->{$name} |
|
111
|
9 |
6 |
if (ref $result->{$name} eq 'ARRAY') { } |
|
116
|
1 |
9 |
$_parent_name ? : |
|
117
|
3 |
7 |
if (my $errors = $validator->errors) |
|
125
|
0 |
6 |
$_parent_name ? : |
|
128
|
2 |
10 |
if (my $errors = $validator->errors) { } |
|
141
|
9 |
14 |
unless my $errors = $self->errors |
|
152
|
4 |
15 |
$self->{'errors'} ? : |