Branch Coverage

blib/lib/I22r/Translate/Filter/Literal.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
18 26 0 if ($DOUBLE_BRACES_WRAP_PARAMETER_LITERAL)
23 26 0 if ($HTML_ENTITIES_ARE_LITERAL)
29 26 0 if ($DOUBLE_BRACES_WRAP_LITERAL)
54 21 5 if ($req->results->{$key})
68 0 30 unless defined $mapping
71 17 0 if ($apply_m2 and $mapping->[2])
74 30 0 if ($enc ne lc $enc)
83 0 0 unless (s/(?<!#|_)$enc(?!#|_)/$element/ or s/(?<!#)$enc(?!#)/$element/ or $self->_untransform2($_, $enc, $element))