Branch Coverage

blib/lib/DBIx/Lite/Row.pm
Criterion Covered Total %
branch 8 24 33.3


line true false branch
16 0 0 unless my(@keys) = $selfs->{'table'}->pk
19 0 0 if grep((!exists $selfs->{'data'}{$_}), @keys)
35 0 0 unless my $update_cols = shift()
54 0 0 unless $rel_name
59 0 0 unless my($table_name, $my_key, $their_key) = $self->_relationship($rel_name)
71 0 4 unless my($rel_type) = grep($selfs->{'table'}{$_}{$rel_name}, ('has_one', 'has_many'))
78 0 4 unless exists $selfs->{'data'}{$my_key}
85 0 0 unless my $key = shift()
92 0 9 unless my $self = shift()
98 5 4 if (exists $selfs->{'data'}{$method})
102 4 0 if (my($table_name, $my_key, $their_key, $rel_type) = $self->_relationship($method))
106 2 2 $rel_type eq 'has_many' ? :