Branch Coverage

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


line true false branch
56 5 33 @_ == 1 ? :
60 36 2 unless $self->{'ansi_parser'}
62 36 2 unless $self->{'html_encode'}
94 9 0 wantarray ? :
122 7 3 unless $self->{'styles'}
135 35 1 unless ref $text eq 'ARRAY'
141 2 34 $self->{'inline_style'} ? :
150 9 82 $self->{'no_plain_tags'} && !@$attr ? :
154 8 74 $self->{'inline_style'} ? :
160 7 29 wantarray ? :
167 5 86 if $self->{'html_encode'}
175 1 0 wantarray ? :
184 0 1 unless @_
191 0 1 unless grep {$arg eq $_;} @EXPORT_OK