Branch Coverage

blib/lib/WE_Frontend/Plugin/WE_Navigation/Object.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
54 0 0 if (not defined $_[0])
105 0 0 defined $o->Version_Parent ? :
106 0 0 if (not $WE_Frontend::Plugin::WE_Navigation::Object::DONT_USE_INDEXDOC and $o->can('IndexDoc'))
107 0 0 if (defined $o->IndexDoc and $o->IndexDoc ne '') { }
0 0 elsif ($config and $config->project and $config->project->can('features') and $config->project->features and $config->project->features->{'autoindexdoc'} and $config->project->features->{'autoindexdoc'} eq 'first') { }
117 0 0 if (@children_ids)
125 0 0 if ($rootdb and not $WE_Frontend::Plugin::WE_Navigation::Object::IGNORE_NAME_DB)
127 0 0 if ($namedb)
129 0 0 if (@names)
135 0 0 if ($objdb->is_root_object($id)) { }
204 0 0 if defined $$o{'Navigation'} and $$o{'Navigation'} eq 'hidden' or (not defined $o->Release_State or $o->Release_State ne 'released')
206 0 0 if (defined $o->TimeOpen or defined $o->TimeExpire)
209 0 0 unless defined $now
210 0 0 if $o->is_time_restricted($now)
247 0 0 unless (defined $relobj)