Branch Coverage

blib/lib/DBI/Gofer/Response.pm
Criterion Covered Total %
branch 4 70 5.7


line true false branch
44 1599 4855 if $args->{'errstr'}
55 2858 132 unless my $flags = (shift())->flags
67 0 0 if $errstr
69 0 0 if $trace and defined $err || $errstr
74 0 0 if ($r_errstr) { }
75 0 0 if $r_err and $err and $r_err ne $err
77 0 0 if $r_state and ($r_state ne 'S1000' and $state and $r_state ne $state)
79 0 0 if $r_errstr ne $errstr
87 0 0 if ($err or not defined $r_err or defined $err and length $err > length $r_err)
96 0 0 $state eq '00000' ? :
0 0 if $state and $err_changed
111 0 0 ref $rv ? :
112 0 0 if defined $err
115 0 0 if defined $self->{'flags'}
117 0 0 if defined $self->last_insert_id
120 0 0 if (my $dbh_attr = $self->dbh_attributes)
122 0 0 if @keys
126 0 0 unless $self->sth_resultsets
131 0 0 $rowset ? :
132 0 0 if ($rowset or $NUM_OF_FIELDS > 0)
135 0 0 if defined $err
136 0 0 if ($rows)
141 0 0 if $rows > 1
144 0 0 if $rs->{'syb_result_type'} and $rs->{'syb_result_type'} != 4040
148 0 0 unless $self->warnings
152 0 0 if ($context and %$context)
166 0 0 ref $rv ? :
167 0 0 if defined $err
170 0 0 if $self->{'flags'}
172 0 0 if (my $sth_resultsets = $self->sth_resultsets)
176 0 0 unless $self->sth_resultsets
181 0 0 $rowset ? :
182 0 0 if ($rowset or $NUM_OF_FIELDS > 0)
185 0 0 $summary ? :
0 0 if defined $err