| blib/lib/Text/Naming/Convention.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 27 | 96.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 86 | 8 | 30 | 12 | $keep_uppers and $word =~ /^[A-Z]+$/ |
| 38 | 8 | 4 | $keep_uppers and $word =~ /^[A-Z]+$/ and $convention =~ /Camel/ | |
| 133 | 1 | 1 | 2 | defined $_ and not ref $_ |
| 146 | 7 | 0 | 33 | $option and ref $option eq 'HASH' |
| 193 | 7 | 2 | 4 | $convention eq 'UpperCamelCase' and $convention ne $from |
| 2 | 4 | 3 | $convention eq 'lowerCamelCase' and $convention ne $from |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 158 | 6 | 2 | 32 | $name =~ /(_)/ or $name =~ /(-)/ |
| 162 | 2 | 2 | 4 | $convention eq '_' or $convention eq '-' |
| 174 | 13 | 6 | 13 | $convention eq '_' or $convention eq '-' |