Branch Coverage

blib/lib/DBIx/ProcedureCall.pm
Criterion Covered Total %
branch 19 80 23.7


line true false branch
31 0 1 unless $dbh
35 1 0 unless $dbtype
38 0 0 unless $name
41 0 0 unless ($__loaded_drivers{$dbtype})
42 0 0 unless eval "require DBIx::ProcedureCall::$dbtype; \$__loaded_drivers{$dbtype} = 1;"
51 0 0 unless $dbh
55 0 0 unless $dbtype
58 0 0 unless $name
63 0 0 unless ($__loaded_drivers{$dbtype})
64 0 0 unless eval "require DBIx::ProcedureCall::$dbtype; \$__loaded_drivers{$dbtype} = 1;"
68 0 0 unless $$attr{'fetch'}
78 0 0 if ($$attr{'fetch[[]]'}) { }
0 0 elsif ($$attr{'fetch()'}) { }
0 0 elsif ($$attr{'fetch[{}]'}) { }
0 0 elsif ($$attr{'fetch{}'}) { }
0 0 elsif ($$attr{'fetch[]'}) { }
81 0 0 if $$attr{'cursor'}
88 0 0 if $$attr{'cursor'}
97 0 0 if (ref $params eq 'ARRAY') { }
101 0 0 if (ref $_ eq 'ARRAY') { }
109 0 0 if (ref $binder[0]) { }
111 0 0 unless exists $binder[1]
123 0 0 if (ref $p eq 'ARRAY') { }
131 0 0 if (ref $binder[0]) { }
133 0 0 unless exists $binder[1]
149 0 1 if $$attr{'function'}
150 0 1 if $$attr{'procedure'}
152 1 0 unless defined $w
162 0 0 if @err
167 0 0 if (grep /^fetch/, keys %attr)
173 0 0 if $attr{'cursor'}
176 0 0 if $attr{'table'}
191 0 38 if @err
197 7 31 if (grep /^fetch/, keys %attr)
203 3 35 if $attr{'cursor'}
206 4 34 if $attr{'table'}
209 2 36 if $attr{'boolean'}
211 3 35 if ($attr{'package'})
219 6 29 if ($attr{'packaged'})
222 0 6 unless @p > 1