Branch Coverage

blib/lib/Data/Queue/Persistent.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
26 0 0 unless $dsn or $dbh
34 0 0 unless my $key = delete $opts{'id'}
42 0 0 if ($dsn)
43 0 0 unless $dbh = 'DBI'->connect($dsn, $username, $pass)
58 0 0 if $self->caching and not $noload
78 0 0 if $self->caching
83 0 0 if $self->dbh->err
96 0 0 if $self->dbh->err
98 0 0 defined $idx ? :
106 0 0 if $self->dbh->err
113 0 0 unless $self->table_name
116 0 0 if $self->table_exists
127 0 0 unless my $table = $self->table_name
128 0 0 unless $self->table_exists
131 0 0 if $self->dbh->err
133 0 0 unless $rows and @$rows
149 0 0 if $self->caching
158 0 0 if $self->dbh->get_info(29)
179 0 0 if $self->caching
182 0 0 if ($dbh->err)
193 0 0 if defined $max_size and $length > $max_size
201 0 0 defined $_count ? :
204 0 0 if ($self->caching)
216 0 0 if $self->dbh->err
221 0 0 unless @vals
231 0 0 unless defined $_count
239 0 0 unless defined $offset or defined $length
241 0 0 unless defined $length
244 0 0 $opts{'reverse'} ? :
249 0 0 if $self->dbh->err
251 0 0 wantarray ? :
258 0 0 if $self->caching