Branch Coverage

blib/lib/Locale/Maketext/Utils/Phrase/Norm/WhiteSpace.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
26 8 65 if (${$string_sr;} =~ s/($disallowed_whitespace|$invisible|$control)/my $uh = sprintf("%04X", unpack("U", &Encode::decode_utf8($1)));
33 8 65 if (not ${$string_sr;} =~ /\A \xE2\x80\xA6/ms and ${$string_sr;} =~ s/\A($space_and_no_break_space+)//msx)
35 8 0 if (substr(${$string_sr;}, 0, 3) eq "\342\200\246")
36 8 0 if ($startswith =~ /\xc2\xa0/)
46 8 65 if (${$string_sr;} =~ s/(?:$space_and_no_break_space)+\z//msx)
51 8 65 if (${$string_sr;} =~ s/${space_and_no_break_space}{2,}/ /msx)