Branch Coverage

blib/lib/SQL/Abstract/Complete.pm
Criterion Covered Total %
branch 59 80 73.7


line true false branch
33 65 4 defined $_[1] ? :
0 69 $_[0]{'case'} ? :
40 10 6 unless ref $columns
41 0 16 unless $columns and @{$columns;} > 0
43 6 10 if ref $tables
51 1 0 ref $_ eq 'HASH' ? :
22 1 !ref($_) ? :
1 23 if (ref $_ eq 'SCALAR') { }
52 0 16 !ref($columns) ? :
0 16 ref $columns eq 'SCALAR' ? :
67 1 9 !ref($_) ? :
2 10 if (ref $_ eq 'SCALAR') { }
68 0 9 ref $_ eq 'HASH' ? :
69 2 7 ref $parts[0] eq 'SCALAR' ? :
73 4 3 !ref($parts[-1]) && @parts > 1 ? :
1 7 ref $parts[-1] eq 'HASH' && @parts > 1 ? :
1 8 ref $parts[-1] eq 'SCALAR' ? :
75 1 0 if $join_def->{'join'}
78 0 0 unless $join_def->{'using'}
82 0 0 $join_def->{'on'} ? :
1 0 $join_def->{'using'} ? :
0 1 if (ref($join_def->{'using'} || $join_def->{'on'}) eq 'SCALAR') { }
92 0 9 ref $table_def eq 'SCALAR' ? :
0 9 !ref($table_def) ? :
93 4 5 if ref $table_def eq "HASH"
96 3 6 unless ($core_table)
104 9 0 @{$table_def;} ? :
110 5 0 ref $tables ? :
10 5 !ref($tables) ? :
1 15 ref $tables eq 'SCALAR' ? :
117 0 16 if ($meta->{'limit'})
120 0 0 ref $meta->{'limit'} eq 'ARRAY' ? :
122 2 14 if $meta->{'page'}
126 56 56 if defined $_
139 2 0 if scalar @having_bind
142 2 14 $meta->{'group_by'} ? :
2 14 $meta->{'having'} ? :
2 14 $meta->{'order_by'} ? :
2 14 $offset || $rows ? :
150 5 11 wantarray ? :