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
92 0 0 3 ref $connection eq 'HASH' && ref $connection->{'attr'} eq 'HASH'
112 3 2 2 @_ == 0 && wantarray
3 0 2 @_ == 0 && !wantarray
1 1 1 @_ > 1 && wantarray
1 0 1 @_ > 1 && !wantarray
120 0 72 4 defined $cache_type && $cache_type == -1
335 0 4 0 ref $_[0] ne 'HASH' and @_ % 2
371 6 0 9 not $DBIx::Query::_dq_parser_cache->{$sql} and $self->_param('dq')->_param('sql_parser')->parse($sql)
569 0 0 5 defined $index and $index < @{$self->{'row'};}
617 0 0 8 ref $structure eq 'HASH' and $structure->{'column_invert_lookup'}

or 2 conditions

line l !l condition
93 0 3 $dialect ||= 'ANSI'
130 5 70 $cache_type //= 3
304 0 1 $cache_type //= 3
445 4 13 $skip ||= 0

or 3 conditions

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