Branch Coverage

blib/lib/LaTeX/ToUnicode.pm
Criterion Covered Total %
branch 19 50 38.0


line true false branch
29 612 0 unless $debug
55 0 102 if ($options{'html'})
62 0 102 if ($user_hook)
92 3 99 if $options{'german'}
115 102 0 if (not $options{'entities'}) { }
0 0 elsif ($options{'entities'}) { }
133 0 0 unless ($options{'html'})
183 0 102 if ($string =~ /\\x\{/)
191 102 0 unless ($options{'entities'})
237 0 102 if ($options->{'html'}) { }
267 0 102 if ($string =~ /\\href$endcw\{([^}]*)\}\s*\{+([^}]*)\}+/)
272 0 0 $url =~ /$text$/ ? :
339 19 10 unless $tbl{$2}{$3}
340 5 42 unless $tbl{$2}{$3}
341 6 0 unless $tbl{$2}{$3}
342 19 1 unless $tbl{$2}{$3}
349 0 19 unless $tbl{$2}{$3}
350 0 0 unless $tbl{$2}{$3}
351 0 0 unless $tbl{$2}{$3}
352 0 0 unless $tbl{$2}{$3}
469 0 102 if $options->{'html'}
527 0 0 $hcmd ? :
528 0 0 $hcmd ? :
563 0 0 ref $_[0] && $_[0] =~ /.*HASH.*/ ? :
569 0 0 unless defined $val