Branch Coverage

blib/lib/Pg/SQL/PrettyPrinter/Node/InsertStmt.pm
Criterion Covered Total %
branch 43 48 89.5


line true false branch
55 7 9 if (exists $self->{'onConflictClause'})
56 0 7 unless $self->{'onConflictClause'}{'action'} =~ /\AONCONFLICT_(?:NOTHING|UPDATE)\z/u
70 16 16 unless ($self->{'_relname'})
84 12 4 if (exists $self->{'cols'})
91 1 15 if (exists $self->{'withClause'})
93 0 1 if $self->{'withClause'}{'recursive'}
97 3 13 if (exists $self->{'returningList'})
108 12 4 if (exists $self->{'cols'})
115 1 15 if (exists $self->{'withClause'})
123 0 1 if ($self->{'withClause'}{'recursive'}) { }
135 3 13 if (exists $self->{'returningList'})
146 18 14 unless exists $self->{'onConflictClause'}
152 10 4 if ($C->{'infer'})
154 2 8 if (exists $I->{'conname'}) { }
8 0 elsif (exists $I->{'indexElems'}) { }
161 8 6 if ($A eq 'ONCONFLICT_NOTHING') { }
6 0 elsif ($A eq 'ONCONFLICT_UPDATE') { }
168 10 2 if (exists $item->{'col'}) { }
182 6 6 if $indent
188 2 4 if (exists $C->{'whereClause'})
190 1 1 if ($indent) { }
204 4 3 unless exists $C->{'targetList'}
211 1 6 if ($multi_join > 0)
217 1 5 if ('Pg::SQL::PrettyPrinter::Node::MultiAssignRef' eq ref $val) { }