Condition Coverage

blib/lib/Yote.pm
Criterion Covered Total %
condition 28 68 41.1


and 3 conditions

line !l l&&!r l&&r condition
362 2 0 3 $keep > $total / 2 && !$copy_only
614 0 0 0 $child =~ /^[0-9]/ and $self->{'_DIRTY'}{$child}
625 0 0 0 $child =~ /^[0-9]/ and $self->{'_DIRTY'}{$child}
636 0 2 0 $val =~ /^[0-9]/ and $self->{'_DIRTY'}{$val}
823 0 0 0 not defined $cur and defined $default
937 23 0 1 not defined $self->{'DATA'}{$fld} and defined $init_val
1388 15 3 17 not $keep and $store->entry_count
1445 22 4 0 $cand == 1 and not $keep

or 2 conditions

line l !l condition
203 0 3 $class ||= 'Yote::Obj'

or 3 conditions

line l !l&&r !l&&!r condition
328 0 17 0 $self->{'_WEAK_REFS'}{$id} || $class->_instantiate($id, $self)
443 4 0 6 $ref eq 'ARRAY' or $ref eq 'Yote::Array'
1 0 5 $ref eq 'HASH' or $ref eq 'Yote::Hash'
467 0 0 0 $ref eq 'ARRAY' or $ref eq 'Yote::Array'
0 0 0 $ref eq 'HASH' or $ref eq 'Yote::Hash'
544 12 0 0 $tied->[0] ||= $self->{'_DATASTORE'}->_get_id('ARRAY')
562 3 0 0 $tied->[0] ||= $self->{'_DATASTORE'}->_get_id('HASH')
582 0 3 0 $ref->{'ID'} ||= $self->{'_DATASTORE'}->_get_id($class)
595 4 1 0 $id //= $self->_get_id($obj)
990 0 4 0 ref $pkg || $pkg
995 1 3 0 $_id || $obj_store->_get_id($obj)
1212 0 4 0 ref $pkg || $pkg
1345 32 0 6 @checks or $check_store->entry_count > 0
1346 32 0 0 shift @checks || $check_store->pop->[0]