Condition Coverage

blib/lib/ClearPress/model.pm
Criterion Covered Total %
condition 16 46 34.7


and 3 conditions

line !l l&&!r l&&r condition
71 77 0 0 $sk and $ref->{$sk}
0 0 0 $sk and $ref->{$sk} and not $ref->{$pk}
644 0 0 4 $pk and $self->$pk
693 0 0 1 $pk and $self->$pk
725 0 0 0 $pk and defined $self->{$pk}

or 2 conditions

line l !l condition
54 53 24 $ref ||= {}
737 0 0 $self->date || ''

or 3 conditions

line l !l&&r !l&&!r condition
42 35 10 1 ref $self || $self
141 0 0 0 $config->val('application', 'namespace') || $config->val('application', 'name')
198 0 6 0 $class ||= ref $self
224 1 0 0 $class ||= ref $self
248 4 0 0 $class ||= ref $self
278 1 0 0 $class ||= ref $self
281 0 1 0 $self->{$cachekey} ||= $class->new({'util', $self->util, $pk, $self->$pk})
290 2 0 0 $class ||= ref $self
578 0 9 16 $query or $self->{$pk}