line |
true |
false |
branch |
27
|
0 |
0 |
unless defined $name |
36
|
0 |
0 |
unless defined $req_handler |
37
|
0 |
0 |
unless defined $run_all_handlers |
38
|
0 |
0 |
unless defined $allow_before_handler_to_cancel_event |
39
|
0 |
0 |
unless defined $allow_before_handler_to_skip_rest |
40
|
0 |
0 |
unless defined $allow_handler_to_skip_rest |
41
|
0 |
0 |
unless defined $allow_handler_to_repeat_event |
42
|
0 |
0 |
unless defined $allow_after_handler_to_repeat_event |
43
|
0 |
0 |
unless defined $allow_after_handler_to_skip_rest |
44
|
0 |
0 |
unless defined $stop_after_first_handler_failure |
50
|
0 |
0 |
if $name =~ /\A(after|before)_/ |
61
|
0 |
0 |
$is_success ? : |
63
|
0 |
0 |
if ($res->[0] == 601) |
64
|
0 |
0 |
if ($allow_before_handler_to_cancel_event) { } |
71
|
0 |
0 |
if ($res->[0] == 201) |
72
|
0 |
0 |
if ($allow_before_handler_to_skip_rest) { } |
88
|
0 |
0 |
if ($req_handler) |
90
|
0 |
0 |
unless @{$Handlers{$name};} |
101
|
0 |
0 |
$is_success ? : |
103
|
0 |
0 |
if $is_success and not $run_all_handlers |
104
|
0 |
0 |
if ($res->[0] == 601) |
107
|
0 |
0 |
if ($res->[0] == 602) |
108
|
0 |
0 |
if ($allow_handler_to_repeat_event) { } |
115
|
0 |
0 |
if ($res->[0] == 201) |
116
|
0 |
0 |
if ($allow_handler_to_skip_rest) { } |
123
|
0 |
0 |
if not $is_success and $stop_after_first_handler_failure |
127
|
0 |
0 |
if ($is_success and $args{'on_success'}) { } |
|
0 |
0 |
elsif (not $is_success and $args{'on_failure'}) { } |
137
|
0 |
0 |
if $name =~ /\A(after|before)_/ |
148
|
0 |
0 |
$is_success ? : |
150
|
0 |
0 |
if ($res->[0] == 602) |
151
|
0 |
0 |
if ($allow_after_handler_to_repeat_event) { } |
158
|
0 |
0 |
if ($res->[0] == 201) |
159
|
0 |
0 |
if ($allow_after_handler_to_skip_rest) { } |
189
|
0 |
0 |
unless $a->[1] <=> $b->[1] |
195
|
0 |
0 |
unless my($plugin_name, $wanted_event, $wanted_prio) = $plugin_name0 =~ /\A(\w+(?:::\w+)*)(?:\@(\w+)(?:\@(\d+))?)?\z/ |
210
|
0 |
0 |
unless $args |
223
|
0 |
0 |
@_ && ref $_[0] eq 'HASH' ? : |
236
|
0 |
6 |
ref $env eq 'ARRAY' ? : |
241
|
6 |
9 |
if ($el =~ /\A-(\w+(?:::\w+)*(?:\@.+)?)\z/) { } |
242
|
2 |
4 |
if (defined $plugin_name0) |
244
|
1 |
1 |
if @plugin_args |
248
|
3 |
3 |
unless (@elems) |
252
|
1 |
8 |
unless defined $plugin_name0 |
256
|
1 |
7 |
unless (@elems) |
258
|
1 |
0 |
if @plugin_args |
271
|
0 |
0 |
if $read_env |
274
|
0 |
0 |
unless defined $ENV{'SCRIPTX_IMPORT'} |
283
|
0 |
0 |
unless defined $ENV{'SCRIPTX_IMPORT_JSON'} |
293
|
0 |
0 |
if (@_ and $_[0] =~ /\A-/) { } |