line |
true |
false |
branch |
21
|
1 |
4 |
unless (defined $supports_tables)
|
48
|
1 |
363 |
if (my $enc = delete $self->{'encoding'})
|
69
|
2 |
1 |
if ($] ge '5.007003' and @_)
|
76
|
2 |
0 |
if ($enc =~ /^utf-?8$/i) { }
|
96
|
2813 |
2174 |
if $self->print_optimal_pass($e, $num)
|
100
|
0 |
2174 |
if $f->{'control'}{'encoding'}
|
102
|
216 |
1958 |
unless my(@tap) = $self->event_tap($f, $num)
|
104
|
646 |
1312 |
if $f->{'assert'}
|
111
|
2 |
1956 |
if $\ or $,
|
115
|
0 |
2858 |
unless $msg
|
116
|
0 |
2858 |
unless my $io = $handles->[$hid]
|
121
|
17 |
29 |
if $ENV{'HARNESS_ACTIVE'} and $hid == 1 and $self->{'_last_fh'} != $io and $msg =~ /^#\s*Failed( \(TODO\))? test /
|
124
|
504 |
2354 |
if $nesting
|
136
|
2139 |
1650 |
unless $type eq 'Test2::Event::Pass' or $type eq 'Test2::Event::Ok' and $e->{'pass'}
|
139
|
26 |
2834 |
if $e->{'amnesty'} and @{$e->{'amnesty'};} or defined $e->{'todo'}
|
142
|
15 |
2474 |
if defined $e->{'name'} and -1 != index($e->{'name'}, "\n") || -1 != index($e->{'name'}, '#')
|
145
|
2818 |
1 |
if $num and not $self->{'no_numbers'}
|
146
|
2474 |
345 |
defined $e->{'name'} ? :
|
148
|
89 |
2730 |
if (my $nesting = $e->{'trace'}{'nested'})
|
155
|
0 |
2819 |
if $\ or $,
|
169
|
293 |
2656 |
if $f->{'plan'} and not $self->{'made_assertion'}
|
172
|
1327 |
1622 |
if ($f->{'assert'})
|
174
|
17 |
672 |
unless $f->{'assert'}{'no_debug'} or $f->{'assert'}{'pass'}
|
178
|
3 |
2946 |
if $f->{'errors'}
|
181
|
916 |
2033 |
if $f->{'info'}
|
185
|
202 |
2006 |
if $self->{'made_assertion'} and $f->{'plan'}
|
188
|
7 |
2942 |
if $f->{'control'}{'halt'}
|
190
|
2732 |
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 |
497 |
unless my $plan = $f->{'plan'}
|
228
|
2 |
495 |
if $plan->{'none'}
|
230
|
19 |
476 |
if ($plan->{'skip'})
|
231
|
3 |
16 |
unless my $reason = $plan->{'details'}
|
244
|
0 |
1367 |
unless my $assert = $f->{'assert'}
|
248
|
853 |
514 |
$pass ? :
|
249
|
1328 |
39 |
if $num and not $self->{'no_numbers'}
|
253
|
1310 |
57 |
if defined $name
|
258
|
25 |
1342 |
@extra ? :
|
262
|
329 |
1038 |
if ($f->{'amnesty'})
|
266
|
0 |
342 |
if $am->{'inherited'}
|
267
|
0 |
342 |
unless my $tag = $am->{'tag'}
|
268
|
32 |
310 |
if $tag eq 'skip'
|
282
|
358 |
272 |
unless defined $directives{$tag} and length $directives{$tag}
|
288
|
1296 |
71 |
if defined $name and not $is_skip && !$name
|
291
|
89 |
86 |
if ($f->{'parent'} and $f->{'parent'}{'buffered'})
|
297
|
0 |
89 |
if ($ENV{'HARNESS_IS_VERBOSE'} or not $ENV{'HARNESS_ACTIVE'})
|
308
|
677 |
89 |
if $f2->{'assert'}
|
318
|
329 |
1038 |
if ($directives)
|
319
|
10 |
319 |
if $directives eq ' # TODO & skip'
|
321
|
272 |
57 |
if defined $reason
|
324
|
632 |
735 |
if $self->no_subtest_space
|
327
|
25 |
1342 |
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
|
295 |
632 |
$_->{'debug'} && !($f->{'amnesty'} && @{$f->{'amnesty'};}) ? :
|
386
|
4 |
923 |
if ($table and $self->supports_tables) { }
|
|
2 |
921 |
elsif (ref $details) { }
|
415
|
1 |
213 |
if $f->{'about'}{'no_display'}
|
417
|
211 |
2 |
unless my $summary = $f->{'about'}{'details'}
|
433
|
0 |
4 |
if $total < 50
|