Condition Coverage

blib/lib/I22r/Translate/Filter/HTML.pm
Criterion Covered Total %
condition 4 24 16.6


and 3 conditions

line !l l&&!r l&&r condition
115 12 0 0 defined $map->{$element} and $map->{$element}[0] eq 'literal'

or 2 conditions

line l !l condition
12 0 18 $self->{'map'}{$key} //= {}
35 0 0 $keymap->{'__end__'} //= []
41 0 1 $keymap->{'__begin__'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
122 0 0 12 defined $map->{'()'} or $source =~ /[()]/
127 0 0 0 defined $map->{'[]'} or $source =~ /\[|\]/
132 0 0 0 defined $map->{'{}'} or $source =~ /\{|\}/
137 0 0 0 defined $map->{'""'} or $source =~ /\"/
142 0 0 0 defined $map->{q['']} or $source =~ /\'/