Branch Coverage

blib/lib/LaTeX/Authors.pm
Criterion Covered Total %
branch 27 250 10.8


line true false branch
155 0 0 unless (chdir $directory)
163 0 0 if $code
172 0 0 if $code
181 0 0 if $code
190 0 0 if $code
199 0 0 if $code
208 0 0 if $code
231 0 0 if ($directory eq '')
235 0 0 unless (-d $directory)
240 0 0 unless (chdir $directory)
252 0 0 if ($nbr_file == 1) { }
0 0 elsif ($nbr_file > 1) { }
261 0 0 if (/\\begin\{document\}/ or /\\bye/ or /\\documentstyle/)
282 0 0 if (/\\begin\{document\}/ or /\\bye/ or /\\documentstyle/)
310 0 1 unless open TEXFILE, $file
339 1 16 if (/\\author/)
343 0 17 if (/\\affiliation/)
347 0 17 if (/\\affil\{/)
350 0 17 if (/\\address/)
354 0 17 if (/\\address\{(\s*(\\\w+ )+|\s*)\$\^/)
357 0 17 if (/address=/)
360 0 17 if (/\\institute/)
363 0 17 if (/\\altaffilmark/)
368 0 17 if (/\\input/)
371 0 0 if @input == 0
372 0 0 if @input == 0
386 0 17 if (/\\include/)
387 0 0 if @include == 0
389 0 17 if (/report.*Fermilab/)
404 0 1 if (bichop($aut[0]{'t'}) =~ /\\and/)
407 0 1 if (bichop($aut[0]{'t'}) =~ /\$\^/)
418 0 1 if defined $addr[0]{'t'} and $addr[0]{'t'} ne ''
425 1 0 if ($string_aut ne '' and $string_lab eq '' and $coll_name ne 'l3') { }
0 0 elsif ($string_aut ne '' and $string_lab ne '' and $coll_name ne 'zeus') { }
0 0 elsif ($coll_name ne '') { }
0 0 elsif ($report_fermilab == 1) { }
0 0 elsif (@input != 0 or @include != 0) { }
426 0 1 if ($math_in_aut) { }
0 1 elsif ($altaff) { }
435 0 0 if ($imbri == 1) { }
0 0 elsif ($addeq == 1) { }
0 0 elsif ($math_in_aut == 1 and $math_in_add == 1) { }
448 0 0 if (@input != 0)
456 0 0 if not -f $input_file and $input_file ne ''
461 0 0 if @doc > 0
465 0 0 if @doc == 0
477 0 0 if not -f $input_file and $input_file ne ''
481 0 0 if @doc > 0
509 0 17 if /thebibliogeraphie/ or /\\bibitem/
512 0 17 if defined $1 and $1 ne ''
513 0 17 if ($collaboration ne '')
598 1 1 if (ref $n eq 'ARRAY') { }
600 1 0 unless defined $r{$$n[0]}
684 0 0 if (/\\end{$name}/) { }
694 0 0 if (ref $n eq 'ARRAY') { }
696 0 0 unless defined $r{$$n[0]}
1035 1 0 if @article > 0
1045 1 0 if @article > 0
1067 0 0 if @article > 0
1072 0 0 if @article > 0
1100 0 0 if defined $author{$lab}
1146 0 0 if @article > 0
1156 0 0 if @article > 0
1181 0 0 if @article > 0
1187 0 0 if @article > 0
1333 0 0 if $name2 eq 'affiliation'
1348 0 0 if ($author =~ /\\and/)
1361 0 0 if $index_th ne '' and $thanks_index{$index_th} =~ /address/
1365 0 0 if $textecrochet ne ''
1369 0 0 if $author ne ''
1387 0 0 if $textecrochet ne ''
1391 0 0 if $laliste{$labo} ne ''
1394 0 0 if $labo ne ''
1404 0 0 if ($and == 0) { }
1419 0 0 if ($list_index_author{$auto} ne '') { }
0 0 elsif ($labo1 ne '') { }
1438 0 0 if $thanks{$auto} ne ''
1643 0 0 if ($begin == 0)
1654 0 0 if $laref ne ''
1657 0 0 if ($texte =~ /mark\[(.*)\]/) { }
1669 0 0 if ($rnom ne '')
1677 0 0 if $begin == 1
1681 0 0 unless $texte =~ /mark\[(.*)\]/
1686 0 0 if not $texte =~ /mark\[(.*)\]$/ and $begin == 1 || $courant =~ /,|and/
1793 0 0 if (not $i % 2) { }
1813 0 0 if ($i % 2) { }
1897 0 0 if (not $i % 2) { }
1913 0 0 if ($i % 2) { }
1969 0 0 if $collaboration eq 'h1'
1970 0 0 if $collaboration eq 'aleph'
1971 0 0 if $collaboration eq 'l3'
1972 0 0 if $collaboration eq 'na59'
1973 0 0 if $collaboration eq 'babar'
1974 0 0 if $collaboration eq 'zeus'
2038 0 0 if (/(^[^\s]+.*)\$\^{([\s\w,]+)}\$(,?)\s/ and $out_author == 0)
2040 0 0 if $3 eq ''
2056 0 0 if /\d+/
2079 0 0 if (/\$\s*\^{(\d+)}\$(.*?)(\$.*\$)?\s\\\\/ and $out_author == 1) { }
0 0 elsif (/\$\s*\^{(\d+)}\$(.*)\s*/ and $out_author == 1) { }
0 0 elsif (not /\\\\$/ and $ligne_lab == 1) { }
0 0 elsif (/(.*?)(\$.*\$)?\s*\\\\$/ and $ligne_lab == 1) { }
2196 0 0 if (/^\s*\\nopagebreak/ || /^\s*\\samepage/ and $in_author == 1) { }
0 0 elsif (/^\w+,?/ and $in_lab == 0) { }
0 0 elsif (/^\s*\\mbox{(.*)}/ and $in_lab == 0) { }
0 0 elsif (/^\w+,?/ and $in_lab == 1) { }
0 0 elsif (/^\s*\\\w+/ and $in_lab == 1 and $ok_lab == 1) { }
2203 0 0 if $newlab ne ''
2210 0 0 if $newlab ne ''
2230 0 0 if $foot_note{$_} ne '' and not $foot_note{$_} =~ /^(Research|Deceased|Supported)/
2337 0 0 if $center_string =~ /\\inst/s
2350 0 0 unless ($line =~ /~/ or $line =~ /\\inst/)
2353 0 0 if ($line =~ /\~/ and not $line =~ /\\inst/)
2354 0 0 if ($line =~ /\\footnote\{/)
2365 0 0 if ($line =~ /\\footnotemark\[(\d+)\]/)
2377 0 0 if ($line =~ /\\inst/)
2383 0 0 if $otherlab{$_} ne '' and $otherlab{$_} ne 'Deceased'
2420 0 0 if (/\\Large/ and /zeus/i) { }
0 0 elsif ($begin == 1 and /\\newpage/) { }
0 0 elsif ($begin == 1 and /,\s*$/ and not /\{\\it / and $in_lab != 1) { }
0 0 elsif ($begin == 1 and /\\\\\s*$/ and not /\{\\it / and $in_lab != 1) { }
0 0 elsif ($begin == 1 and /\{\\it /) { }
0 0 elsif ($begin == 1 and $in_lab == 1 and not /\\par/) { }
0 0 elsif ($begin == 1 and $in_lab == 1 and /\\par/) { }
2425 0 0 if (/\\mbox/)
2429 0 0 if (/\\mbox/)