Branch Coverage

blib/lib/Unicode/Diacritic/Strip.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
15 1 2 unless ($diacritics_text =~ /[^\x{01}-\x{80}]/)
23 1 33 if ($character =~ /\W/)
27 28 5 if ($character ne $decomposed)
42 71 38 unless ($decomposition)
48 0 38 if ($dc[0] =~ /
62 0 1 if (not defined $diacritics_text or length $diacritics_text == 0)
74 6 38 unless ($character =~ /\w/)
75 0 6 if ($options{'verbose'})
81 8 30 if ($character ne $decomposed)
92 0 8 if ($options{'verbose'})