Branch Coverage

blib/lib/Biblio/bp/lib/bp-cs-tex.pl
Criterion Covered Total %
branch 31 64 48.4


line true false branch
246 102 160 if ($mine =~ /^{\\([`'^"~])([\w])}$/) { }
12 148 elsif ($mine =~ /^{\\([vc])(\w)}$/) { }
6 142 elsif ($mine =~ /^{\\([vc]){(\w)}}$/) { }
18 124 elsif ($mine =~ /leavevmode/) { }
40 84 elsif ($mine =~ /\$/) { }
259 188 74 if (length $can == 1)
299 84 0 if ($protect)
314 18 66 if (/-/)
320 8 76 if (/~/)
327 46 38 unless /\\/
329 2 36 unless $cs_init
331 30 8 if (/\\[`'^"~vc][{ ]?[\w]/)
342 0 32 unless (defined $can)
352 0 2 unless (defined $can)
362 0 0 unless (defined $can)
372 0 0 unless (defined $can)
387 26 4 unless /\\/
393 2 10 if (/leavevmode/)
396 0 12 if (/\$/)
405 12 0 unless /\\/
413 0 0 if /$bib::cs_meta01/o
416 0 0 unless /\\/
419 0 0 unless (/\\/)
440 0 0 if ($protect)
464 0 0 unless $cs_init
478 0 0 unless /$bib::cs_escape/o
482 0 0 if ($unicode =~ /^00[0-7]/)
486 0 0 if defined $charmap{$unicode} and s/$bib::cs_ext$unicode/$charmap{$unicode}/g
488 0 0 if defined $charmap2{$unicode} and s/$bib::cs_ext$unicode/$charmap2{$unicode}/g
492 0 0 if defined $can and s/$bib::cs_ext$unicode/$can/g
500 0 0 if defined $metamap{$repl} and s/$bib::cs_meta$repl/$metamap{$repl}/g
504 0 0 if defined $can and s/$bib::cs_meta$repl/$can/g