Branch Coverage

blib/lib/Pg/Explain/FromYAML.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
58 4 66 if ($source =~ s/ \A (\s*) Query \s+ Text : \s+ " ( [^\n]* ) " \s* \n //msux)
75 0 70 unless ($source =~ s/\A .*? ^ (\s*) ( - \s+ Plan: \s*\n )/$1$2/msux)
88 4 66 if ($struct->{'Planning'}) { }
49 17 elsif ($struct->{'Planning Time'}) { }
91 3 1 if $buffers
96 53 17 if $struct->{'Execution Time'}
97 8 62 if $struct->{'Total Runtime'}
98 1 69 if ($struct->{'Triggers'})
101 2 0 if defined $t->{'Calls'}
102 2 0 if defined $t->{'Time'}
103 2 0 if defined $t->{'Relation'}
104 2 0 if defined $t->{'Trigger Name'}
108 1 69 if $struct->{'JIT'}
110 2 68 if $struct->{'Settings'} and 0 < scalar keys %{$$struct{"Settings"};}