Branch Coverage

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


line true false branch
29 510 0 unless $debug
55 0 102 if ($options{'html'})
62 0 102 if ($user_hook)
92 3 99 if $options{'german'}
132 102 0 if (not $options{'entities'}) { }
0 0 elsif ($options{'entities'}) { }
150 0 0 unless ($options{'html'})
200 0 102 if ($string =~ /\\x\{/)
208 102 0 unless ($options{'entities'})
254 0 102 if ($options->{'html'}) { }
283 0 102 if ($string =~ /\\href$endcw\{([^}]*)\}\s*\{+([^}]*)\}+/)
288 0 0 $url =~ /$text$/ ? :
355 19 10 unless $tbl{$2}{$3}
356 5 42 unless $tbl{$2}{$3}
357 6 0 unless $tbl{$2}{$3}
358 19 1 unless $tbl{$2}{$3}
365 0 19 unless $tbl{$2}{$3}
366 0 0 unless $tbl{$2}{$3}
367 0 0 unless $tbl{$2}{$3}
368 0 0 unless $tbl{$2}{$3}
447 0 102 if $options->{'html'}
499 0 0 $hcmd ? :
500 0 0 $hcmd ? :
531 0 0 ref $_[0] && $_[0] =~ /.*HASH.*/ ? :
537 0 0 unless defined $val