Branch Coverage

lib/CellBIS/SQL/Abstract.pm
Criterion Covered Total %
branch 35 60 58.3


line true false branch
21 2 1 if ($arg_len == 3)
24 1 2 if ($arg_len >= 4)
33 3 0 if (scalar @table_field == scalar @table_data)
35 0 3 if ($type and $type eq 'no-pre-st') { }
1 2 elsif ($type and $type eq 'pre-st') { }
71 4 4 if ($type eq 'pre-st') { }
97 8 0 if ($arg_len > 2 or $arg_len >= 5)
99 8 0 if ($self->can($method_name))
111 2 0 if (ref $clause eq 'HASH')
113 2 0 if (exists $clause->{'where'})
126 10 0 unless $arg_len < 2
135 3 0 unless $arg_len < 3
144 10 0 if ($arg_len >= 3)
160 0 2 unless ref $col_val eq 'HASH'
163 2 0 if (exists $clause->{'where'})
168 2 5 $self->QueryUtil->is_sql_function($col_val->{$_}) ? :
182 3 0 if (exists $clause->{'where'})
200 0 3 if ($type and $type eq 'no-pre-st') { }
202 0 0 if (exists $clause->{'where'})
212 3 0 if (exists $clause->{'where'})
231 9 1 if (ref $clause eq 'HASH') { }
237 9 0 if ($size_clause != 0) { }
239 4 5 if (scalar @col == 0) { }
243 5 0 ref $column eq 'ARRAY' ? :
254 0 0 if ($size_col == 0) { }
266 1 0 if ($size_col == 0) { }
286 0 3 if $size_col == 0
287 3 0 if $size_col >= 1
291 3 0 if (ref $clause eq 'HASH') { }
292 3 0 if (exists $clause->{'join'}) { }