| blib/lib/OData/QueryParams/DBIC.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 23 | 86.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 51 | 87 | 6 | 1 | $opts{'strict'} and not $param_key =~ /\A\$/msux |
| 90 | 2 | 4 | 34 | $1 and lc $1 eq 'desc' || lc $1 eq 'asc' |
| 92 | 31 | 4 | 27 | $opt{'me'} and not $order_by =~ m[/]u |
| 160 | 0 | 0 | 62 | $obj->{'sub_type'} && $obj->{'sub_type'} eq 'field' |
| 163 | 49 | 0 | 13 | $opt{'me'} and $is_field |
| 49 | 2 | 11 | $opt{'me'} and $is_field and not $is_foreign_field |
| line | l | !l | condition |
|---|---|---|---|
| 98 | 36 | 26 | $direction //= 'asc' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 90 | 14 | 22 | 2 | lc $1 eq 'desc' || lc $1 eq 'asc' |