blib/lib/Regexp/SQL/LIKE.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
40 | 6 | 44 | unless length $p |
43 | 18 | 26 | if ($wild_count) { } |
44 | 5 | 13 | if ($backslash_count and $backslash_count % 2) { } |
2 | 11 | elsif ($backslash_count) { } | |
54 | 1 | 1 | $last eq '%' ? : |
57 | 4 | 7 | $p eq '%' ? : |
67 | 15 | 1 | if $anchors{'start'} |
68 | 15 | 1 | if $anchors{'end'} |