Branch Coverage

blib/lib/TAP/Filter/Iterator.pm
Criterion Covered Total %
branch 36 38 94.7


line true false branch
13 1 8 unless 'CODE' eq ref $thing
28 3 15 unless defined $iter and UNIVERSAL::can($iter, 'can') and $iter->can('tokenize')
35 2 15 unless not defined $parser or UNIVERSAL::can($parser, 'isa') and $parser->isa('TAP::Parser')
56 41 35 if (my $hook_func = $self->$hook_accessor)
67 59 107 if (@_)
258 6 6 if @_
259 1 11 if @_
260 1 11 if @_
279 1 14 unless ref $self
300 62 1 if (exists $$test{'raw'})
323 62 15 if ($result->is_test) { }
15 0 elsif ($result->is_plan) { }
326 62 0 $number == $in_number || $number == 0 ? :
342 77 86 if (@queue) { }
347 71 15 if (defined $result)
348 56 15 if $result->is_test
368 15 77 unless (defined $result)
396 55 16 unless $count
398 13 3 if (defined(my $tests_planned = $parser->tests_planned)) { }