line |
true |
false |
branch |
46
|
5 |
168 |
if (my $formatter = delete $self->{'formatter'}) |
50
|
12 |
161 |
if (my $ipc = $self->{'ipc'}) |
73
|
59 |
1 |
unless $self->{'_formatter'} or exists $params{'formatter'} |
75
|
25 |
1 |
if ($from->{'ipc'} and not $self->{'ipc'} and not exists $params{'ipc'}) |
81
|
9 |
51 |
if (my $ls = $from->{'_listeners'}) |
85
|
12 |
48 |
if (my $fs = $from->{'_filters'}) |
94
|
122 |
134 |
if @_ |
110
|
0 |
59 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
112
|
1 |
58 |
unless ref $sub and ref $sub eq 'CODE' |
124
|
0 |
1 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
136
|
0 |
11 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
138
|
1 |
10 |
unless ref $sub and ref $sub eq 'CODE' |
149
|
0 |
2 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
158
|
1 |
3 |
unless ref $sub and ref $sub eq 'CODE' |
177
|
0 |
4 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
179
|
2 |
2 |
unless ref $sub and ref $sub eq 'CODE' |
190
|
0 |
1 |
unless ref $sub and ref $sub eq 'CODE' |
209
|
0 |
1 |
unless ref $sub and ref $sub eq 'CODE' |
227
|
0 |
1 |
unless ref $sub and ref $sub eq 'CODE' |
245
|
6 |
1243 |
if ($self->{'_pre_filters'}) |
248
|
3 |
5 |
unless $e |
254
|
1 |
642 |
if ($e->global) |
260
|
11 |
631 |
if $$ != $self->{'pid'} or 0 != $self->{'tid'} |
269
|
18 |
1239 |
if ($self->{'_filters'}) |
272
|
9 |
8 |
unless $e |
279
|
96 |
167 |
$no_fail ? : |
|
985 |
263 |
$is_ok ? : |
281
|
1027 |
221 |
if $is_ok or not $no_fail and $e->increments_count |
282
|
26 |
1222 |
if $causes_fail |
284
|
167 |
1081 |
unless $is_ok or $no_fail |
288
|
982 |
266 |
if $self->{'_formatter'} |
290
|
277 |
971 |
if ($self->{'_listeners'}) |
294
|
1081 |
167 |
if $is_ok or $no_fail |
297
|
6 |
161 |
if defined $code |
312
|
6 |
64 |
if $self->{'pid'} != $$ or $self->{'tid'} != 0 |
329
|
14 |
7 |
unless $do_plan or defined $plan or $count or $failed |
331
|
95 |
3 |
unless ($self->{'ended'}) |
332
|
2 |
93 |
if ($self->{'_follow_ups'}) |
341
|
84 |
11 |
if ($plan and $plan eq 'NO PLAN' or $do_plan and not $plan) |
353
|
3 |
95 |
if ($self->{'ended'}) |
371
|
4 |
204 |
if @_ |
375
|
8 |
188 |
if $self->{'failed'} |
381
|
2 |
12 |
if not $count and $plan and $plan =~ /^SKIP$/ |
383
|
10 |
176 |
if $ended and not $count && $plan |
386
|
65 |
111 |
unless $plan and $plan =~ /^\d+$/ |
388
|
111 |
0 |
if ($ended) { } |
389
|
0 |
111 |
if $count != $plan |
392
|
0 |
0 |
if $count > $plan |
401
|
9 |
110 |
unless @_ |
405
|
0 |
110 |
unless defined $plan |
409
|
1 |
109 |
if $self->{'_plan'} and not $self->{'_plan'} =~ /^NO PLAN$/ |
411
|
1 |
108 |
unless $plan =~ /^(\d+|NO PLAN|SKIP)$/ |
420
|
0 |
40 |
unless $self->{'ended'} |
423
|
0 |
32 |
unless $plan =~ /^\d+$/ |
425
|
32 |
0 |
if $plan == $self->{'count'} |
432
|
1 |
50 |
unless $$ == $self->{'pid'} |
433
|
0 |
50 |
unless 0 == $self->{'tid'} |