Branch Coverage

blib/lib/Locale/Maketext/Utils/Phrase/Norm/Ellipsis.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
14 0 96 if ($bn_match =~ /[,]{2,}/)
22 8 78 if (${$string_sr;} =~ s/(?:[.]{2,}|[,]{2,})/\342\200\246/g)
34 8 78 if (${$string_sr;} =~ s/^(|\xc2\xa0|\[output\,nbsp\])\342\200\246/ \342\200\246/)
41 8 78 if (${$string_sr;} =~ s/((?:\x20|\xc2\xa0|\[output\,nbsp\])\342\200\246[\!\?\.\:])$/ELLIPSIS_END/)
45 6 80 if (${$string_sr;} =~ s/^( \342\200\246(?:\x20|\xc2\xa0|\[output\,nbsp\]))/ELLIPSIS_START/)
55 8 78 if (${$string_sr;} =~ s/\A \342\200\246(?!\x20|\xc2\xa0|\[output\,nbsp\])/ \342\200\246 /)
59 8 78 if (${$string_sr;} =~ s/\342\200\246(?:\x20|\xc2\xa0|\[output\,nbsp\]|\s)+\z/\342\200\246/)
63 8 78 if (${$string_sr;} =~ /\342\200\246\z/ and not ${$string_sr;} =~ /(?:\x20|\xc2\xa0|\[output\,nbsp\])\342\200\246\z/)
69 8 78 if (${$string_sr;} =~ s/(.{1})((?:(?
73 8 78 if (${$string_sr;} =~ s/(.{2})\342\200\246(?!\x20|\xc2\xa0|\[output\,nbsp\]|\z)(.{1})/$1\342\200\246 $2/g)
77 8 78 if ($medial_prob)
82 8 78 if exists $l{'ELLIPSIS_END'}
83 6 80 if exists $l{'ELLIPSIS_START'}
84 14 72 if (exists $l{'ELLIPSIS_MEDIAL'})