Branch Coverage

blib/lib/SQL/Abstract/Complete.pm
Criterion Covered Total %
branch 58 78 74.3


line true false branch
32 63 4 defined $_[1] ? :
0 67 $_[0]{'case'} ? :
37 9 6 unless $columns and @{$columns;} > 0
38 6 9 if ref $tables
46 1 0 ref $_ eq 'HASH' ? :
21 1 !ref($_) ? :
1 22 ref $_ eq 'SCALAR' ? :
47 0 15 !ref($columns) ? :
0 15 ref $columns eq 'SCALAR' ? :
62 1 9 !ref($_) ? :
2 10 ref $_ eq 'SCALAR' ? :
63 0 9 ref $_ eq 'HASH' ? :
64 2 7 ref $parts[0] eq 'SCALAR' ? :
68 4 3 !ref($parts[-1]) && @parts > 1 ? :
1 7 ref $parts[-1] eq 'HASH' && @parts > 1 ? :
1 8 ref $parts[-1] eq 'SCALAR' ? :
70 1 0 if $$join_def{'join'}
72 0 0 unless $$join_def{'using'}
73 0 0 $$join_def{'on'} ? :
1 0 $$join_def{'using'} ? :
0 1 ref($$join_def{'using'} || $$join_def{'on'}) eq 'SCALAR' ? :
87 0 9 ref $table_def eq 'SCALAR' ? :
0 9 !ref($table_def) ? :
88 4 5 if ref $table_def eq 'HASH'
91 3 6 unless ($core_table)
99 9 0 @{$table_def;} ? :
105 5 0 ref $tables ? :
9 5 !ref($tables) ? :
1 14 ref $tables eq 'SCALAR' ? :
112 0 15 if ($$meta{'limit'})
114 0 0 ref $$meta{'limit'} eq 'ARRAY' ? :
117 2 13 if $$meta{'page'}
119 53 52 if defined $_
131 2 13 $$meta{'group_by'} ? :
2 13 $$meta{'having'} ? :
2 13 $$meta{'order_by'} ? :
2 13 $offset || $rows ? :
134 2 0 if scalar @having_bind
145 5 10 wantarray ? :