Branch Coverage

blib/lib/PgSQL.pm
Criterion Covered Total %
branch 2 92 2.1


line true false branch
70 0 1 if ($host) { }
80 0 1 if ($self)
92 0 0 if ($@)
107 0 0 unless ($self->packetSend($self->startup_packet))
113 0 0 if $self->wait(1, 0)
115 0 0 if $resp eq 'E'
116 0 0 if $resp ne 'R'
119 0 0 if ($areq == AUTH_REQ_CRYPT())
121 0 0 if $self->pqGetnchar($salt, 4)
126 0 0 if $areq == AUTH_REQ_OK()
136 0 0 if ($val)
139 0 0 if $val eq 'default'
150 0 0 if ($self->opened)
163 0 0 unless $self->putint(4 + $len, 4)
164 0 0 unless $self->write($buf, $len)
165 0 0 unless $self->flush
188 0 0 $sz == 4 ? :
195 0 0 $sz == 4 ? :
205 0 0 if $forRead or $forWrite
206 0 0 if $forRead and $sel->can_read or $forWrite and $sel->can_write
217 0 0 if $areq == AUTH_REQ_OK()
218 0 0 unless $password
233 0 0 unless $stat
234 0 0 if $is_select
249 0 0 unless $self->print('Q' . $query . "\000")
257 0 0 unless $self->parseInput
271 0 0 unless defined $id
272 0 0 if $id eq "\000"
275 0 0 if $id eq 'A'
276 0 0 if $id eq 'N'
277 0 0 if $id eq 'C'
278 0 0 if $id eq 'E'
279 0 0 if $id eq 'Z'
280 0 0 if $id eq 'I'
281 0 0 if $id eq 'K'
282 0 0 if $id eq 'P'
283 0 0 if $id eq 'T'
284 0 0 if $id eq 'D'
285 0 0 if $id eq 'B'
286 0 0 if $id eq 'G'
287 0 0 if $id eq 'H'
384 0 0 if $nfields % 8
394 0 0 if ($bit)
413 0 0 if int $_ == 0 and $_ eq "\000"
444 0 0 if (defined $msg)
452 0 0 if $lvl