Branch Coverage

blib/lib/Pg/SQL/PrettyPrinter/Node/SubLink.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
55 0 10 unless exists $known_types{$self->{'subLinkType'}}
58 3 7 if ($self->{'subLinkType'} =~ /\A(?:ALL|ANY)_SUBLINK\z/u)
61 2 8 if (exists $self->{'operName'})
62 0 2 if 1 != scalar @{$self->{'operName'};}
72 3 6 if ($self->{'subLinkType'} =~ /\A(ANY|ALL)_SUBLINK\z/u) { }
1 5 elsif ($self->{'subLinkType'} eq 'ARRAY_SUBLINK') { }
1 4 elsif ($self->{'subLinkType'} eq 'EXISTS_SUBLINK') { }
74 2 1 if (exists $self->{'operName'}) { }
96 3 5 if ($self->{'subLinkType'} =~ /\A(ANY|ALL)_SUBLINK\z/u) { }
1 4 elsif ($self->{'subLinkType'} eq 'ARRAY_SUBLINK') { }
1 3 elsif ($self->{'subLinkType'} eq 'EXISTS_SUBLINK') { }
98 2 1 if (exists $self->{'operName'}) { }