line |
!l |
l&&!r |
l&&r |
condition |
100
|
89 |
47 |
0 |
$$rules{$_}{'required'} and !defined($$params{$_}) || $$params{$_} eq '' |
126
|
28 |
3 |
3 |
exists $$param_rules{$_}{'default'} and ref $$param_rules{$_}{'default'} eq 'CODE' |
148
|
147 |
0 |
2 |
scalar @refs == 0 and $$self{'ignore_missing'} |
149
|
0 |
2 |
145 |
scalar @refs and $$self{'ignore_missing'} |
186
|
90 |
0 |
17 |
$parse and ref $parse eq 'CODE' |
268
|
84 |
68 |
0 |
not $$validations{'required'} and !defined($value) || $value eq '' |
269
|
66 |
84 |
0 |
$$validations{'required'} and !defined($value) || $value eq '' |
273
|
146 |
0 |
1 |
$$validations{'forbidden'} and defined $value |
|
146 |
0 |
1 |
$$validations{'forbidden'} and defined $value and $value ne '' |
301
|
213 |
64 |
29 |
$type and $type eq 'array' |
|
277 |
20 |
9 |
$type and $type eq 'array' and $v eq 'values' |
302
|
213 |
20 |
64 |
$type and $type eq 'hash' |
|
233 |
35 |
29 |
$type and $type eq 'hash' and $v eq 'keys' |
309
|
250 |
0 |
18 |
$v eq 'validate' and ref $$validations{$v} eq 'CODE' |
|
1 |
240 |
9 |
exists $$self{'_custom_validations'} and exists $$self{'_custom_validations'}{$v} |
|
241 |
0 |
9 |
exists $$self{'_custom_validations'} and exists $$self{'_custom_validations'}{$v} and ref $$self{'_custom_validations'}{$v} eq 'CODE' |
388
|
2 |
217 |
0 |
scalar @_ and ref $_[0] eq 'HASH' || ref $_[0] eq 'Brannigan::Tree' |
406
|
51 |
0 |
2 |
$k eq 'forbidden' and $$_{$k} |
|
37 |
8 |
6 |
$k eq 'required' and $$_{$k} |