Condition Coverage

blib/lib/ObjectDB.pm
Criterion Covered Total %
condition 10 44 22.7


and 3 conditions

line !l l&&!r l&&r condition
92 0 0 0 @_ == 1 and ref $_[0]
230 2 0 4 defined $value and $value ne ''
275 0 0 1 defined $self->{'columns'}{$name} and defined $value
0 1 0 defined $self->{'columns'}{$name} and defined $value and $self->{'columns'}{$name} eq $value
3 1 0 exists $self->{'columns'}{$name} and (defined $self->{'columns'}{$name} and defined $value and $self->{'columns'}{$name} eq $value)
290 0 0 0 defined $sub_value and ref $sub_value
314 0 0 0 $self->meta->get_relationship($name)->is_multi and ref $related_value ne 'ARRAY'
441 0 0 0 $rows and @$rows
662 0 0 0 defined $hash_ref and ref $hash_ref eq 'HASH'
665 0 0 0 defined $hash_ref->{$key} and $hash_ref->{$key} ne ''

or 2 conditions

line l !l condition
201 0 0 $self->{'columns'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
51 3 0 1 $self->meta->is_column($column) or $self->meta->is_relationship($column)
269 4 0 2 defined $value or $self->meta->is_nullable($name)
336 0 0 0 $self->meta->is_primary_key($column) or $self->meta->is_unique_key($column)
472 0 0 0 $object ||= $self->create