blib/lib/Query/Abstract.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 2 | unless ref $driver |
21 | 2 | 0 | if (ref $driver eq 'ARRAY') { } |
0 | 0 | elsif ($driver->isa('Query::Abstract::Driver::Base')) { } | |
25 | 1 | 1 | unless $$driver[1] |
70 | 15 | 4 | if (ref $_[0] eq 'ARRAY') { } |
87 | 0 | 19 | unless $where |
94 | 22 | 3 | if (ref $$where[$i + 1] eq 'HASH') { } |
98 | 3 | 0 | ref $$where[$i + 1] eq 'ARRAY' ? : |
103 | 0 | 25 | unless grep {$oper eq $_;} 'eq', 'in', 'ne', 'gt', 'lt', 'le', 'gt', 'ge', 'like', '<', '>', '<=', '>=' |
113 | 16 | 3 | unless $sort_by |
114 | 1 | 2 | if ref $sort_by eq 'ARRAY' |