blib/lib/Text/Pluralize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
46 | 35 | 14 | if ($pattern =~ /^\((.*)[)}]$/) { } |
14 | 0 | elsif ($pattern =~ /^\{(.*)[})]$/) { } | |
48 | 0 | 35 | if $1 =~ /\|$/ |
49 | 11 | 24 | if @alternatives == 1 |
53 | 4 | 10 | if $1 =~ /\|$/ |
59 | 26 | 23 | if ($count >= $#alternatives or $count < 0) { } |
67 | 3 | 22 | if ($control_count == 0 and $count != 1) |
71 | 9 | 16 | if $output =~ /%/ |