Branch Coverage

blib/lib/DBIx/NamedParams.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
42 174 0 if (/^SQL_(.*)$/i)
73 1 3 wantarray ? :
85 0 1 if ($self->get_info($DBIx::NamedParams::GetInfoType{'SQL_DBMS_NAME'}) eq 'Microsoft SQL Server')
96 9 6 if ($sqlex =~ /\:([\w]+)\+-($_SQL_Types)\b/)
97 4 5 if ($validHash) { }
106 0 10 if ($_log)
109 0 10 unless $ret = $self->prepare($sqlex)
110 4 6 if ($validHash)
119 4 0 if (ref $refHash->{$name} eq 'ARRAY') { }
133 0 15 if ($_log)
134 0 0 !$repeat ? :
137 10 5 if (not $repeat) { }
160 5 17 if (not defined $refHash or (&reftype($refHash) || '') ne 'HASH')
166 16 41 if ($KeepBindingIfNoKey and not exists $$refHash{$param->{'Name'}})
171 25 16 $idx < 0 || ref $value1 ne 'ARRAY' ? :
176 0 41 if ($_log)
179 0 41 unless $self->bind_param($i, $value2, {'TYPE', $datatype})