blib/lib/Localizer/Style/Gettext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 25 | 26 | 96.1 |
line | true | false | branch |
---|---|---|---|
21 | 12 | 13 | unless $str =~ /%/ |
40 | 15 | 19 | if ($1) |
42 | 12 | 3 | if (not $text =~ /[^\x20-\x7E]/s) { } |
52 | 2 | 32 | if ($2) { } |
6 | 26 | elsif ($3) { } | |
9 | 17 | elsif ($5) { } | |
59 | 1 | 5 | if ($function_name eq '*') { } |
1 | 4 | elsif ($function_name eq '#') { } | |
66 | 1 | 5 | unless (exists $functions->{$function_name}) |
72 | 5 | 2 | if (my($num) = $arg =~ /%(\d+)/) { } |
86 | 2 | 7 | if ($arg eq '*') { } |
96 | 10 | 2 | if (@code > 1) |
104 | 0 | 12 | if $@ |