line |
true |
false |
branch |
346
|
0 |
0 |
if (defined $params{'-dbh'} and defined $params{'-connect'}) |
358
|
0 |
0 |
unless (defined $sqlQuery::DBI) |
359
|
0 |
0 |
if (defined $sqlQuery::params{'-dbh'}) { } |
|
0 |
0 |
elsif (defined $sqlQuery::params{'-connect'}) { } |
363
|
0 |
0 |
if $@ |
410
|
0 |
0 |
ref $_[0] ? : |
414
|
0 |
0 |
if (not blessed $sql) { } |
415
|
0 |
0 |
if not defined $sql or ref $sql or looks_like_number $sql |
418
|
0 |
0 |
unless $sql->isa('sqlSelectAssemble') |
435
|
0 |
0 |
if (@_) { } |
|
0 |
0 |
elsif (blessed($$self{'-sql'})) { } |
441
|
0 |
0 |
if (defined $$self{'-params'}) |
452
|
0 |
0 |
if (@_) { } |
|
0 |
0 |
elsif (blessed($$self{'-sql'})) { } |
462
|
0 |
0 |
if $@ |
485
|
0 |
0 |
if (defined $$self{'-params'}) |
490
|
0 |
0 |
if (1 == scalar @_ and 'HASH' eq ref $_[0]) { } |
495
|
0 |
0 |
unless defined $$self{'-params'}{$p} |
500
|
0 |
0 |
if grep {'HASH' eq ref $_;} @_ |
506
|
0 |
0 |
unless defined $$self{'-params'}[$index] |
516
|
0 |
0 |
if ($$self{'-named'}) { } |
534
|
0 |
0 |
0 < $pos ? : |
554
|
0 |
0 |
0 < $pos ? : |
569
|
0 |
0 |
if (defined $name) { } |
570
|
0 |
0 |
unless (exists $$self{'-params'}{$name}) |
575
|
0 |
0 |
unless (ref $$self{'-params'} and @{$$self{'-params'};}) |
587
|
0 |
0 |
if ('ARRAY' eq ref $$self{'-params'} and @{$$self{'-params'};}) |
603
|
0 |
0 |
if ($@) |
622
|
0 |
0 |
if (ref $table) |
630
|
0 |
0 |
if '*' eq $table |
641
|
0 |
0 |
if ref $table or ".$table" =~ /^(?:\.[a-z_][a-z\d_]*){1,2}$/i |
643
|
0 |
0 |
unless $table =~ /^([a-z_][a-z\d_]*)\.\*$/i |
653
|
0 |
0 |
unless (defined $value) |
665
|
0 |
0 |
if (not ref $arg) { } |
|
0 |
0 |
elsif ('ARRAY' eq ref $arg) { } |
|
0 |
0 |
elsif (blessed $arg and $arg->isa('sqlParameter')) { } |
666
|
0 |
0 |
unless defined $arg |
668
|
0 |
0 |
if $arg =~ /^-?\d+$/ |
670
|
0 |
0 |
if $arg =~ /^-?\d+[.]\d+$/ |
690
|
0 |
0 |
ref $_[0] ? : |
715
|
0 |
0 |
if (looks_like_number $column) { } |
717
|
0 |
0 |
if $column > $#row |
722
|
0 |
0 |
unless exists $$row{$column} |
748
|
0 |
0 |
unless defined $$self{'-result'} |
766
|
0 |
0 |
if (@_ and 'ARRAY' eq ref $_[-1]) |
770
|
0 |
0 |
if (not @_) { } |
800
|
0 |
0 |
ref $_[0] ? : |
868
|
0 |
0 |
unless (@{$$self{-'value'};}) |
893
|
0 |
0 |
if ($prevClass) |
894
|
0 |
0 |
unless ref $$self{'prev'} and $$self{'prev'}->isa($prevClass) |
913
|
0 |
0 |
if $$self{'boundArgs'} |
917
|
0 |
0 |
if ($$self{'prev'}) |
931
|
0 |
0 |
if $$self{'prev'} |
951
|
0 |
0 |
ref $_[0] ? : |
984
|
0 |
0 |
if (not 'HASH' eq ref $fieldIn) { } |
993
|
0 |
0 |
if (blessed $field and $field->isa('sqlParameter')) |
995
|
0 |
0 |
unless $alias |
997
|
0 |
0 |
if $alias |
1005
|
0 |
0 |
if '*' ne $field and 0 == ~index($field, ' ') |
1008
|
0 |
0 |
if (not $alias) { } |
1011
|
0 |
0 |
unless ~index($alias, ' ') |
1027
|
0 |
0 |
if @{$$self{'params'};} |
1030
|
0 |
0 |
if (defined $$self{'tables'}) |
1037
|
0 |
0 |
if ('HASH' eq ref $tableSpec) { } |
1046
|
0 |
0 |
unless $alias |
1048
|
0 |
0 |
if $alias |
1075
|
0 |
0 |
if (not @_ or 1 == @_ and not defined $_[0] or 2 == @_ and not defined $_[0] and not defined $_[1]) { } |
1079
|
0 |
0 |
if @_ |
1089
|
0 |
0 |
if (not defined $$self{'limit'}) { } |
|
0 |
0 |
elsif (defined $$self{'offset'}) { } |
1122
|
0 |
0 |
if (not defined $$self{'ordering'}) { } |
1129
|
0 |
0 |
if ('HASH' eq ref $theOrder) |
1134
|
0 |
0 |
unless $direction |
1136
|
0 |
0 |
if $direction |
1162
|
0 |
0 |
unless ref $condition and $condition->isa('sqlCondition') |
1174
|
0 |
0 |
if $$self{'havingCond'} |
1184
|
0 |
0 |
if (not defined $$self{'havingCond'} && defined($s = $$self{'havingCond'}->assemble)) { } |
1223
|
0 |
0 |
if (defined $$self{'grouping'}) |
1242
|
0 |
0 |
unless ref $condition and $condition->isa('sqlCondition') |
1254
|
0 |
0 |
if $$self{'whereCond'} |
1264
|
0 |
0 |
if ($$self{'whereCond'} and defined($c = $$self{'whereCond'}->assemble)) |
1288
|
0 |
0 |
if ($self->isa('sqlSelectJoin')) |
1291
|
0 |
0 |
if ref $condition |
1317
|
0 |
0 |
if (not $self->isa('sqlSelectJoin')) { } |
1327
|
0 |
0 |
if (not ref $condition) { } |
|
0 |
0 |
elsif ($condition->isa('sqlCondition')) { } |
1363
|
0 |
0 |
ref $_[0] ? : |
1374
|
0 |
0 |
if (4 == $$self{'type'}) |
1377
|
0 |
0 |
unless ref $$self{'_argument'} and $$self{'_argument'}->isa('sqlCondition') |
1392
|
0 |
0 |
unless $$self{'_parts'} |
1393
|
0 |
0 |
2 == $$self{'type'} ? : |
1398
|
0 |
0 |
unless ref $$self{'_condition'} and $$self{'_condition'}->isa('sqlCondition') |
1414
|
0 |
0 |
if defined $leftConstant |
1422
|
0 |
0 |
unless $$self{'_parts'} |
1442
|
0 |
0 |
if (1 == scalar @_ and not defined $_[0] and defined $$self{'_alterForNull'}) |
1444
|
0 |
0 |
$$self{'_alterForNull'} ? : |
1469
|
0 |
0 |
unless @_ |
1476
|
0 |
0 |
unless @_ |
1489
|
0 |
0 |
if (1 == scalar @_) { } |
1567
|
0 |
0 |
3 != scalar @_ ? : |
1588
|
0 |
0 |
unless $$self{'_parts'} |
1598
|
0 |
0 |
unless $$self{'parent'} |
1600
|
0 |
0 |
if $$self{'parent'} |
1622
|
0 |
0 |
unless defined $$self{'parent'} |