Condition Coverage

blib/lib/DBI/Easy.pm
Criterion Covered Total %
condition 28 52 53.8


and 3 conditions

line !l l&&!r l&&r condition
65 12 0 21 not ${"${class}::wrapper";} and $class ne 'DBI::Easy'
12 4 17 not ${"${class}::wrapper";} and $class ne 'DBI::Easy' and not ${"${class}::imported";}
252 0 0 81 defined $column_prefix and $column_prefix ne ''
0 49 32 defined $column_prefix and $column_prefix ne '' and $col_name =~ /^$column_prefix(.*)/i
266 81 0 0 $$col_meta{'type_name'} eq 'ENUM' and $#{$$col_meta{'mysql_values'};} >= 0
274 64 0 17 exists $$col_meta{'X_IS_PK'} and $$col_meta{'X_IS_PK'} == 1
355 0 81 0 defined $type and $H->is_rich_type($type)
510 0 0 0 $DBI::Easy::ERRHANDLER and ref $DBI::Easy::ERRHANDLER eq 'CODE'
593 0 7 3 $column_prefix eq '_' and ref $value
7 0 3 $column_prefix eq '_' and ref $value and ref $value eq 'HASH'
7 0 3 $column_prefix eq '_' and ref $value and ref $value eq 'HASH' and keys %$value == 1

or 2 conditions

line l !l condition
48 61 16 $init_params || {@_ == 1 && ref $_[0] && ref $_[0] eq 'HASH' ? %{$_[0];} : @_}
535 0 107 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
84 0 0 17 not $class->dbh or $class->dbh eq '0E0'
116 0 17 0 ref $self || $self
175 0 6 0 ref $self || $self
302 8 0 36 $$self{'field_values'}{$field_name} || (exists $self->columns->{$col_name}{'decoder'} ? $self->columns->{$col_name}{'decoder'}($self) : $$self{'column_values'}{$col_name})
565 73 11 0 exists $$entities{$_} or /^[_:-]\w+$/