blib/lib/String/Query/To/Regexp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 22 | 90.9 |
line | true | false | branch |
---|---|---|---|
16 | 7 | 4 | ref $_[0] eq 'HASH' ? : |
21 | 1 | 10 | if keys %$opts |
24 | 0 | 10 | unless @_ |
29 | 4 | 13 | if ($opt_re) { } |
30 | 1 | 3 | if (ref $query0 eq 'Regexp') { } |
35 | 2 | 1 | unless ref $query eq "Regexp" |
41 | 1 | 16 | if ($word) { } |
42 | 0 | 1 | $neg ? : |
44 | 1 | 15 | $neg ? : |
47 | 4 | 6 | $bool eq 'or' ? : |
48 | 1 | 9 | $ci ? : |