Branch Coverage

blib/lib/ResourcePool/Command/DBI/Common.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
25 25 6 if (defined $sql and $sql ne '')
26 24 1 if (scalar @_ == 0 or ref $_[0] eq 'HASH' or scalar(@_) % 2 == 0) { }
30 11 13 if (defined $_[0])
31 6 5 if (ref $_[0] eq 'HASH') { }
33 5 1 if (defined $_[0])
93 0 0 unless (defined $sql or ref $$argsref[0])
97 0 0 unless (defined $sql)
110 0 0 if ($self->_getOptPrepareCached) { }
122 0 0 if (scalar @{$argsref;} > 0)
124 0 0 if (ref $$argsref[0] eq 'HASH') { }
144 0 0 if (defined $$bindargs{$name}{'max_len'}) { }
163 0 0 if (defined $sql) { }