Branch Coverage

blib/lib/Pg/SQL/PrettyPrinter/Node/GroupingSet.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
50 0 4 unless $self->{'kind'} =~ /\AGROUPING_SET_(?:SETS|EMPTY|CUBE|ROLLUP)\z/u
58 2 6 if "GROUPING_SET_EMPTY" eq $self->{'kind'}
60 2 4 if ($self->{'kind'} eq 'GROUPING_SET_SETS') { }
2 2 elsif ($self->{'kind'} eq 'GROUPING_SET_CUBE') { }
2 0 elsif ($self->{'kind'} eq 'GROUPING_SET_ROLLUP') { }
74 1 3 if "GROUPING_SET_EMPTY" eq $self->{'kind'}
77 2 1 if 40 >= length $text
80 1 0 if ($self->{'kind'} eq 'GROUPING_SET_SETS') { }
0 0 elsif ($self->{'kind'} eq 'GROUPING_SET_CUBE') { }
0 0 elsif ($self->{'kind'} eq 'GROUPING_SET_ROLLUP') { }