Branch Coverage

blib/lib/Fey/Object/Table.pm
Criterion Covered Total %
branch 2 44 4.5


line true false branch
82 4 0 if (delete $p->{'_from_query'})
99 4 0 if &all(sub { defined $p->{$_}; } , map({$_->name;} @{$self->Table->primary_key;}))
130 0 0 unless &all(sub { defined $p->{$_}; } , @names)
132 0 0 if $self->_load_from_key($key, [@{$p;}{@names}])
148 0 0 if $self->_get_column_values($select, $bind)
187 0 0 unless $fetched
244 0 0 if $select
292 0 0 if (defined $val and &blessed($val) and $val->can('does') and $val->does('Fey::Role::IsLiteral') || $val->does('Fey::Role::SQL::ReturnsData')) { }
304 0 0 if ref $val
330 0 0 $wantarray ? :
338 0 0 unless $dbh->{'Driver'}{'Name'} eq 'Pg'
341 0 0 lc $self->Table->column($_)->type eq 'bytea' ? :
346 0 0 unless grep {keys %{$_;};} @attr
375 0 0 unless defined $wantarray
384 0 0 if @{$ref_row_keys;}
395 0 0 if (@{$attr;}) { }
412 0 0 @_ ? :
416 0 0 $meth ? :
439 0 0 defined $data->{$_} && &blessed($data->{$_}) && $data->{$_}->can('does') && ($data->{$_}->does('Fey::Role::IsLiteral') || $data->{$_}->does('Fey::Role::SQL::ReturnsData')) ? :
487 0 0 if (ref $p{$k}) { }
534 0 0 unless $source
543 0 0 unless my(@vals) = $self->pk_values_list