Branch Coverage

blib/lib/HashDataRole/Source/DBI.pm
Criterion Covered Total %
branch 30 46 65.2


line true false branch
20 1 0 if (defined $dbh) { }
0 0 elsif (defined $dsn) { }
31 1 0 unless (defined $iterate_sth)
32 0 1 unless $dbh and defined $table and defined $key_column and defined $val_column
41 1 0 unless (defined $get_by_key_sth)
42 0 1 unless $dbh and defined $table and defined $key_column and defined $val_column
51 1 0 unless (defined $row_count_sth)
52 0 1 unless $dbh and defined $table
60 0 1 if keys %args
75 0 6 unless defined $self->{'pos'}
77 3 3 if (exists $self->{'buf'}) { }
82 0 3 unless $row
90 0 5 unless defined $self->{'pos'}
92 0 5 if (exists $self->{'buf'})
96 2 3 unless $row
121 1 1 if $self->{'pos'} > $pos
123 1 1 unless $self->has_next_item
125 1 0 if $self->{'pos'} > $pos
131 1 1 if $self->{'pos'} > $pos
133 1 2 unless $self->has_next_item
135 0 2 if $self->{'pos'} > $pos
143 1 1 unless $row
151 1 1 $row ? :