Condition Coverage

blib/lib/DBIx/Query.pm
Criterion Covered Total %
condition 27 47 57.4


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 3 ref $connection eq 'HASH' && ref $connection->{'attr'} eq 'HASH'
117 3 2 2 @_ == 0 && wantarray
3 0 2 @_ == 0 && !wantarray
1 1 1 @_ > 1 && wantarray
1 0 1 @_ > 1 && !wantarray
125 0 72 4 defined $cache_type && $cache_type == -1
340 0 4 0 ref $_[0] ne "HASH" and @_ % 2
376 6 0 9 not $DBIx::Query::_dq_parser_cache->{$sql} and $self->_param("dq")->_param("sql_parser")->parse($sql)
574 0 0 5 defined $index and $index < @{$self->{'row'};}
622 0 0 8 ref $structure eq "HASH" and $structure->{'column_invert_lookup'}

or 2 conditions

line l !l condition
98 0 3 $dialect ||= "ANSI"
135 5 70 $cache_type //= 3
309 0 1 $cache_type //= 3
450 4 13 $skip ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
212 0 2 0 delete $attr->{'last_insert_table'} || $table_name
303 0 0 1 not defined $_[0] or ref $_[0] eq "HASH"
376 0 9 0 $DBIx::Query::_dq_parser_cache->{$sql} ||= $self->_param("dq")->_param("sql_parser")->structure