| blib/lib/Text/Names/Canonicalize.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 19 | 68.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 317 | 7 | 0 | 25 | $rules and $rules->{'suffixes'} |
| 352 | 0 | 29 | 5 | @types and $types[-1] eq "suffix" |
| 366 | 4 | 0 | 25 | $rules->{'surname_strategy'} and $rules->{'surname_strategy'} eq "last_token_with_particles" |
| 374 | 0 | 25 | 13 | @tokens and $particle{$tokens[-1]} |
| 440 | 36 | 69 | 1 | @t and ("$w $t[0]") =~ /^(von der|von dem)$/u |
| line | l | !l | condition |
|---|---|---|---|
| 251 | 25 | 0 | $opts{'locale'} || 'en_GB' |
| 252 | 0 | 25 | $opts{'ruleset'} || 'default' |