Branch Coverage

blib/lib/SQL/Concat.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
26 4 6 unless defined $value
32 1 5 unless @items
33 5 0 unless my(@non_empty) = _nonempty(@items)
41 4 8 if (not defined $item && (ref $item || $item =~ /\S/)) { }
8 0 elsif (not $item->{'sql'} =~ /\S/) { }
89 0 6 ref $_[0] ? :
96 32 25 ref $_[0] ? :
97 0 57 if (defined $self->{'sql'})
103 1 110 unless defined $item
104 67 43 if (not ref $item) { }
108 22 21 if ref $item eq 'ARRAY'
130 43 0 $self->{'bind'} ? :
132 2 40 unless ($self->count_placeholders == $nbinds)
143 1 42 unless (defined $self->{'sql'})
152 13 0 if (wantarray) { }
162 0 0 if (ref $_[0])
165 0 0 if ($_[0] =~ /\`/)