| blib/lib/DBIx/Query.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 41 | 48.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 95 | 0 | 0 | 4 | ref $connection eq 'HASH' && ref $connection->{'attr'} eq 'HASH' |
| 121 | 3 | 2 | 2 | @_ == 0 && wantarray |
| 3 | 0 | 2 | @_ == 0 && !wantarray | |
| 1 | 1 | 1 | @_ > 1 && wantarray | |
| 1 | 0 | 1 | @_ > 1 && !wantarray | |
| 129 | 0 | 20 | 2 | defined $cache_type && $cache_type == -1 |
| 348 | 0 | 0 | 0 | ref $_[0] ne "HASH" and @_ % 2 |
| 583 | 0 | 0 | 1 | defined $index and $index < @{$self->{'row'};} |
| 631 | 0 | 0 | 0 | ref $structure eq "HASH" and $structure->{'column_invert_lookup'} |
| line | l | !l | condition |
|---|---|---|---|
| 97 | 1 | 3 | $dialect || 'ANSI' |
| 139 | 2 | 20 | $cache_type //= 3 |
| 317 | 0 | 0 | $cache_type //= 3 |
| 460 | 0 | 2 | $skip ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 216 | 0 | 1 | 0 | delete $attr->{'last_insert_table'} || $table_name |
| 311 | 0 | 0 | 0 | not defined $_[0] or ref $_[0] eq "HASH" |