Branch Coverage

blib/lib/MemcacheDBI.pm
Criterion Covered Total %
branch 2 58 3.4


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
132 0 0 if $$self{'AutoCommit'}
141 0 0 if $DEBUG and $DEBUG > 1
145 0 0 if $DEBUG and $DEBUG > 3
146 0 0 unless $$self{'MemcacheDBI'}{'dbh'}->can($field)
149 0 0 unless $$self{'MemcacheDBI'}{'dbh'}->can($field)
161 0 0 if ref $handle eq 'HASH'
169 0 0 if $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue_delete'}{$key}
170 0 0 if (exists $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue'}{$key})
179 0 0 if ($$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'})
189 0 0 if ($$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'})
197 0 0 $val ? :
203 0 0 if (scalar @_ and not $$self{'MemcacheDBI'}{'dbh'}{'AutoCommit'} and $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue_delete'} || $$self{'MemcacheDBI'}{'dbh'}{'MemcacheDBI'}{'queue'})
246 0 0 if $key eq 'MemcacheDBI'
258 0 0 if $key eq 'MemcacheDBI'
270 0 0 unless ref $tmp eq 'HASH'