| line |
true |
false |
branch |
|
160
|
10 |
257 |
unless $line =~ /^(not\s+)?(ok)\s+/ |
|
176
|
4 |
0 |
if ($args{'tap'}) |
|
178
|
4 |
0 |
if (my $ignorelines = $args{'ignorelines'}) |
|
181
|
2 |
2 |
if ($dontignorelines) { } |
|
189
|
2 |
0 |
$dontignorelines ? : |
|
207
|
4 |
0 |
if ($args{'tap'}) |
|
220
|
3 |
18 |
if (defined $args{'tap'} and $args{'tap'} eq '') { } |
|
|
1 |
33 |
elsif (defined $args{'source'} and -z $args{'source'}) { } |
|
247
|
2 |
0 |
if ($args{'source'}) |
|
250
|
1 |
1 |
if (ref $args{'source'} eq 'GLOB') { } |
|
260
|
2 |
0 |
if ($args{'tap'}) |
|
272
|
0 |
77 |
@_ == 1 ? : |
|
282
|
4 |
73 |
if $args{'preprocess_ignorelines'} |
|
283
|
4 |
73 |
if $args{'preprocess_tap'} |
|
284
|
21 |
56 |
if $args{'noempty_tap'} |
|
285
|
2 |
75 |
if $args{'utf8'} |
|
322
|
5 |
72 |
defined $DOC_DATA_IGNORE ? : |
|
334
|
26 |
20 |
if $IGNORELINES and $result->raw =~ /$IGNORELINES/ and not $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/ |
|
335
|
2 |
782 |
if $IGNOREUNKNOWN and $result->is_unknown |
|
338
|
7 |
775 |
if $USEBITSETS |
|
342
|
2306 |
40 |
unless $IGNORE{$_} |
|
344
|
257 |
525 |
$result->is_test ? : |
|
346
|
257 |
525 |
if ($result->is_test) |
|
348
|
1020 |
8 |
unless $IGNORE{$_} |
|
351
|
8 |
506 |
if ($USEBITSETS) { } |
|
|
8 |
498 |
elsif ($SPARSE) { } |
|
352
|
4 |
4 |
$result->$_ ? : |
|
|
8 |
0 |
unless $IGNORE{$_} |
|
355
|
4 |
4 |
if $result->$_ and not $IGNORE{$_} |
|
357
|
243 |
255 |
$result->$_ ? : |
|
|
498 |
0 |
unless $IGNORE{$_} |
|
363
|
68 |
714 |
if ($result->is_plan) |
|
366
|
135 |
1 |
unless $IGNORE{$_} |
|
373
|
0 |
0 |
if ($PUT_DANGLING_KV_DATA_UNDER_LAZY_PLAN and keys %dangling_kv_data) |
|
380
|
14 |
1550 |
if ($USEBITSETS) { } |
|
|
14 |
1536 |
elsif ($SPARSE) { } |
|
381
|
2 |
12 |
$result->$_ ? : |
|
|
14 |
0 |
unless $IGNORE{$_} |
|
384
|
2 |
12 |
if $result->$_ and not $IGNORE{$_} |
|
386
|
74 |
1462 |
$result->$_ ? : |
|
|
1536 |
0 |
unless $IGNORE{$_} |
|
396
|
56 |
6200 |
if ($USEBITSETS) { } |
|
|
56 |
6144 |
elsif ($SPARSE) { } |
|
397
|
7 |
49 |
$result->$_ ? : |
|
|
56 |
0 |
unless $IGNORE{$_} |
|
400
|
7 |
49 |
if $result->$_ and not $IGNORE{$_} |
|
402
|
768 |
5376 |
$result->$_ ? : |
|
|
6144 |
0 |
unless $IGNORE{$_} |
|
405
|
782 |
0 |
unless ($IGNORE{'is_actual_ok'}) |
|
417
|
16 |
766 |
$result->has_todo && $result->is_actual_ok ? : |
|
418
|
7 |
775 |
if ($USEBITSETS) { } |
|
|
7 |
768 |
elsif ($SPARSE) { } |
|
419
|
1 |
6 |
$is_actual_ok ? : |
|
422
|
1 |
6 |
if $is_actual_ok |
|
427
|
30 |
752 |
if $result->is_yaml and not $IGNORE{'data'} |
|
429
|
73 |
709 |
if ($result->is_comment and $result->as_string =~ /$document_data_regex/) |
|
437
|
21 |
52 |
if $LOWERCASE_FIELDNAMES |
|
438
|
28 |
45 |
if $LOWERCASE_FIELDVALUES |
|
441
|
2 |
71 |
if $TRIM_FIELDVALUES |
|
444
|
7 |
14 |
if $DOC_DATA_IGNORE and $document_data_ignore and $key =~ /$document_data_ignore/ |
|
450
|
56 |
10 |
if ($lines[-1]->is_test or $lines[-1]->is_plan or $lines[-1]->is_pragma) { } |
|
453
|
10 |
0 |
unless ($plan) |
|
462
|
66 |
0 |
unless $lines[-1]->is_test and $DISABLE_GLOBAL_KV_DATA |
|
466
|
320 |
462 |
if ($entry->{'is_test'} or $entry->{'is_plan'}) |
|
477
|
33 |
749 |
if ($entry->{'is_pragma'} or $entry->{'is_unknown'}) |
|
479
|
6 |
27 |
if ($entry->{'raw'} =~ /^pragma\s+\+tapdom_error\s*$/) { } |
|
489
|
504 |
278 |
unless defined $entry->{'severity'} |
|
492
|
384 |
398 |
if ($result->is_yaml or $result->is_comment and @lines) { } |
|
503
|
2 |
75 |
if (not $count_tap_lines || $found_pragma_tapdom_error and $NOEMPTY_TAP) |
|
505
|
0 |
2 |
$SPARSE ? : |
|
524
|
0 |
2 |
if $USEBITSETS |
|
525
|
0 |
8 |
if $IGNORE{$_} |
|
527
|
0 |
2 |
$SPARSE ? : |
|
546
|
0 |
2 |
if $USEBITSETS |
|
547
|
0 |
8 |
if $IGNORE{$_} |
|
557
|
57 |
20 |
$aggregate->all_passed ? : |
|
|
22 |
55 |
$aggregate->has_problems ? : |
|
|
18 |
59 |
$aggregate->has_errors ? : |
|
627
|
16 |
24 |
if ($entry->{'is_test'}) { } |
|
|
20 |
4 |
elsif ($entry->{'is_pragma'} or $entry->{'is_comment'} or $entry->{'is_bailout'} or $entry->{'is_yaml'}) { } |
|
638
|
4 |
4 |
$entry->{'is_actual_ok'} ? : |
|
|
8 |
0 |
$entry->{'is_ok'} ? : |
|
|
8 |
8 |
$entry->{'has_todo'} ? : |
|
|
8 |
6 |
$entry->{'has_todo'} ? : |
|
|
2 |
14 |
$entry->{'has_skip'} ? : |
|
648
|
0 |
20 |
$IGNORE{'raw'} ? : |
|
661
|
36 |
4 |
if $tapline |
|
662
|
6 |
34 |
if $entry->{'_children'} |
|
677
|
1 |
1 |
wantarray ? : |