Branch Coverage

blib/lib/ArrayDataRole/Source/DBI.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
20 1 0 if (defined $dbh) { }
0 0 elsif (defined $dsn) { }
31 0 1 if (defined $sth) { }
33 0 1 unless $dbh
36 0 1 if (defined $query) { }
1 0 elsif (defined $table and defined $column) { }
49 0 1 if (defined $row_count_sth) { }
51 0 1 unless $dbh
54 0 1 if (defined $row_count_query) { }
1 0 elsif (defined $table) { }
65 0 1 if keys %args
81 6 3 if (exists $self->{'buf'}) { }
86 0 3 unless $row
94 0 8 if (exists $self->{'buf'})
98 2 6 unless $row
123 2 1 if $self->{'pos'} > $pos
125 1 4 unless $self->has_next_item
127 2 2 if $self->{'pos'} > $pos
133 1 2 if $self->{'pos'} > $pos
135 1 2 unless $self->has_next_item
137 1 1 if $self->{'pos'} > $pos