Branch Coverage

blib/lib/DBIx/NamedParams.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
41 174 0 if (/^SQL_(.*)$/i)
72 1 3 wantarray ? :
84 0 1 if ($self->get_info($DBIx::NamedParams::GetInfoType{'SQL_DBMS_NAME'}) eq 'Microsoft SQL Server')
95 2 5 if ($sqlex =~ /\:([\w]+)\+-($_SQL_Types)\b/)
96 2 0 if ($validHash) { }
105 0 7 if ($_log)
108 0 7 unless $ret = $self->prepare($sqlex)
109 2 5 if ($validHash)
118 2 0 if (ref $refHash->{$name} eq 'ARRAY') { }
132 0 10 if ($_log)
133 0 0 !$repeat ? :
136 7 3 if (not $repeat) { }
159 0 13 if (not defined $refHash or ref $refHash ne 'HASH')
165 14 31 if ($KeepBindingIfNoKey and not exists $$refHash{$param->{'Name'}})
170 21 10 $idx < 0 || ref $value1 ne 'ARRAY' ? :
175 0 31 if ($_log)
178 0 31 unless $self->bind_param($i, $value2, {'TYPE', $datatype})