Branch Coverage

blib/lib/SQL/QueryMaker.pm
Criterion Covered Total %
branch 33 50 66.0


line true false branch
25 1 5 if (ref $args eq 'HASH') { }
26 0 1 if defined $column
31 2 1 if (blessed $value and $value->can('bind_column')) { }
40 0 5 if ref $args ne 'ARRAY'
46 0 0 $op eq 'AND' ? :
0 5 if @$args == 0
50 9 2 if (blessed $arg and $arg->can('as_sql')) { }
54 0 2 unless defined $column
64 9 4 if (blessed $arg and $arg->can('as_sql')) { }
85 0 3 if ref $args ne 'ARRAY'
91 0 2 unless defined $column
93 0 0 $op eq 'IN' ? :
0 2 if @$args == 0
97 1 3 if (blessed $arg and $arg->can('as_sql')) { }
99 0 1 $term eq '?' ? :
109 1 5 if (blessed $arg and $arg->can('as_sql')) { }
142 12 4 @_ > $num_args ? :
143 0 16 if $num_args != @_
156 0 1 if $num_args != @$args
165 0 16 unless defined $column
182 44 5 unless $expr =~ /\@/
196 3 31 if ref $b and not blessed $b
208 4 0 if (defined $column)
209 0 4 if defined $$self{'column'}
217 2 23 if defined $supplied_colname