Condition Coverage

blib/lib/DBIx/MoCo.pm
Criterion Covered Total %
condition 43 83 51.8


and 2 conditions

line l !l condition
340 0 0 warn "$_ is undefined for $self" and return

and 3 conditions

line !l l&&!r l&&r condition
107 0 200 0 $ex and ref $cache eq 'Cache::Memory'
116 120 0 52 $class->cache_cols_only and ref $v
120 10 42 $class->cache_cols_only and ref $v and ref($v) =~ /::/
10 0 42 $class->cache_cols_only and ref $v and ref($v) =~ /::/ and $v->isa($class)
144 26 0 0 not $self and ref $class
162 83 0 3 not $self and ref $class
289 0 0 1 ref $_[0] && ref $_[0] eq 'ARRAY'
302 66 0 0 $class->has_column('muid') && scalar @{$class->primary_keys;} == 1
330 366 66 226 $self and $$self{'object_id'}
335 366 0 66 $self and @{$class->primary_keys unless $class->retrieve_keys;}
422 0 26 0 $class->cache_object and $class->cache_object->can('get_multi')
604 0 0 0 ref $with && ref $with eq 'ARRAY'
607 0 0 0 ref $without && ref $without eq 'ARRAY'
619 0 0 0 ref $key && ref $key eq 'HASH'
709 1 0 1 ref $as and ref $as eq 'HASH'
711 0 2 0 $$as{$_} and ref $$as{$_} ne 'CODE'
825 0 1 0 $@ and not $@ =~ /^Can\'t locate .+? in \@INC/

or 2 conditions

line l !l condition
333 432 0 $class->object_id_prefix || ''
424 0 0 $class->cache_object->get_multi(@$ids) || {}
647 7 0 $$res[0]{'count'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
100 265 120 0 $class->cache_object || 'DBIx::MoCo::Cache::Dummy'->instance
106 0 200 0 $ex ||= $class->default_cache_expiration
136 2 114 69 $$s{'cache'}{$k} || $cache->get($k)
181 2 3 12 not $$self{'_icache'} or $$self{'_icache'}{'_created'} + $ex < time
328 292 366 0 ref $self || $self
680 32 11 0 ref $self || $self
685 23 1 4 defined $$self{$method} or $class->has_column($method)
816 1 2 0 $self->retrieve(%args) || $class->create(%args)