Branch Coverage

blib/lib/Pg/SQL/PrettyPrinter/Node/XmlExpr.pm
Criterion Covered Total %
branch 44 52 84.6


line true false branch
60 0 13 unless $is_op_ok{$self->{'op'}}
61 0 13 unless $self->{'xmloption'} =~ /\AXMLOPTION_(DOCUMENT|CONTENT)\z/u
70 1 12 if $self->{'op'} eq "IS_XMLELEMENT"
71 1 11 if $self->{'op'} eq "IS_XMLFOREST"
72 2 9 if $self->{'op'} eq "IS_XMLPARSE"
73 2 7 if $self->{'op'} eq "IS_XMLPI"
74 4 3 if $self->{'op'} eq "IS_XMLROOT"
75 1 2 if $self->{'op'} eq "IS_XMLCONCAT"
76 2 0 if $self->{'op'} eq "IS_DOCUMENT"
81 1 12 if $self->{'op'} eq "IS_XMLELEMENT"
82 1 11 if $self->{'op'} eq "IS_XMLFOREST"
83 2 9 if $self->{'op'} eq "IS_XMLPARSE"
84 2 7 if $self->{'op'} eq "IS_XMLPI"
85 4 3 if $self->{'op'} eq "IS_XMLROOT"
86 1 2 if $self->{'op'} eq "IS_XMLCONCAT"
87 2 0 if $self->{'op'} eq "IS_DOCUMENT"
95 1 0 if (exists $self->{'named_args'})
102 1 0 if (exists $self->{'args'})
116 1 0 if (exists $self->{'named_args'})
123 1 0 if (exists $self->{'args'})
197 1 1 if (exists $self->{'args'})
210 1 1 if (exists $self->{'args'})
224 1 3 if $ver eq "NULL"
226 3 1 if ($self->{'args'}[2]->as_text != 3)
241 1 3 if $ver eq "NULL"
243 3 1 if ($self->{'args'}[2]->as_text != 3)