Condition Coverage

blib/lib/SQL/Abstract/More.pm
Criterion Covered Total %
condition 59 98 60.2


and 2 conditions

line l !l condition
530 2 0 0 exists $args->{$_} and &puke("-page_size conflicts with $_")
673 16 0 0 $args{$_} and &puke("insert(-into => .., -values => ...) : cannot use $_ => ")
1018 35 3 $item =~ s/^-// and $item = {"-desc", $item}

and 3 conditions

line !l l&&!r l&&r condition
32 10 0 3 @_ >= 2 and $_[0] eq "-extends"
444 0 75 5 @cols and $cols[0] =~ s/^-//
1105 0 0 0 &does($val, "ARRAY") and my($bind_meth, @args) = $self->is_bind_value_with_type($val)
1126 4 0 5 @$val == 2 and &does($val->[0], "HASH")
4 1 4 @$val == 2 and &does($val->[0], "HASH") and grep {$val->[0]{$_};} "dbd_attrs", "sqlt_size", "sqlt_datatype", "dbic_colname"
1160 71 2 13 &does($table_arg, "ARRAY") and $table_arg->[0] eq "-join"
1221 7 0 36 $cmp and $right
1323 5 1 18 $max_members_IN and &does($vals, "ARRAY")
6 14 4 $max_members_IN and &does($vals, "ARRAY") and @$vals > $max_members_IN
1403 0 0 2 &does($vals, "ARRAY") and @$vals
1527 0 4 102 $_[0] && !ref($_[0]) && substr($_[0], 0, 1) eq '-'
1533 166 0 5 &does($arg, 'REF') && &does($$arg, 'ARRAY')

or 2 conditions

line l !l condition
29 0 13 $ENV{'SQL_ABSTRACT_MORE_EXTENDS'} || 'SQL::Abstract::Classic'
684 0 2 $SQL::Abstract::VERSION || 0
776 12 0 shift() || (return)
1193 8 24 $op ||= "<=>"
1194 24 8 $bracket ||= "{"
1195 31 1 $cond_list ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
88 113 0 399 defined $reft && $reft eq $type || builtin::blessed($data) && overload::Method($data, $meth_for{$type})
246 0 12 0 $more_params{$_} ||= $dialect_params->{$_}
255 17 2 0 not $params{'quote_char'} or exists $params{'name_sep'}
402 1 0 74 $args{'-page_index'} or $args{'-page_size'}
518 11 1 0 $sub_args{'-columns'} ||= $cols
519 10 2 0 $sub_args{'-from'} ||= $from
555 0 0 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
607 0 1 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
751 0 0 0 $self->{'array_datatypes'} || $self->is_bind_value_with_type($v)
828 0 1 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
852 0 0 0 @rest or not $op =~ /^\-(.+)/
1017 2 32 38 not $item or ref $item
1178 18 126 0 $alias || $table
1224 1 7 28 $right =~ /\./ or $right eq $placeholder