line |
!l |
l&&!r |
l&&r |
condition |
89
|
335 |
30 |
0 |
$$self{'type'} eq 'bool' and $$self{'storage'} ne 'scalar' |
101
|
329 |
36 |
0 |
$$self{'check'} and not $check_type eq 'CODE' || $check_type =~ /(^|::)Regexp$/ || $check_type eq 'ARRAY' |
191
|
98 |
13 |
1 |
@_ == 1 and $self->requires_arg |
195
|
13 |
98 |
0 |
@_ > 1 and not $self->uses_arg |
228
|
74 |
3 |
1 |
$self->type eq 'bool' and @_ == 1 |
|
75 |
0 |
2 |
@_ == 1 and exists $$self{'default'} |
354
|
0 |
2 |
1 |
defined $value and $value =~ /^(1|true|yes)$/i |
|
0 |
0 |
2 |
defined $value and $value =~ /^(0|false|no)$/i |
397
|
4 |
0 |
0 |
not defined $value and grep {not defined $_;} @{$$self{'check'};} |
400
|
0 |
2 |
2 |
defined $value and grep {$_ eq $value;} @{$$self{'check'};} |