blib/lib/String/RewritePrefix.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 3 | unless defined wantarray |
36 | 0 | 3 | if @_ > 1 and not wantarray |
41 | 13 | 18 | if (index($str, $rewrites[$i]) == 0) |
42 | 2 | 11 | if (ref $rewrites[$i + 1]) { } |
45 | 1 | 1 | defined $str ? : |
56 | 3 | 0 | wantarray ? : |