line |
true |
false |
branch |
36
|
0 |
1 |
unless (ref $sub_ref eq 'CODE') |
48
|
0 |
0 |
if (ref $sub_ref eq 'CODE') |
61
|
0 |
32 |
if ($type) { } |
81
|
41 |
96 |
unless defined $_ |
86
|
34 |
62 |
if (defined $b[0]) { } |
|
9 |
53 |
elsif (defined $field->valid_sub) { } |
|
53 |
0 |
elsif (defined $v) { } |
98
|
5 |
4 |
if (defined $r and $r == 1) { } |
104
|
4 |
0 |
if (not defined $r or $r == 0) |
117
|
26 |
107 |
if ($missing and $field->required) |
122
|
82 |
51 |
unless $bad |
125
|
6 |
26 |
if ($$self{'vc'}) |
127
|
5 |
2 |
unless ref $_ eq 'ARRAY' |
134
|
12 |
20 |
if (scalar keys %{$errors;}) { } |
149
|
0 |
10 |
if (ref $c eq 'ARRAY') { } |
162
|
0 |
0 |
unless $$c{$a}{'seq'} cmp $$c{$b}{'seq'} |
168
|
3 |
7 |
unless (scalar @fields) |
176
|
0 |
28 |
unless (defined $$conf{'type'}) |
188
|
0 |
28 |
if ($@) |
193
|
0 |
28 |
if (defined $e[0]) |
201
|
0 |
7 |
if (@errors) |
212
|
4 |
129 |
if (ref $p eq 'ARRAY') { } |
213
|
3 |
1 |
if ($$def{'multiple'}) { } |
233
|
28 |
54 |
unless defined $v |
235
|
3 |
51 |
$$def{'multiple'} ? : |
242
|
40 |
97 |
unless defined $v |
247
|
96 |
1 |
length $v ? : |