line |
true |
false |
branch |
21
|
1 |
0 |
unless (defined $supports_tables) |
48
|
1 |
362 |
if (my $enc = delete $self->{'encoding'}) |
69
|
2 |
1 |
if ($] ge '5.007003' and @_) |
76
|
2 |
0 |
if ($enc =~ /^utf-?8$/i) { } |
96
|
2799 |
2184 |
if $self->print_optimal_pass($e, $num) |
100
|
0 |
2184 |
if $f->{'control'}{'encoding'} |
102
|
216 |
1968 |
unless my(@tap) = $self->event_tap($f, $num) |
104
|
659 |
1309 |
if $f->{'assert'} |
111
|
2 |
1966 |
if $\ or $, |
115
|
0 |
2861 |
unless $msg |
116
|
0 |
2861 |
unless my $io = $handles->[$hid] |
121
|
17 |
26 |
if $ENV{'HARNESS_ACTIVE'} and $hid == 1 and $self->{'_last_fh'} != $io and $msg =~ /^#\s*Failed( \(TODO\))? test / |
124
|
502 |
2359 |
if $nesting |
136
|
2149 |
1636 |
unless $type eq 'Test2::Event::Pass' or $type eq 'Test2::Event::Ok' and $e->{'pass'} |
139
|
26 |
2820 |
if $e->{'amnesty'} and @{$e->{'amnesty'};} or defined $e->{'todo'} |
142
|
15 |
2460 |
if defined $e->{'name'} and -1 != index($e->{'name'}, "\n") || -1 != index($e->{'name'}, '#') |
145
|
2804 |
1 |
if $num and not $self->{'no_numbers'} |
146
|
2460 |
345 |
defined $e->{'name'} ? : |
148
|
89 |
2716 |
if (my $nesting = $e->{'trace'}{'nested'}) |
155
|
0 |
2805 |
if $\ or $, |
169
|
293 |
2663 |
if $f->{'plan'} and not $self->{'made_assertion'} |
172
|
1338 |
1618 |
if ($f->{'assert'}) |
174
|
17 |
670 |
unless $f->{'assert'}{'no_debug'} or $f->{'assert'}{'pass'} |
178
|
3 |
2953 |
if $f->{'errors'} |
181
|
913 |
2043 |
if $f->{'info'} |
185
|
201 |
2017 |
if $self->{'made_assertion'} and $f->{'plan'} |
188
|
7 |
2949 |
if $f->{'control'}{'halt'} |
190
|
2739 |
217 |
if @tap |
191
|
2 |
215 |
if $f->{'control'}{'halt'} |
192
|
4 |
211 |
if grep {$f->{$_};} 'assert', 'plan', 'info', 'errors' |
202
|
0 |
4 |
$f->{'amnesty'} && @{$f->{'amnesty'};} ? : |
208
|
1 |
5 |
if (ref $details) { } |
226
|
1 |
496 |
unless my $plan = $f->{'plan'} |
228
|
2 |
494 |
if $plan->{'none'} |
230
|
19 |
475 |
if ($plan->{'skip'}) |
231
|
3 |
16 |
unless my $reason = $plan->{'details'} |
244
|
0 |
1378 |
unless my $assert = $f->{'assert'} |
248
|
864 |
514 |
$pass ? : |
249
|
1339 |
39 |
if $num and not $self->{'no_numbers'} |
253
|
1321 |
57 |
if defined $name |
258
|
25 |
1353 |
@extra ? : |
262
|
343 |
1035 |
if ($f->{'amnesty'}) |
266
|
0 |
356 |
if $am->{'inherited'} |
267
|
0 |
356 |
unless my $tag = $am->{'tag'} |
268
|
46 |
310 |
if $tag eq 'skip' |
282
|
358 |
286 |
unless defined $directives{$tag} and length $directives{$tag} |
288
|
1293 |
85 |
if defined $name and not $is_skip && !$name |
291
|
88 |
86 |
if ($f->{'parent'} and $f->{'parent'}{'buffered'}) |
297
|
0 |
88 |
if ($ENV{'HARNESS_IS_VERBOSE'} or not $ENV{'HARNESS_ACTIVE'}) |
308
|
675 |
88 |
if $f2->{'assert'} |
318
|
343 |
1035 |
if ($directives) |
319
|
10 |
333 |
if $directives eq ' # TODO & skip' |
321
|
286 |
57 |
if defined $reason |
324
|
646 |
732 |
if $self->no_subtest_space |
327
|
25 |
1353 |
if @extra |
343
|
1 |
22 |
if ($trace->{'details'}) { } |
|
19 |
3 |
elsif ($trace->{'frame'}) { } |
348
|
19 |
0 |
if $file and $line |
351
|
3 |
20 |
$f->{'amnesty'} && @{$f->{'amnesty'};} ? : |
357
|
19 |
4 |
defined $name ? : |
361
|
3 |
20 |
$f->{'amnesty'} && @{$f->{'amnesty'};} ? : |
369
|
3 |
10 |
if $f->{'trace'}{'nested'} and not $f->{'trace'}{'buffered'} |
372
|
3 |
7 |
unless defined $details and length $details |
383
|
292 |
629 |
$_->{'debug'} && !($f->{'amnesty'} && @{$f->{'amnesty'};}) ? : |
386
|
0 |
921 |
if ($table and $self->supports_tables) { } |
|
2 |
919 |
elsif (ref $details) { } |
415
|
1 |
213 |
if $f->{'about'}{'no_display'} |
417
|
211 |
2 |
unless my $summary = $f->{'about'}{'details'} |
433
|
0 |
0 |
if $total < 50 |