Condition Coverage

blib/lib/SQL/Interp.pm
Criterion Covered Total %
condition 14 17 82.3


and 3 conditions

line !l l&&!r l&&r condition
147 16 0 2 keys %$item == 1 and defined $item->{'value'}
161 141 0 4 $sql =~ /\b(?:ON\s+DUPLICATE\s+KEY\s+UPDATE|SET)\s*$/is and ref $item eq 'HASH'
216 29 0 4 defined $next_item and ref $next_item eq ''
29 2 2 defined $next_item and ref $next_item eq '' and $next_item =~ /\s*AS\b/is

or 2 conditions

line l !l condition
162 2 22 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
264 154 2 27 $sql =~ /(^|\s)$/ or $item =~ /^\s/