Branch Coverage

blib/lib/LaTeX/Encode.pm
Criterion Covered Total %
branch 33 42 78.5


line true false branch
58 8 568 ref $_[0] ? :
70 1 575 if ($exceptions)
80 7 569 if ($iquotes)
87 3 3 $2 eq '"' ? :
102 2 560 if ref $packages_reqd and exists $provided_by{$1}
112 1 575 if ($exceptions)
123 0 1 if (ref $action eq 'CODE') { }
0 1 elsif (($action || '') eq 'ignore') { }
144 7 0 if (not exists $latex_encoding{$key} or $latex_encoding{$key} ne $new_encoding{$key})
145 0 7 if defined wantarray and exists $latex_encoding{$key}
150 4 0 if $changed
151 4 0 unless defined wantarray
164 4 0 if (exists $latex_encoding{$key})
168 4 0 if keys %removed_encoding
169 2 2 unless defined wantarray
178 12 3 unless ($class =~ /::/)
186 2 13 unless ($forget_import_specifiers)
188 1 1 if ($$spec[0] eq $IMPORT_TAG_ADD) { }
1 0 elsif ($$spec[0] eq $IMPORT_TAG_REMOVE) { }
210 1 5 if ($list[$i] eq $IMPORT_TAG_ADD) { }
1 4 elsif ($list[$i] eq $IMPORT_TAG_REMOVE) { }