Condition Coverage

blib/lib/DBIx/Skinny/SQL.pm
Criterion Covered Total %
condition 34 57 59.6


and 3 conditions

line !l l&&!r l&&r condition
22 297 0 0 $self->$name and ref $self->$name eq 'ARRAY'
27 132 0 0 $self->$name and ref $self->$name eq 'HASH'
70 0 2 16 $alias && /(?:^|\.)\Q$alias\E$/
78 0 25 8 $self->joins and @{$self->joins;}
98 0 7 26 $self->from and @{$self->from;}
111 29 0 3 $comment and $comment =~ /([ 0-9a-zA-Z.:;()_#&,]+)/
136 7 3 56 $ref eq 'ARRAY' and scalar @$attribute == 0
150 0 29 19 $self->where && @{$self->where;}
157 0 32 1 $self->having && @{$self->having;}
288 5 0 2 $op eq 'IN' || $op eq 'NOT IN' and ref $v eq 'ARRAY'
318 35 0 3 $hint and ref $hint eq 'HASH'
319 0 0 3 $$hint{'list'} and @{$$hint{'list'};}

or 2 conditions

line l !l condition
56 1 0 $$hint{'type'} || 'USE'
258 6 0 $$val[0] || ''
321 3 0 $$hint{'type'} or 'USE'

or 3 conditions

line l !l&&r !l&&!r condition
38 10 2 0 $col ||= $term
258 1 4 2 ref $$val[0] or ($$val[0] || '') eq '-and'
283 0 7 0 $$val{'column'} || $col
288 1 1 5 $op eq 'IN' || $op eq 'NOT IN'
329 0 0 0 $table || $self->from->[0]