Branch Coverage

blib/lib/DBIx/QuickORM/Connection/RowData.pm
Criterion Covered Total %
branch 51 88 57.9


line true false branch
33 12 5 $_[0]->active('no_fatal', 1) ? :
34 0 0 if ($_[0]->active('no_fatal', 1)) { }
41 0 0 unless ($reason)
50 0 0 $self->active('no_fatal', 1) // @old_stack ? :
52 0 0 $active ? :
54 0 0 if $pending and keys %$pending
70 0 111 unless my $src = $self->{'source'}
71 0 111 unless my $con = $self->{'connection'}
74 0 111 if ((builtin::reftype($src) // '') eq 'CODE') { }
83 0 111 unless $src_obj and builtin::blessed($src_obj) and $src_obj->DOES("DBIx::QuickORM::Role::Source")
87 0 111 if ((builtin::reftype($con) // '') eq 'CODE') { }
96 0 111 unless $con_obj and builtin::blessed($con_obj) and $con_obj->isa("DBIx::QuickORM::Connection")
111 412 53 unless my $txn = $stack->[0]{'transaction'}
115 4 7 unless $res
117 0 7 if (@$stack) { }
122 4 0 if not defined $_->result
127 454 13 if @$stack
131 11 2 if $params{'no_fatal'}
139 1 64 unless my $active = $self->active("no_fatal", 1)
144 2 62 $state_txn ? :
145 2 62 $row_txn ? :
147 0 64 if defined $state_res and not $state_res
153 64 0 if ($merge) { }
169 0 1 if @$stack and not $state->{'transaction'}
180 56 8 if (my $stored = $merge->{'stored'}) { }
8 0 elsif (exists $merge->{'stored'}) { }
181 13 43 if (my $pending = $into->{'pending'}) { }
187 21 16 if $self->compare_field($field, $into->{'stored'}, $stored, $source, $connection)
190 15 1 if $pending->{$field}
192 13 0 if keys %$pending
196 43 0 $into->{'stored'} ? :
205 11 53 if exists $merge->{'desync'} and not $merge->{'desync'}
208 0 64 if (my $pending = $merge->{'pending'}) { }
15 49 elsif (exists $merge->{'pending'}) { }
209 0 0 $into->{'pending'} ? :
210 0 0 $into->{'desync'} ? :
0 0 if $desync
216 0 64 if $into->{'pending'} and not keys %{$$into{"pending"};}
217 63 1 unless $into->{'pending'}
234 5 32 if $ae xor $be
235 0 0 unless $ae or $be
242 0 32 if $ad xor $bd
243 0 0 unless $ad or $bd
246 7 25 if $type