Branch Coverage

blib/lib/Text/Amuse/Preprocessor/TypographyFilters.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
28 0 2072 unless defined $l
52 40 137 if ($prefix and $prefix eq '[') { }
2 135 elsif ($suffix and $suffix eq ']') { }
335 0 56 unless $lang
348 0 56 unless $lang
351 0 56 unless $chars
354 0 56 unless my $ldouble = $chars->{'ldouble'}
355 0 56 unless my $rdouble = $chars->{'rdouble'}
356 0 56 unless my $lsingle = $chars->{'lsingle'}
357 0 56 unless my $rsingle = $chars->{'rsingle'}
358 0 56 unless my $apos = $chars->{'apos'}
359 0 56 unless my $emdash = $chars->{'emdash'}
360 0 56 unless my $endash = $chars->{'endash'}
361 0 56 unless my $dash = $chars->{'dash'}
366 883 1266 unless $l =~ /['"`-]/
492 0 15 unless $lang
494 10 5 unless $specs
525 0 5 unless @patterns