Condition Coverage

blib/lib/Basset/DB/Table.pm
Criterion Covered Total %
condition 2 36 5.5


and 3 conditions

line !l l&&!r l&&r condition
4164 0 0 0 defined $$clauses{'having'} and not defined $$clauses{'group by'}
4582 0 0 0 @$cols == 0 and $join ne 'natural'
4585 0 0 0 not $found and $idx < @last_tables

or 2 conditions

line l !l condition
1158 39 6 $self->$prop || []
4157 0 0 shift() || {}
4931 0 0 shift @relational || '='

or 3 conditions

line l !l&&r !l&&!r condition
2644 0 0 0 $self->_cached_queries->{$querykey} || 'insert into ' . $self->name . ' (' . join(', ', @cols) . ') values (' . join(', ', $self->db_translate_write('I', @cols)) . ')'
2773 0 0 0 $self->_cached_queries->{$querykey} || 'replace into ' . $self->name . ' (' . join(', ', @cols) . ') values (' . join(', ', $self->db_translate_write('R', @cols)) . ')'
2904 0 0 0 $self->_cached_queries->{$querykey} || 'update ' . $self->name . ' set ' . join(', ', map({$_ . ' = ' . $self->db_translate_write('U', $_);} @cols))
3070 0 0 0 $self->_cached_queries->{$querykey} || 'select ' . join(', ', map({$self->extra_select->{$_} ? $self->extra_select->{$_} . ' as ' . $_ : ($self->is_column($_) ? $self->db_translate_read($_) . ' as ' . $self->alias_column($_) : $_);} @cols)) . ' from ' . $self->name
4024 0 0 0 $self->references->{$column} || $self->error('Column does not reference any other table', 'BDT-16')
4917 0 0 0 not defined $name or $name eq $t->name
5163 0 0 0 $persistent_class->arbitrary_sql(@_) || $class->error($persistent_class->errvals)