blib/lib/Unicode/Diacritic/Strip.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
16 | 1 | 2 | unless ($diacritics_text =~ /[^\x{01}-\x{80}]/) |
24 | 1 | 33 | if ($character =~ /\W/) |
28 | 28 | 5 | if ($character ne $decomposed) |
43 | 71 | 38 | unless ($decomposition) |
58 | 0 | 1 | if (not defined $diacritics_text or length $diacritics_text == 0) |
70 | 6 | 38 | unless ($character =~ /\w/) |
71 | 0 | 6 | if ($options{'verbose'}) |
77 | 8 | 30 | if ($character ne $decomposed) |
88 | 0 | 8 | if ($options{'verbose'}) |