Branch Coverage

blib/lib/Pg/SQL/PrettyPrinter/Node/SelectStmt.pm
Criterion Covered Total %
branch 70 72 97.2


line true false branch
54 5 113 if ($self->setop) { }
66 127 41 if $self->{'op'} eq "SETOP_NONE"
69 14 27 if $self->{'all'}
88 16 105 if (exists $self->{'valuesLists'})
92 2 103 if (exists $self->{'withClause'})
94 1 1 if $self->{'withClause'}{'recursive'}
97 100 5 $self->{'op'} eq 'SETOP_NONE' ? :
103 1 4 if (($self->{'larg'}->setop // '') eq $self->setop) { }
110 0 5 if (($self->{'rarg'}->setop // '') eq $self->setop) { }
122 2 98 if (exists $self->{'distinctClause'})
123 1 1 if (0 == scalar @{$self->{'distinctClause'};}) { }
134 62 38 if (exists $self->{'fromClause'})
137 10 90 if (exists $self->{'whereClause'})
140 5 95 if (exists $self->{'groupClause'})
143 1 99 if (exists $self->{'havingClause'})
146 12 88 if (exists $self->{'sortClause'})
149 10 90 if (exists $self->{'limitCount'})
152 1 99 if (exists $self->{'limitOffset'})
155 9 91 if (exists $self->{'lockingClause'})
166 16 100 if (exists $self->{'valuesLists'})
176 95 5 $self->{'op'} eq 'SETOP_NONE' ? :
177 98 2 unless exists $self->{'withClause'}
185 1 1 if ($self->{'withClause'}{'recursive'}) { }
201 1 4 if (($self->{'larg'}->setop // '') eq $self->setop) { }
210 0 5 if (($self->{'rarg'}->setop // '') eq $self->setop) { }
225 2 93 if (exists $self->{'distinctClause'})
226 1 1 if (0 == scalar @{$self->{'distinctClause'};}) { }
241 137 95 unless $is_last
244 57 38 if (exists $self->{'fromClause'})
251 9 86 if (exists $self->{'whereClause'})
255 5 90 if (exists $self->{'groupClause'})
262 1 94 if (exists $self->{'havingClause'})
266 12 83 if (exists $self->{'sortClause'})
274 10 85 if (exists $self->{'limitCount'})
277 1 94 if (exists $self->{'limitOffset'})
280 9 86 if (exists $self->{'lockingClause'})