Condition Coverage

blib/lib/SQL/Abstract/More.pm
Criterion Covered Total %
condition 48 80 60.0


and 2 conditions

line l !l condition
345 2 0 0 exists $args{$_} and &puke("-page_size conflicts with $_")
446 14 0 0 $args{$_} and &puke("insert(-into => .., -values => ...) : cannot use $_ => ")
600 32 3 $item =~ s/^-// and $item = {'-desc', $item}

and 3 conditions

line !l l&&!r l&&r condition
327 0 58 5 @cols and $cols[0] =~ s/^-//
415 0 0 1 $join_info && $join_info->{'aliased_tables'}
712 0 0 0 &does($val, 'ARRAY') and my($bind_meth, @args) = $self->is_bind_value_with_type($val)
733 0 2 3 @$val == 2 and &does($val->[0], 'HASH')
2 1 2 @$val == 2 and &does($val->[0], 'HASH') and grep {$val->[0]{$_};} 'dbd_attrs', 'sqlt_size', 'sqlt_datatype', 'dbic_colname'
767 55 0 12 &does($table_arg, 'ARRAY') and $table_arg->[0] eq '-join'
828 7 0 34 $cmp and $right
930 4 1 18 $max_members_IN and &does($vals, 'ARRAY')
5 14 4 $max_members_IN and &does($vals, 'ARRAY') and @$vals > $max_members_IN
1010 0 0 2 &does($vals, 'ARRAY') and @$vals
1253 0 4 81 $_[0] && !ref($_[0]) && substr($_[0], 0, 1) eq '-'

or 2 conditions

line l !l condition
800 8 23 $op ||= '<=>'
801 23 8 $bracket ||= '{'
802 30 1 $cond_list ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
53 86 0 101 defined $reft && $reft eq $type || &blessed($data) && overload::Method($data, $meth_for{$type})
208 0 7 0 $more_params{$_} ||= $dialect_params->{$_}
217 16 2 0 not $params{'quote_char'} or exists $params{'name_sep'}
343 1 0 57 $args{'-page_index'} or $args{'-page_size'}
365 19 3 0 $sub_args{$_} ||= $args{$_}
599 2 32 35 not $item or ref $item
785 13 51 0 $alias || $table
831 1 6 27 $right =~ /\./ or $right eq $placeholder
1091 0 0 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
1149 0 0 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
1173 0 0 0 @rest or not $op =~ /^\-(.+)/