Branch Coverage

blib/lib/LaTeX/ToUnicode.pm
Criterion Covered Total %
branch 18 48 37.5


line true false branch
27 510 0 unless $debug
50 0 102 if ($options{'html'})
57 0 102 if ($user_hook)
86 3 99 if $options{'german'}
115 102 0 if (not $options{'entities'}) { }
0 0 elsif ($options{'entities'}) { }
124 0 0 unless ($options{'html'})
174 0 102 if ($string =~ /\\x\{/)
222 0 102 if ($options->{'html'}) { }
251 0 102 if ($string =~ /\\href$endcw\{([^}]*)\}\s*\{+([^}]*)\}+/)
256 0 0 $url =~ /$text$/ ? :
323 19 10 unless $tbl{$2}{$3}
324 5 42 unless $tbl{$2}{$3}
325 6 0 unless $tbl{$2}{$3}
326 19 1 unless $tbl{$2}{$3}
333 0 19 unless $tbl{$2}{$3}
334 0 0 unless $tbl{$2}{$3}
335 0 0 unless $tbl{$2}{$3}
336 0 0 unless $tbl{$2}{$3}
415 0 102 if $options->{'html'}
457 0 0 $hcmd ? :
458 0 0 $hcmd ? :
489 0 0 ref $_[0] && $_[0] =~ /.*HASH.*/ ? :
495 0 0 unless defined $val