blib/lib/DBIx/SearchBuilder/Handle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 44 | 85 | 51.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
99 | 0 | 21 | 1 | $args{'Driver'} and not $self->isa("DBIx::SearchBuilder::Handle::" . $args{'Driver'}) |
114 | 21 | 0 | 0 | $self->dbh and $self->dbh->ping |
21 | 0 | 0 | $self->dbh and $self->dbh->ping and $new_dsn eq $old_dsn | |
337 | 0 | 0 | 0 | $self->isa("DBIx::SearchBuilder::Handle::mysql") and $self->{'database_version'} =~ /mariadb/i |
0 | 0 | 0 | $self->isa("DBIx::SearchBuilder::Handle::mysql") and $self->{'database_version'} =~ /mariadb/i and "version"->parse("v" . $version) > "version"->parse("v10.2") | |
961 | 10 | 0 | 51 | $dbh and $dbh->ping |
1144 | 98 | 5 | 1 | $args{'DISTINCT'} and not defined $args{'SearchBuilder'}{'joins_are_distinct'} |
1241 | 172 | 15 | 157 | !$processed{$_} && (!$joins->{$_}{'depends_on'} || $processed{$joins->{$_}{'depends_on'}}) |
1287 | 158 | 1 | 51 | !$processed{$_} && $processed{$joins->{$_}{'depends_on'}} |
1882 | 2424 | 50 | 68 | $c eq $escape_char and $in |
1909 | 1690 | 142 | 0 | lc $c eq "e" and ($chars[0] // "") eq "'" |
1768 | 64 | 0 | $c =~ /[\d.]/ and not $placeholder =~ /\w$/ |
line | l | !l | condition |
---|---|---|---|
110 | 0 | 21 | $self->DSN || '' |
336 | 0 | 0 | $self->DatabaseVersion // "" |
750 | 0 | 0 | $sth->fetchrow_arrayref->[0] || '' |
874 | 9 | 11 | $self->TransactionDepth || 0 |
971 | 30 | 21 | $DBIx::SearchBuilder::Handle::TRANSDEPTH{$dbh} || 0 |
1129 | 0 | 104 | $args{'SearchBuilder'}{'left_joins'}{"$alias"} ||= {} |
1200 | 0 | 0 | $sb->{'left_joins'}{"$alias"} ||= {} |
1250 | 9 | 148 | $meta->{'entry_aggregator'} || 'AND' |
1660 | 0 | 20 | $args{'Field'} || '?' |
1776 | 0 | 0 | shift() || 'default' |
1869 | 0 | 32 | shift() || q['] |
1884 | 68 | 0 | $chars[0] || '' |
1909 | 142 | 0 | $chars[0] // "" |
1921 | 0 | 0 | $chars[0] // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 0 | 23 | 0 | ref $proto || $proto |
366 | 956 | 0 | 36 | $DBIx::SearchBuilder::Handle::DBIHandle{$self} ||= $DBIx::SearchBuilder::Handle::PrevHandle |
628 | 0 | 0 | 529 | $@ or not $executed |
753 | 0 | 0 | 0 | $1 || $ver |
993 | 2 | 0 | 2 | $first || () |
1140 | 0 | 104 | 0 | $args{'EXPRESSION'} || $args{'ALIAS1'} . '.' . $args{'FIELD1'} |
1389 | 35 | 3 | 10 | @conditions or @tmp |