Branch Coverage

blib/lib/LaTeX/Encode.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
58 8 578 ref $_[0] ? :
70 1 585 if ($exceptions)
80 7 579 if ($iquotes)
87 3 3 $2 eq '"' ? :
103 2 0 if ref $packages_reqd and exists $provided_by{$1}
112 1 585 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 0 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 13 3 unless ($class =~ /::/)
186 2 14 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 6 if ($list[$i] eq $IMPORT_TAG_ADD) { }
1 5 elsif ($list[$i] eq $IMPORT_TAG_REMOVE) { }