line |
!l |
l&&!r |
l&&r |
condition |
23
|
4 |
1937 |
1 |
defined $specs and ref $specs ne 'HASH' |
34
|
4 |
0 |
1937 |
defined $specs and keys %$specs |
355
|
14221 |
1896 |
0 |
exists $spec->{'of'} and not $self->validate_specs({'of', $spec->{'of'}}, \(my $r = 0), $p2v, $all_errors) |
381
|
16344 |
1 |
34 |
exists $spec->{'required'} and $spec->{'required'} |
410
|
14523 |
0 |
18694 |
exists $spec->{'required'} and $spec->{'required'} |
432
|
11 |
0 |
11 |
exists $spec->{'required'} and $spec->{'required'} |
448
|
37032 |
0 |
546 |
exists $spec->{'undef'} && $spec->{'undef'} |
452
|
37032 |
199 |
347 |
$undef and not defined $value |
539
|
31861 |
24 |
2843 |
exists $spec->{'of'} and $type ne 'spec' |
572
|
2397 |
264 |
48 |
$type eq 'array' and not @$value |
|
264 |
2362 |
35 |
$type eq 'hash' and not %$value |
574
|
63 |
0 |
20 |
exists $spec->{'empty'} and $spec->{'empty'} |
600
|
92 |
44 |
74 |
$_[0]->number($_[1]) && $_[1] > 0 |
604
|
92 |
31 |
106 |
$_[0]->number($_[1]) && $_[1] >= 0 |
608
|
92 |
62 |
74 |
$_[0]->number($_[1]) && $_[1] < 0 |
612
|
92 |
31 |
106 |
$_[0]->number($_[1]) && $_[1] <= 0 |
628
|
124 |
63 |
88 |
$_[0]->integer($_[1]) && $_[1] < 0 |
632
|
124 |
32 |
120 |
$_[0]->integer($_[1]) && $_[1] <= 0 |
648
|
33 |
7 |
16405 |
$_[0]->string($_[1]) && exists $_[2]{$_[1]} |