Branch Coverage

blib/lib/Bot/BasicBot/Pluggable/Store/DBI.pm
Criterion Covered Total %
branch 20 36 55.5


line true false branch
22 0 29 unless my $dsn = $self->{'dsn'}
30 0 1 unless my $table = $self->{'table'}
35 1 0 if (not $sth->fetch)
43 0 1 if ($self->{'create_index'})
55 0 4 unless my $table = $self->{'table'}
64 3 1 unless $row and @$row
70 0 2 unless my $table = $self->{'table'}
74 0 2 if ref $value
75 0 2 if (defined $self->get($namespace, $key)) { }
94 0 1 unless my $table = $self->{'table'}
116 0 4 unless my $table = $self->{'table'}
120 1 3 exists $opts{'res'} ? :
130 0 1 unless $re =~ s/^\^//
131 1 0 unless $re =~ s/\$$//
132 0 1 if $orig =~ /^[^\^].*[^\$]$/
137 0 4 if (exists $opts{'limit'})
145 0 4 if $opts{'_count_only'}
154 0 1 unless my $table = $self->{'table'}