Condition Coverage

blib/lib/OData/QueryParams/DBIC.pm
Criterion Covered Total %
condition 17 20 85.0


and 3 conditions

line !l l&&!r l&&r condition
51 63 6 1 $opts{'strict'} and not $param_key =~ /\A\$/msux
90 1 2 17 $1 and lc $1 eq 'desc' || lc $1 eq 'asc'
147 0 0 62 $obj->{'sub_type'} && $obj->{'sub_type'} eq 'field'
150 49 0 13 $opt{'me'} and $is_field
49 2 11 $opt{'me'} and $is_field and not $is_foreign_field

or 2 conditions

line l !l condition
92 18 13 $direction //= 'asc'

or 3 conditions

line l !l&&r !l&&!r condition
90 7 11 1 lc $1 eq 'desc' || lc $1 eq 'asc'