Branch Coverage

blib/lib/DBIx/UpdateTable/FromHoH.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
25 0 0 unless $v1_def or $v2_def
26 0 10 if $v1_def xor $v2_def
113 2 0 unless ($data_columns)
123 2 0 unless grep {$_ eq $key_column;} @columns
126 2 0 if $use_tx
141 1 5 unless (exists $hoh->{$key})
152 1 5 unless exists $hoh_table->{$key}
156 5 10 if $column eq $key_column
157 1 9 unless (_eq($hoh_table->{$key}{$column}, $hoh->{$key}{$column}))
162 4 1 unless @update_columns
165 0 1 if grep {$column eq $_;} @columns
184 1 0 unless grep {$_ eq $column;} @insert_columns
189 1 5 unless (exists $hoh_table->{$key})
192 1 3 if ($column eq $key_column) { }
1 2 elsif (grep {$column eq $_;} @extra_insert_columns) { }
206 2 0 if $use_tx
208 1 1 $num_rows_deleted || $num_rows_inserted || $num_rows_updated ? :