| line |
!l |
l&&!r |
l&&r |
condition |
|
100
|
1 |
1 |
148 |
defined $name and not ref $name |
|
|
2 |
3 |
145 |
defined $name and not ref $name and $name =~ /$ID_REX/i |
|
133
|
7 |
2 |
0 |
defined $spec{$_} and croak("resource '${name}': 'literal' is incompatible with '${_}'") |
|
154
|
2 |
1 |
125 |
ref $spec{'init'} and builtin::reftype($spec{'init'}) eq $CODE |
|
174
|
120 |
1 |
2 |
defined $spec{'check'} and (builtin::reftype($spec{'check'}) // "") ne $CODE |
|
176
|
71 |
48 |
2 |
defined $spec{'cleanup'} and (builtin::reftype($spec{'cleanup'}) // "") ne $CODE |
|
178
|
102 |
15 |
2 |
defined $spec{'fork_cleanup'} and (builtin::reftype($spec{'fork_cleanup'}) // "") ne $CODE |
|
180
|
102 |
14 |
1 |
$spec{'fork_cleanup'} and $spec{'fork_safe'} |
|
230
|
12 |
1 |
0 |
defined $spec->{$_} and croak("resource '${name}': 'class' is incompatible with '${_}'") |
|
252
|
0 |
5 |
1 |
defined $entry and not ref $entry |
|
257
|
1 |
1 |
4 |
ref $entry eq "ARRAY" and @$entry <= 2 |
|
|
2 |
1 |
3 |
ref $entry eq "ARRAY" and @$entry <= 2 and ($entry->[0] // "") =~ /$ID_REX/ |
|
406
|
1 |
0 |
7 |
$res and $res->{'origin'} |