blib/lib/Lingua/Awkwords/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 29 | 30 | 96.6 |
line | true | false | branch |
---|---|---|---|
25 | 4 | 28 | if @$filters |
69 | 1 | 2 | if $weight |
72 | 1 | 1 | if $num < 1 |
79 | 8 | 3 | unless defined $oneof |
83 | 10 | 2 | unless ref $term |
101 | 8 | 4 | if ($terms[-1] eq '') { } |
109 | 1 | 11 | if ($delim eq ')') |
111 | 0 | 1 | if ($terms[-1]->can('add_choice')) { } |
130 | 2 | 10 | if @$filters |
137 | 1 | 11 | unless 'Lingua::Awkwords::Subpattern'->is_pattern($pat) |
141 | 5 | 6 | if ($terms[-1] eq '') { } |
151 | 1 | 4 | if (ref $terms[-1]) { } |
160 | 1 | 31 | if (ref $terms[-1]) { } |
174 | 39 | 21 | unless ref $term |
177 | 8 | 41 | if (defined $oneof) { } |