Condition Coverage

blib/lib/SQL/Abstract/More.pm
Criterion Covered Total %
condition 54 95 56.8


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
33 10 0 3 @_ >= 2 and $_[0] eq "-extends"
362 0 59 5 @cols and $cols[0] =~ s/^-//
452 0 0 1 $join_info && $join_info->{'aliased_tables'}
1026 0 0 0 &does($val, "ARRAY") and my($bind_meth, @args) = $self->is_bind_value_with_type($val)
1047 0 2 5 @$val == 2 and &does($val->[0], "HASH")
2 1 4 @$val == 2 and &does($val->[0], "HASH") and grep {$val->[0]{$_};} "dbd_attrs", "sqlt_size", "sqlt_datatype", "dbic_colname"
1081 57 0 12 &does($table_arg, "ARRAY") and $table_arg->[0] eq "-join"
1142 7 0 34 $cmp and $right
1244 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
1324 0 0 2 &does($vals, "ARRAY") and @$vals
1448 0 4 84 $_[0] && !ref($_[0]) && substr($_[0], 0, 1) eq '-'

or 2 conditions

line l !l condition
30 0 13 $ENV{'SQL_ABSTRACT_MORE_EXTENDS'} || 'SQL::Abstract'
605 2 0 $SQL::Abstract::VERSION || 0
697 0 0 shift() || (return)
1114 8 23 $op ||= "<=>"
1115 23 8 $bracket ||= "{"
1116 30 1 $cond_list ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
89 88 0 103 defined $reft && $reft eq $type || &blessed($data) && overload::Method($data, $meth_for{$type})
243 0 7 0 $more_params{$_} ||= $dialect_params->{$_}
252 16 2 0 not $params{'quote_char'} or exists $params{'name_sep'}
378 1 0 58 $args{'-page_index'} or $args{'-page_size'}
400 19 3 0 $sub_args{$_} ||= $args{$_}
476 0 1 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
528 0 0 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
672 0 1 0 $self->{'array_datatypes'} || $self->is_bind_value_with_type($v)
749 0 0 0 $self->{'array_datatypes'} or $self->is_bind_value_with_type($v)
773 0 0 0 @rest or not $op =~ /^\-(.+)/
938 2 32 35 not $item or ref $item
1099 13 51 0 $alias || $table
1145 1 6 27 $right =~ /\./ or $right eq $placeholder