Branch Coverage

blib/lib/Test/Stream/Formatter/TAP.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
25 1 130 if (my $enc = delete $self->{'encoding'})
33 115 1 if (@_)
40 115 0 if ($enc =~ /^utf-?8$/i) { }
59 1 1725 if $self->{'no_diag'} and $e->isa('Test::Stream::Event::Diag')
60 1 1724 if $self->{'no_header'} and $e->isa('Test::Stream::Event::Plan')
62 2 1722 if $self->{'no_numbers'}
69 1 1723 if $nesting and $e->isa('Test::Stream::Event::Bail')
75 0 3400 unless $msg
76 0 3400 unless my $io = $handles->[$hid]
78 11 3389 if $nesting
86 0 128 unless open my $out, '>&STDOUT'
87 0 128 unless open my $err, '>&STDERR'