Branch Coverage

blib/lib/Term/ANSIColor/Markup/Parser.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
45 21 2 if (my $escape_sequence = $self->get_escape_sequence($tagname)) { }
61 21 4 if (my $color = $self->get_escape_sequence($tagname)) { }
63 1 20 if $top ne $tagname
65 10 10 if (scalar @{$self->stack;})
78 72 1034 if (lc $name eq lc $key)
88 8 51 unless defined $text