| line |
true |
false |
branch |
|
20
|
1 |
1 |
ref $_[0] ? : |
|
30
|
0 |
2 |
unless $$self{'default_handler'} = $self->can('callhandler') |
|
31
|
0 |
2 |
if @_ % 2 == 1 |
|
33
|
1 |
1 |
if @_ |
|
34
|
1 |
1 |
unless $flags |
|
35
|
1 |
0 |
if ($$flags{'autoregister'}) |
|
38
|
0 |
1 |
if ($$flags{'plugins'}) |
|
50
|
0 |
6 |
unless ref $v |
|
51
|
6 |
0 |
unless ($$self{'api'}{$callback} and not $api{$callback}{'override_api'}) |
|
52
|
0 |
6 |
if $debug_register |
|
62
|
0 |
2 |
unless $caller |
|
63
|
0 |
2 |
if $debug_register |
|
65
|
0 |
6 |
if $debug_register |
|
67
|
0 |
6 |
if ($cref = $caller->can($callback)) |
|
68
|
0 |
0 |
if $debug_register |
|
80
|
0 |
21 |
if (ref $_[0]) |
|
86
|
0 |
21 |
if ($$options{'first'}) { } |
|
|
0 |
21 |
elsif ($$options{'replace'}) { } |
|
101
|
20 |
1 |
if ref $caller |
|
112
|
0 |
4 |
if ($$self{'plugins'}) |
|
115
|
0 |
0 |
unless $f |
|
117
|
0 |
0 |
if $$self{'disabled'}{refaddr $plugin} |
|
118
|
0 |
0 |
if $$self{'disabled'}{ref $plugin} |
|
119
|
0 |
0 |
if $debug_disable |
|
123
|
0 |
4 |
unless ($$self{'handlers'}{$callback} or $found) |
|
124
|
0 |
0 |
unless ($api) |
|
128
|
0 |
0 |
unless ($$api{'optional'}) |
|
133
|
1 |
3 |
if ($$self{'enabled'}{$callback}) { } |
|
138
|
1 |
8 |
if ref $obj and $$self{'disabled'}{ref $obj} || $$self{'disabled'}{refaddr $obj} |
|
139
|
0 |
8 |
if $debug_disable and ref $obj |
|
144
|
0 |
4 |
if $debug_disable |
|
153
|
0 |
4 |
$api && $$api{'callhandler'} ? : |
|
166
|
0 |
9 |
if ($$api{'first_only'}) |
|
169
|
8 |
1 |
if (wantarray) { } |
|
174
|
1 |
8 |
if defined $r[0] and $$api{'first_defined'} |
|
175
|
0 |
8 |
if ($$api{'exit_test'}) |
|
178
|
0 |
0 |
if $q |
|
183
|
3 |
0 |
if $$api{'combine_returns'} |
|
184
|
0 |
0 |
if $$api{'array_return'} |
|
185
|
0 |
0 |
if wantarray |
|
192
|
1 |
0 |
ref $plugin ? : |
|
195
|
0 |
1 |
if $debug_disable |
|
204
|
1 |
0 |
if @_ > 1 |
|
217
|
0 |
2 |
unless $auto =~ s/^$ref::// |
|
218
|
2 |
0 |
if ($$self{'plugins'} or $$self{'api'}{$auto} or $$self{'handlers'}{$auto}) |
|
241
|
0 |
9 |
unless $$self[0] |