line |
true |
false |
branch |
53
|
99 |
88 |
if ($method =~ /^_/) { } |
56
|
1907 |
1084 |
unless @_ |
57
|
0 |
1084 |
unless (ref($self) =~ /^TAPx::Parser/) |
67
|
1606 |
808 |
unless @_ |
230
|
57 |
356 |
if $stream->is_last |
237
|
240 |
116 |
if ($result and $result->is_test) |
240
|
173 |
67 |
if (defined(my $tests_planned = $self->tests_planned)) |
241
|
18 |
155 |
if ($self->tests_run > $tests_planned) |
249
|
65 |
291 |
if ($stream->is_last) { } |
|
249 |
42 |
elsif (not $result->is_unknown || $result->is_comment) { } |
265
|
352 |
61 |
if (defined $result) |
267
|
12 |
340 |
if ($code = $self->_callback_for($result->type)) { } |
284
|
352 |
0 |
unless my $spool = $self->_spool |
356
|
0 |
66 |
if (1 < grep({defined $_;} $stream, $tap, $source)) |
360
|
0 |
66 |
if ($source and $exec) |
364
|
15 |
51 |
if ($tap) { } |
|
2 |
49 |
elsif ($exec) { } |
|
39 |
10 |
elsif ($source) { } |
371
|
2 |
0 |
if (defined $stream) |
372
|
0 |
2 |
if (defined $stream->exit) |
375
|
0 |
2 |
if (defined $stream->wait) |
381
|
0 |
39 |
if (ref $source) { } |
|
39 |
0 |
elsif (-e $source) { } |
387
|
39 |
0 |
if $$arg_for{'switches'} |
391
|
39 |
0 |
if (defined $stream) |
392
|
0 |
39 |
if (defined $stream->exit) |
395
|
0 |
39 |
if (defined $stream->wait) |
405
|
0 |
66 |
unless ($stream) |
417
|
594 |
462 |
'ARRAY' eq ref $v ? : |
957
|
31 |
209 |
if $test->has_todo |
958
|
4 |
236 |
if $test->todo_passed |
959
|
200 |
40 |
if $test->is_ok |
960
|
191 |
49 |
if $test->is_actual_ok |
961
|
12 |
228 |
if $test->has_skip |
963
|
49 |
191 |
unless $test->is_actual_ok |
964
|
40 |
200 |
if not $test->is_ok |
1014
|
4 |
239 |
if (not $self->_plan_error_found and my $error = $self->_end_plan_error) |
1028
|
4 |
352 |
unless $token |
1031
|
0 |
352 |
unless ($validate) |
1047
|
5 |
60 |
if (not $self->_plan_found) { } |
|
2 |
58 |
elsif ($self->_plan_found > 1) { } |
1054
|
54 |
4 |
unless defined $self->is_good_plan |
1056
|
9 |
56 |
if ($self->tests_run != ($self->tests_planned || 0)) |
1058
|
6 |
3 |
if (defined(my $planned = $self->tests_planned)) |
1064
|
0 |
65 |
if ($self->tests_run != $self->passed + $self->failed) |
1075
|
4 |
61 |
unless defined $self->is_good_plan |