Branch Coverage

blib/lib/Protocol/PostgreSQL/Statement.pm
Criterion Covered Total %
branch 8 40 20.0


line true false branch
103 0 1 unless $args{'dbh'}
104 0 1 unless defined $args{'sql'}
106 0 1 exists $args{'statement'} ? :
120 0 1 if exists $args{'on_ready'}
129 0 1 exists $args{'statement'} ? :
161 0 0 exists $$self{'statement'} ? :
173 0 0 if ($$self{'state'} eq 'ready') { }
198 0 0 unless $$self{'current_bind_values'}
213 0 0 unless $$self{'data_row'}
216 0 0 if exists $$self{'data_row'}
229 0 0 if $$self{'no_data'} and not $$self{'rows_seen'}
230 0 0 if $$self{'command_complete'}
257 0 0 if ($$self{'state'} eq 'ready' or $$self{'state'} eq 'bind') { }
259 0 0 exists $$self{'statement'} ? :
285 0 1 exists $$self{'statement'} ? :
306 0 0 if (@_)
322 0 1 if (my $msg = shift @{$$self{'bind_pending'};}) { }
334 0 1 if exists $$self{'on_ready'}
350 0 0 defined $$self{'statement'} ? :
0 0 exists $args{'on_complete'} ? :