Branch Coverage

blib/lib/Pg/Explain/FromXML.pm
Criterion Covered Total %
branch 37 44 84.0


line true false branch
58 2413 248 if $key ne $new_key
62 68 0 if ($struct->{'Plans'} and $struct->{'Plans'}{'Plan'})
65 31 37 if ('HASH' eq ref $struct->{'Plans'}{'Plan'}) { }
74 3 174 if ($struct->{'Group Key'})
76 1 2 if ('ARRAY' eq ref $items) { }
84 1 176 if ($struct->{'Conflict Arbiter Indexes'})
103 0 67 unless ($source =~ s[\A .*? ^ \s* () \s* $][$1]msux)
107 0 67 unless ($source =~ s[^ \s* \s* $ .* \z][]msux)
115 63 4 if defined $struct->{'Query'}
119 4 63 if ($struct->{'Planning'}) { }
48 15 elsif ($struct->{'Planning-Time'}) { }
122 3 1 if $buffers
127 52 15 if $struct->{'Execution-Time'}
128 7 60 if $struct->{'Total-Runtime'}
129 59 8 if ($struct->{'Triggers'})
132 2 0 if defined $t->{'Calls'}
133 2 0 if defined $t->{'Time'}
134 2 0 if defined $t->{'Relation'}
135 2 0 if defined $t->{'Trigger-Name'}
139 1 66 if $struct->{'JIT'}
141 4 63 if $struct->{'Query-Text'}
143 2 65 if $struct->{'Settings'} and 0 < scalar keys %{$$struct{"Settings"};}