Condition Coverage

blib/lib/DBIx/DataModel/Source/Table.pm
Criterion Covered Total %
condition 40 67 59.7


and 3 conditions

line !l l&&!r l&&r condition
134 25 0 6 $ref_returning eq 'HASH' && !keys(%{$options{'-returning'};})
141 4 0 27 &none(sub { defined $self->{$_}; } , @prim_key_cols) && !exists $options{'-returning'}
162 31 0 0 $options{'-returning'} and not &does($options{'-returning'}, "HASH")
213 0 0 0 &does($options{'-returning'}, "HASH") and not keys %{$options{"-returning"};}
278 2 1 2 &does($v, "ARRAY") and $sqla->{'array_datatypes'} || $sqla->is_bind_value_with_type($v)
0 0 2 ref $v eq "REF" and &does($$v, "ARRAY")
351 0 2 1 !ref($_[0]) && $_[0] =~ /^-/
433 13 9 3 !ref($_[0]) && $_[0] =~ /^-/
514 1 1 1 &does($val, "ARRAY") and not $sqla->{'array_datatypes'}
2 1 0 &does($val, "ARRAY") and not $sqla->{'array_datatypes'} and not $sqla->is_bind_value_with_type($val)
568 192 0 0 $db_schema && !($db_from =~ /\./)
576 0 0 0 defined $v and not $v
587 17 6 4 @$args_ref >= 2 and not ref $args_ref->[-2]
23 0 4 @$args_ref >= 2 and not ref $args_ref->[-2] and $args_ref->[-2]
0 0 4 @$args_ref >= 2 and not ref $args_ref->[-2] and $args_ref->[-2] and $args_ref->[-2] =~ /$regex/

or 2 conditions

line l !l condition
129 0 31 $dbh_options{'returning_through'} || ''
132 6 25 ref $options{'-returning'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
28 10 13 0 ref $self || $self
251 0 0 27 exists $dbh_options{'catalog'} || exists $dbh_options{'schema'}
278 1 2 0 $sqla->{'array_datatypes'} || $sqla->is_bind_value_with_type($v)
3 0 2 &does($v, "ARRAY") and $sqla->{'array_datatypes'} || $sqla->is_bind_value_with_type($v) or ref $v eq "REF" and &does($$v, "ARRAY")
485 18 12 0 ref $self || $self
514 2 0 3 &does($val, "HASH") or &does($val, "ARRAY") and not $sqla->{'array_datatypes'} and not $sqla->is_bind_value_with_type($val)