| line | % | coverage | condition |
| 737 | 50 | | get_params(undef, \@args) // {} |
| 784 | 100 | | &blessed($p->{'databases'}[$i]) and $p->{'databases'}[$i]->can("selectall_arrayref") and $p->{'databases'}[$i]->can("columns") |
| 794 | 67 | | $p->{'databases'}[0]{'id'} // $p->{'join_column'} |
| 821 | 50 | | $p->{'parallel'} // 0 |
| 100 | | $p->{'join_map'} // {} |
| 100 | | $p->{'collision_prefix'} // {} |
| 67 | | $p->{'tmpdir'} // "File::Spec"->tmpdir |
| 838 | 100 | | $self->{'_filters'}{$i} // {} |
| 1875 | 50 | | $self->{'_col_rename'}[$i] // {} |
| 1879 | 75 | | $local_jc and $col eq $local_jc and $col ne $join_col |
| 1881 | 67 | | $renames->{$col} // $col |
| 1947 | 100 | | $self->{'_dbs'}[$i]->schema // {} |
| 1949 | 50 | | $self->{'_col_rename'}[$i] // {} |
| 1950 | 67 | | $local_jc && $local_jc ne $self->{'_join_col'} |
| 1951 | 100 | | $skip_jc || %{$renames;} |
| 1956 | 100 | | $skip_jc and $col eq $local_jc |
| 1957 | 67 | | $renames->{$col} // $col |
| 2232 | 67 | | @args and not ref $args[0] |
| 2234 | 100 | | defined $args[0] and grep {$args[0] eq $_;} @_ADD_DB_KEYS |
| 2241 | 50 | | (@args ? get_params(undef, @args) : {}) // {} |
| 2255 | 67 | | $db //= $p->{'database'} |
| 2257 | 100 | | &blessed($db) and $db->can("selectall_arrayref") and $db->can("columns") |
| 2263 | 67 | | $p->{'join_column'} // $self->{'_join_col'} |
| 2282 | 50 | | $self->{'_col_rename'}[$idx] //= {} |
| 2283 | 50 | | $self->{'_col_unrename'}[$idx] //= {} |
| 2286 | 100 | | $local_jc ne $self->{'_join_col'} and $col eq $local_jc |
| 2289 | 100 | | defined $prefix and exists $self->{'_col_db'}{$col} and $col ne $self->{'_join_col'} |
| 2404 | 100 | | defined $col and length $col |
| 2563 | 100 | | %{$self->{'_join_map'};} or %{$self->{'_filters'};} |
| 2608 | 100 | | $key //= $self->{'_join_col'} |
| 2609 | 100 | | @args == 1 and not ref $args[0] |
| 2610 | 50 | | get_params(undef, @args) // {} |
| 2632 | 50 | | $self->{'_collision_prefix'} // {} |
| 2640 | 100 | | $self->{'_join_map'}{$i} // $join_col |
| 2664 | 100 | | defined $prefix and ref $prefix |
| 2669 | 100 | | $local_jc ne $join_col and $col eq $local_jc |
| 2671 | 100 | | defined $prefix and exists $col_db{$col} and $col ne $join_col |
| 2710 | 50 | | do {
local $@;
eval {
do {
$db->schema
}
}
} // {} |
| 2711 | 67 | | $self->{'_join_map'}{$i} // $join_col |
| 2712 | 100 | | $self->{'_col_rename'}[$i] // {} |
| 2716 | 100 | | $local_jc ne $join_col and $orig_col eq $local_jc |
| 2730 | 0 | | $entry // "" |
| 0 | | $entry->{'type'} // "" |
| 2775 | 67 | | $self->{'_join_map'}{$i} // $join_col |
| 2788 | 67 | | $self->{'_col_unrename'}[$idx]{$col} // $col |
| 2810 | 67 | | $self->{'_join_map'}{$db_idx} // $self->{'_join_col'} |
| 2813 | 100 | | $rows //= [] |
| 2875 | 100 | | not $limit =~ /^\d+\z/a or $limit < 1 |
| 2900 | 100 | | defined $limit or defined $offset |
| 2913 | 100 | | $self->{'_filters'}{$i} // {} |
| 2934 | 33 | | $self->{'_join_map'}{'0'} // $join_col |
| 2938 | 100 | | A | B | C | D | dec |
|---|
| 0 | X | X | X | 0 | | 1 | 0 | X | X | 0 | | 1 | 1 | 0 | X | 0 | | 1 | 1 | 1 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 |
| not %{$indexed[0];} and $join_type ne "outer" and not exists $per_db->[0]{$local_jc_0_early} and not $sec_has_criteria |
| 2960 | 100 | | $self->{'_parallel'} and $n > 2 |
| 2961 | 67 | | $HAS_THREADS //= do {
local $@;
eval {
do {
require threads;
1
}
} ? 1 : 0
} |
| 2967 | 67 | | $self->{'_join_map'}{$i} // $join_col |
| 2978 | 50 | | eval {
do {
$db->selectall_arrayref($crit)
}
} // [] |
| 2997 | 33 | | defined $i and ref $idx eq "HASH" |
| 3027 | 67 | | $self->{'_join_map'}{$i} // $join_col |
| 3028 | 100 | | $self->{'_filters'}{$i} // {} |
| 3034 | 100 | | $has_filter || $own |
| 3049 | 100 | | $had_criteria[$i] or $join_type eq "inner" |
| 3073 | 67 | | $sec_local_jc[$i] && $sec_local_jc[$i] ne $join_col |
| 3081 | 100 | | $self->{'_removed_list'} //= [keys %{$$self{"_removed_cols"};}] |
| 3092 | 100 | | $req_dir // "ASC" |
| 3093 | 100 | | $req_dir eq "ASC" or $req_dir eq "DESC" |
| 3097 | 100 | | $req_col ne $join_col and not exists $self->{'_col_db'}{$req_col} |
| 3117 | 100 | | $indexed[0]{$key} // [{}] |
| 3122 | 67 | | $sec_arr and @{$sec_arr;} |
| 3175 | 100 | | $_->{$ob_col} // "" |
| 3190 | 100 | | defined $offset and $offset > 0 |
| 3193 | 100 | | defined $limit and $limit < scalar @result |
| 3209 | 100 | | $self->{'_sqlite_cache'} // (return 0) |
| 3212 | 50 | | $cache->{'n'} // 0 |
| 3222 | 100 | | $cache->{'updated'}{$i} // (next) |
| 3764 | 67 | | $criteria and %{$criteria;} |
| 3782 | 100 | | $filters and %{$filters;} |