Branch Coverage

blib/lib/Jifty/DBI/Handle/Pg.pm
Criterion Covered Total %
branch 11 34 32.3


line true false branch
58 0 0 unless ($sth)
62 0 0 if ($args{'id'} or $args{'Id'})
68 0 0 unless ($sequence_name)
87 0 0 if exists $$self{'_sequences'}{$table}
96 0 0 if (defined $$foo{'COLUMN_DEF'} and $$foo{'COLUMN_DEF'} =~ /^nextval\(+'"?([^"']+)"?'(::(?:text|regclass)\))+/i)
128 0 0 if $type =~ /^(?:blob|bytea)$/
148 0 0 if ($per_page)
151 0 0 if ($first and $first != 0)
175 0 0 if ($self->_case_insensitivity_valid($column, $operator, $value))
177 0 0 if ($operator =~ /^(IN|=)$/i and ref $value eq 'ARRAY') { }
198 4 3 unless defined $$_{'alias'} and $$_{'alias'} ne 'main'
1 0 if (grep {defined $$_{'function'} unless defined $$_{'alias'} and $$_{'alias'} ne 'main';} @{$collection->order_by;}) { }
207 1 0 unless $$collection{'group_by'}
214 0 7 if ($column =~ /\W/)
218 4 3 if $alias
222 3 2 $order =~ /^des/i ? :
2 5 (!$alias || $alias eq 'main.') && $column eq 'id' ? :