Branch Coverage

blib/lib/Teng/Row.pm
Criterion Covered Total %
branch 41 48 85.4


line true false branch
37 10 302 if @_
52 0 302 if ($self->{'_untrusted_row_data'}{$col})
57 268 34 unless ($data)
58 232 36 $self->{'table'} ? :
73 1 390 unless ($col)
77 388 2 if (exists $self->{'row_data'}{$col}) { }
78 3 385 if (exists $self->{'_dirty_columns'}{$col}) { }
100 28 11 if ($opts{'deflate'} or $self->handle->{'force_deflate_set_column'})
106 7 32 if ($has_same_value or $both_are_undef)
107 1 6 if (exists $self->{'_dirty_columns'}{$col})
115 2 30 if (ref $val eq "SCALAR")
146 1 36 if (ref $self eq "Teng::Row")
152 0 36 unless ($table)
156 23 13 if ($upd)
162 2 34 if ($where) { }
173 9 23 unless %$upd
177 23 0 if ($result > 0)
191 1 14 if (ref $self eq "Teng::Row")
209 0 55 unless ($table)
215 2 53 unless ($pk)
220 53 0 if (ref $pk eq 'ARRAY') { }
221 2 51 unless (@$pk)
227 4 47 unless (grep({exists $pks{$_};} @{$$self{"select_columns"};}) == @$pk)
233 0 0 unless (grep {$pk eq $_;} @{$$self{"select_columns"};})