Branch Coverage

blib/lib/HTML/FromANSI/Tiny.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
56 5 36 @_ == 1 ? :
60 39 2 unless $self->{'ansi_parser'}
62 39 2 unless $self->{'html_encode'}
104 10 0 wantarray ? :
132 8 3 unless $self->{'styles'}
145 37 1 unless ref $text eq "ARRAY"
151 2 36 $self->{'inline_style'} ? :
160 9 88 if ($self->{'no_plain_tags'} and not @$attr) { }
164 8 80 $self->{'inline_style'} ? :
170 7 31 wantarray ? :
177 5 92 if $self->{'html_encode'}
185 1 0 wantarray ? :
194 0 1 unless @_
201 0 1 unless grep {$arg eq $_;} @EXPORT_OK