line |
!l |
l&&!r |
l&&r |
condition |
81
|
1 |
1 |
98 |
defined $name and not ref $name |
|
2 |
3 |
95 |
defined $name and not ref $name and $name =~ /$ID_REX/i |
108
|
7 |
2 |
0 |
defined $spec{$_} and croak("resource '${name}': 'literal' is incompatible with '${_}'") |
147
|
2 |
1 |
74 |
ref $spec{'init'} and &reftype($spec{'init'}) eq $CODE |
170
|
69 |
3 |
0 |
$spec{'ignore_cache'} and defined $spec{'cleanup'} || defined $spec{'fork_cleanup'} || $spec{'cleanup_order'} != 0 |
174
|
62 |
6 |
2 |
defined $spec{'cleanup'} and (&reftype($spec{'cleanup'}) // "") ne $CODE |
176
|
64 |
2 |
2 |
defined $spec{'fork_cleanup'} and (&reftype($spec{'fork_cleanup'}) // "") ne $CODE |
206
|
12 |
1 |
0 |
defined $spec->{$_} and croak("resource '${name}': 'class' is incompatible with '${_}'") |
228
|
0 |
5 |
1 |
defined $entry and not ref $entry |
233
|
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/ |