blib/lib/Lingua/Awkwords/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 29 | 30 | 96.6 |
line | true | false | branch |
---|---|---|---|
25 | 4 | 27 | if @$filters |
69 | 1 | 2 | if $weight |
72 | 1 | 1 | if $num < 1 |
79 | 5 | 3 | unless defined $oneof |
83 | 7 | 1 | unless ref $term |
100 | 8 | 2 | if ($terms[-1] eq '') { } |
108 | 1 | 9 | if ($delim eq ')') |
110 | 0 | 1 | if ($terms[-1]->can('add_choice')) { } |
129 | 2 | 8 | if @$filters |
136 | 1 | 11 | unless 'Lingua::Awkwords::Subpattern'->is_pattern($pat) |
140 | 5 | 6 | if ($terms[-1] eq '') { } |
150 | 1 | 4 | if (ref $terms[-1]) { } |
159 | 1 | 25 | if (ref $terms[-1]) { } |
173 | 36 | 20 | unless ref $term |
176 | 5 | 41 | if (defined $oneof) { } |