line |
!l |
l&&!r |
l&&r |
condition |
91
|
89 |
47 |
0 |
$rules->{$_}{'required'} and !defined($params->{$_}) || $params->{$_} eq '' |
117
|
28 |
3 |
3 |
exists $param_rules->{$_}{'default'} and ref $param_rules->{$_}{'default'} eq 'CODE' |
139
|
147 |
2 |
0 |
scalar @refs == 0 and $self->{'ignore_missing'} |
140
|
0 |
147 |
0 |
scalar @refs and $self->{'ignore_missing'} |
177
|
90 |
0 |
17 |
$parse and ref $parse eq 'CODE' |
259
|
84 |
68 |
0 |
not $validations->{'required'} and !defined($value) || $value eq '' |
260
|
66 |
84 |
0 |
$validations->{'required'} and !defined($value) || $value eq '' |
264
|
146 |
0 |
1 |
$validations->{'forbidden'} and defined $value |
|
146 |
0 |
1 |
$validations->{'forbidden'} and defined $value and $value ne '' |
292
|
213 |
64 |
29 |
$type and $type eq 'array' |
|
277 |
20 |
9 |
$type and $type eq 'array' and $v eq 'values' |
293
|
213 |
20 |
64 |
$type and $type eq 'hash' |
|
233 |
35 |
29 |
$type and $type eq 'hash' and $v eq 'keys' |
300
|
250 |
0 |
18 |
$v eq 'validate' and ref $validations->{$v} eq 'CODE' |
|
1 |
249 |
0 |
exists $self->{'_custom_validations'} and exists $self->{'_custom_validations'}{$v} |
|
240 |
0 |
9 |
exists $self->{'_custom_validations'} and exists $self->{'_custom_validations'}{$v} and ref $self->{'_custom_validations'}{$v} eq 'CODE' |
379
|
2 |
217 |
0 |
scalar @_ and ref $_[0] eq 'HASH' || ref $_[0] eq 'Brannigan::Tree' |
397
|
51 |
2 |
0 |
$k eq 'forbidden' and $_->{$k} |
|
37 |
14 |
0 |
$k eq 'required' and $_->{$k} |