Condition Coverage

blib/lib/DBI/Easy/Record.pm
Criterion Covered Total %
condition 20 56 35.7


and 3 conditions

line !l l&&!r l&&r condition
16 43 0 18 @_ == 1 and ref $_[0]
43 0 18 @_ == 1 and ref $_[0] and ref $_[0] eq 'HASH'
35 0 0 6 $pk_column and $pk_column ne ''
0 4 2 $pk_column and $pk_column ne '' and defined $self->column_values
4 0 2 $pk_column and $pk_column ne '' and defined $self->column_values and $self->column_values->{$pk_column}
61 3 0 0 exists $params{'set'} and ref $params{'set'}
3 0 0 exists $params{'set'} and ref $params{'set'} and ref $params{'set'} eq 'HASH'
71 0 3 0 defined $bind && (scalar @$bind ? join(', ', @$bind) : '[]')
90 0 1 0 defined $bind && (scalar @$bind ? join(', ', @$bind) : '[]')
107 0 16 0 defined $bind && (scalar @$bind ? join(', ', @$bind) : '[]')
115 0 16 0 $pk_col and exists $$column_values{"_$pk_col"}
16 0 0 $pk_col and exists $$column_values{"_$pk_col"} and $$column_values{"_$pk_col"} =~ /^\s*(\w+)\.nextval\s*$/is

or 2 conditions

line l !l condition
249 0 4 $params{'filter'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
192 18 0 0 defined $col_meta or exists $$result{$$col_meta{'field_name'}}
254 0 4 0 $params{'relation'}[0] || $ref->_pk_
255 0 4 0 $params{'relation'}[1] || ($ref->column_prefix ? $ref->column_prefix : $ref->table_name . '_') . $column
334 0 0 0 not defined $value or $value eq ''
343 0 0 0 not defined $value or $value eq ''
351 0 0 0 not defined $value or $value eq ''