blib/lib/Lingua/EN/MatchNames.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
150 | 0 | 0 | 20 | $name0 and $name1 |
179 | 3 | 0 | 2 | amatch($name0, $name1) and amatch($name1, $name0) |
192 | 0 | 0 | 34 | $name0 and $name1 |
218 | 9 | 0 | 0 | amatch($name0, $name1) and amatch($name1, $name0) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
181 | 0 | 0 | 3 | $name0 =~ /^$name1|$name1$/ or $name1 =~ /^$name0|$name0$/ |
221 | 2 | 0 | 7 | $name0 =~ s/(\B[A-Z][a-z]+)/-$1/g or $name1 =~ s/(\B[A-Z][a-z]+)/-$1/g |
223 | 1 | 0 | 6 | $name0 =~ /^$name1|$name1$/i or $name1 =~ /^$name0|$name0$/i |