| blib/lib/Unicode/Diacritic/Strip.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| 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) |
| 57 | 0 | 1 | if (not defined $diacritics_text or length $diacritics_text == 0) |
| 69 | 6 | 38 | unless ($character =~ /\w/) |
| 70 | 0 | 6 | if ($options{'verbose'}) |
| 76 | 8 | 30 | if ($character ne $decomposed) |
| 87 | 0 | 8 | if ($options{'verbose'}) |