Branch Coverage

blib/lib/MemcacheDBI.pm
Criterion Covered Total %
branch 2 60 3.3


line true false branch
58 0 0 if $DEBUG and $DEBUG > 3
60 0 0 ref $class ? :
62 0 0 if (ref $handle eq 'DBI::db') { }
0 0 elsif (ref $handle eq 'Cache::Memcached::Fast') { }
0 0 elsif (ref $handle eq 'HASH') { }
72 0 0 unless (ref $class)
73 0 0 unless $$node{'MemcacheDBI'}{'dbh'}
98 0 2 if $DEBUG and $DEBUG > 3
101 2 0 unless eval { do { $node{'MemcacheDBI'}{'dbh'} = 'DBI'->connect(@_) } }
102 0 0 unless $node{'MemcacheDBI'}{'dbh'}
113 0 0 if $DEBUG and $DEBUG > 3
116 0 0 if $$self{'AutoCommit'}
118 0 0 if $memd
129 0 0 if $DEBUG and $DEBUG > 3
131 0 0 if $$self{'AutoCommit'}
133 0 0 if $memd
142 0 0 if $DEBUG and $DEBUG > 1
146 0 0 if $DEBUG and $DEBUG > 3
147 0 0 unless $$self{'MemcacheDBI'}{'dbh'}->can($field)
150 0 0 unless $$self{'MemcacheDBI'}{'dbh'}->can($field)
162 0 0 if ref $handle eq 'HASH'
170 0 0 if $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue_delete'}{$key}
171 0 0 if (exists $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue'}{$key})
180 0 0 if ($$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'})
190 0 0 if ($$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'})
198 0 0 $val ? :
204 0 0 if (scalar @_ and not $$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'} and $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue_delete'} || $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue'})
255 0 0 if $key eq 'MemcacheDBI'
267 0 0 if $key eq 'MemcacheDBI'
279 0 0 unless ref $tmp eq 'HASH'