Condition Coverage

blib/lib/WE/DB/Obj.pm
Criterion Covered Total %
condition 0 81 0.0


and 3 conditions

line !l l&&!r l&&r condition
134 0 0 0 not $args{-'readonly'} and $args{-'cache'}
187 0 0 0 $args{-'connect'} and $args{-'connect'} ne 'never'
657 0 0 0 UNIVERSAL::isa($$stored_obj[0], 'WE::Obj::DocObj') and $self->Root->ContentDB
1014 0 0 0 $o->can('IndexDoc') and defined $o->IndexDoc
0 0 0 $o->can('IndexDoc') and defined $o->IndexDoc and exists $$mapping{$o->IndexDoc}
1488 0 0 0 $obj->is_folder and !exists($args{-'children'}) || $args{-'children'}
1541 0 0 0 defined $major and $major > $max_major || $major == $max_major && $minor > $max_minor
1654 0 0 0 defined $parent_obj and $obj->Id eq $parent_obj->Id
1708 0 0 0 defined $obj->Release_State and $obj->Release_State eq 'released'
1713 0 0 0 defined $v->Release_State and $v->Release_State eq 'released'
1740 0 0 0 defined $o->Release_State and $o->Release_State eq 'inactive'

or 2 conditions

line l !l condition
364 0 0 $$self{'DB'}{'_next_id'} || 0
904 0 0 $self->get_object($objid) || die("Can't get object for id $objid")
1451 0 0 $obj->Owner || '(none)'

or 3 conditions

line l !l&&r !l&&!r condition
122 0 0 0 ref $proto || $proto
285 0 0 0 $args{-'title'} || new_langstring('en', 'Root of the site', 'de', 'Wurzel der Website')
677 0 0 0 not $args{'-links'} or $args{'-links'} ne 'unhandled'
1099 0 0 0 $trimold or $all
1218 0 0 0 not exists $args{-'recursive'} or $args{-'recursive'}
1293 0 0 0 defined $before or defined $after
0 0 0 defined $before or defined $after or defined $to
1488 0 0 0 !exists($args{-'children'}) || $args{-'children'}
1518 0 0 0 not defined $add_min_depth or $p_min < $add_min_depth
1521 0 0 0 not defined $add_max_depth or $p_max > $add_max_depth
1541 0 0 0 $major > $max_major || $major == $max_major && $minor > $max_minor
0 0 0 not defined $max_major or defined $major and $major > $max_major || $major == $max_major && $minor > $max_minor
1583 0 0 0 $obj ||= $self->root_object
1585 0 0 0 not defined $c[0] or $c[0] eq ''