blib/lib/Locale/Maketext/Fuzzy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 28 | 78.5 |
line | true | false | branch |
---|---|---|---|
11 | 6 | 0 | if ref $class |
15 | 2 | 4 | if ($flag) { } |
2 | 2 | elsif (@_ >= 2) { } | |
22 | 3 | 3 | defined &{"${class}::maketext";} ? : |
36 | 2 | 5 | if exists $$lex{$phrase} |
51 | 0 | 10 | if $entry =~ /^\s*(\[[^]]+\]\s*)+$/ |
54 | 3 | 7 | unless my(@vars) = $phrase =~ /$$re[0]/ |
56 | 7 | 0 | @{$$re[1];} ? : |
61 | 1 | 4 | unless %candidate |
64 | 0 | 3 | unless length $b <=> length $a |
107 | 3 | 0 | if ($choices[0] =~ /^(?:\w+|\\#|\\\*)$/) |
110 | 1 | 2 | unless $choices[0] =~ /^_(?:\d+|\\\*)$/ |
119 | 3 | 2 | /^_(?:(\d+)|\\\*)$/ ? : |
120 | 3 | 0 | if defined $1 |