Branch Coverage

blib/lib/String/Tagged/Terminal.pm
Criterion Covered Total %
branch 32 38 84.2


line true false branch
100 1 0 $_[1] ? :
163 6 192 if $tags{$tag} and not $pen{$tag}
164 5 187 if not $tags{$tag} and $pen{$tag}
173 2 31 if (defined $pen{$tag} and not defined $tags{$tag}) { }
0 31 elsif (defined $pen{$tag} and defined $tags{$tag} and $pen{$tag} == $tags{$tag}) { }
2 29 elsif (defined $tags{$tag}) { }
182 0 2 if $val > $max
195 7 59 if defined $val
197 0 66 if (defined $pen{$tag} and not defined $val) { }
0 66 elsif (defined $pen{$tag} and defined $val and $pen{$tag} == $val) { }
7 59 elsif (defined $val) { }
206 5 2 if ($val < 8) { }
1 1 elsif ($val < 16) { }
222 15 18 if (@sgr and %pen) { }
7 11 elsif (@sgr) { }
231 1 12 $opts{'no_color'} ? :
233 6 7 if %pen
260 1 0 $_[1] == 1 ? :
293 3 2 if ($options{'win32'}) { }