Branch Coverage

lib/CellBIS/SQL/Abstract/Util.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
33 3 3 if $_->{'primary'}
34 3 0 @get_primaryTbl ? :
37 3 0 if (@get_primaryTbl)
44 3 0 if (exists $get_primaryTbl[0]{'alias'})
59 3 0 if (exists $get_table_data->{'alias'}) { }
62 3 0 if $i > 1 or $i <= $size_join - 1
67 0 0 if $i > 1 or $i <= $size_join - 1
82 12 5 if (exists $clause->{'where'})
85 11 6 if (exists $clause->{'orderby'} and not exists $clause->{'groupby'})
88 1 11 if (exists $clause->{'orderby'} and exists $clause->{'groupby'})
95 9 0 if (exists $clause->{'order'} and exists $clause->{'orderby'})
98 11 6 if (exists $clause->{'limit'})
110 3 0 if exists $data_type{$type}
120 1 2 $_ =~ qr/(date|datetime|now|NOW)/ ? :
133 0 0 $_ ? :
0 7 $_ =~ qr/(date|datetime|now|NOW)/ ? :