lib/URI/Template/Restrict/Expansion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
61 | 43 | 59 | if ($expansion =~ /^($RE{'var'})$/) { } |
59 | 0 | elsif ($expansion =~ /^\-($RE{'op'})\|($RE{'arg'})\|($RE{'vars'})$/) { } | |
71 | 0 | 102 | unless defined $op and defined $vars |
84 | 91 | 11 | @vars == 1 ? : |
127 | 38 | 14 | ref $pattern ? : |