Condition Coverage

blib/lib/Data/ObjectDriver/SQL.pm
Criterion Covered Total %
condition 37 51 72.5


and 3 conditions

line !l l&&!r l&&r condition
68 0 2 13 $alias && /(?:^|\.)\Q$alias\E$/
76 0 22 8 $stmt->joins and @{$stmt->joins;}
107 26 0 3 $comment and $comment =~ /([ 0-9a-zA-Z.:;()_#&,]+)/
139 0 29 23 $stmt->where && @{$stmt->where;}
146 0 29 1 $stmt->having && @{$stmt->having;}
257 10 2 2 $op eq 'IN' || $op eq 'NOT IN' and ref $val->{'value'} eq 'ARRAY'
10 1 1 $op eq 'IN' || $op eq 'NOT IN' and ref $val->{'value'} eq 'REF'
10 0 1 $op eq 'BETWEEN' and ref $val->{'value'} eq 'ARRAY'
313 32 0 3 $hint and ref $hint eq 'HASH'
314 0 0 3 $hint->{'list'} and @{$hint->{'list'};}

or 2 conditions

line l !l condition
56 1 0 $hint->{'type'} || 'USE'
233 5 1 $val->[0] || ''
316 3 0 $hint->{'type'} or 'USE'

or 3 conditions

line l !l&&r !l&&!r condition
36 8 1 0 $col ||= $term
233 2 4 2 ref $val->[0] or ($val->[0] || '') eq '-and'
254 1 13 0 $val->{'column'} || $col
257 3 1 10 $op eq 'IN' || $op eq 'NOT IN'
2 0 10 $op eq 'IN' || $op eq 'NOT IN'