Branch Coverage

blib/lib/TeX/AutoTeX/HyperTeX.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
23 0 0 if ($this_type eq 'TYPE_LATEX' or $this_type eq 'TYPE_LATEX2e' or $this_type eq 'TYPE_PDFLATEX')
31 0 0 if (ref($local_hyper_transform) =~ /Filter/)
37 0 0 unless ($file =~ /texsis/)
46 0 0 unless open my $WITH_HYPER, '>', "$dir/$file.with_hyper"
48 0 0 unless open my $WITHOUT_HYPER, '>', "$dir/$file.without_hyper"
50 0 0 unless open my $SOURCE, '<', "$dir/$file"
53 0 0 if ($stripping)
56 0 0 if (/^\s*[\\\{]/)
77 0 0 if ($checktexsis)
82 0 0 if (not $h_included and $seen_doc_style_or_class and /^[^%]*(?:\\newtheorem|\\begin\s*{document}|\\usepackage[^%{]*{amsrefs})/)
85 0 0 if ($this_type eq 'TYPE_PDFLATEX') { }
93 0 0 if (/^[^%]*\\(?:documentstyle|documentclass|usepackage|input)([^%]*)/)
95 0 0 if ($macrostring =~ /($incompatiblemacropackages)/)
100 0 0 if ($macrostring =~ /ws-procs\d{1,2}x\d/)
103 0 0 if (/\\document(?:style|class)/)
107 0 0 if (s/^([^%]*\\documentstyle(\[.*])?\{amsppt\})/\\input amstex\n$1/)
111 0 0 if (/^[^%]*\\documentstyle(\[.*])?\{amsart\}/)
121 0 0 if (substr $_, 0, !1)
134 0 0 if (0 <= index($_, '\\begin{verbatim}'))
135 0 0 if (/^([^%]*(?:(?<=\\)%)*)*\\begin{verbatim}/cg)
136 0 0 if (0 <= index($_, '\\end{verbatim}', 16 + pos($_)))
143 0 0 if (0 <= (my $pos = rindex($_, '\\end{verbatim}')))
145 0 0 if (/\G([^%]*(?:(?<=\\)%)*)*\\begin{verbatim}/cg)
160 0 0 if /\\verb\*?\S\s*\Q$tex_url\E/
161 0 0 if ($tex_url =~ /\\\~\{?$/)
170 0 0 unless $tex_url =~ s/\}[^\}]*$//
173 0 0 if $tex_url =~ s/\\verb(.)~\1/\$\\sim\$/g
175 0 0 if $tex_url =~ s[/~][/\$\\sim\$]g
190 0 0 if $n++ >= 5 and s/\Q$tex_url\E/$protect\\vrule width0pt$protect\\href{$special_url}{$tex_url}/
192 0 0 if ($customfilter)
197 0 0 unless close $WITH_HYPER
198 0 0 unless close $WITHOUT_HYPER
199 0 0 unless close $SOURCE