Branch Coverage

blib/lib/TableDataRole/Source/DBI.pm
Criterion Covered Total %
branch 23 40 57.5


line true false branch
23 1 0 if (defined $dbh) { }
0 0 elsif (defined $dsn) { }
33 0 1 if (defined $sth) { }
35 0 1 unless $dbh
38 0 1 if (defined $query) { }
1 0 elsif (defined $table) { }
51 0 1 if (defined $row_count_sth) { }
53 0 1 unless $dbh
56 0 1 if (defined $row_count_query) { }
1 0 elsif (defined $table) { }
67 0 1 if keys %args
84 3 3 if ($self->{'buffer'}) { }
86 0 3 if (not ref $row and $row == -1) { }
93 0 3 unless $row
102 4 0 unless ($self->{'buffer'})
105 1 3 if (not ref $self->{'buffer'} and $self->{'buffer'} == -1) { }
119 2 5 wantarray ? :
124 3 1 $self->_peek_row ? :
130 0 5 unless $row_hashref
143 0 1 unless $row