Branch Coverage

blib/lib/WE_Frontend/Plugin/Navigation.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
102 0 0 if (not $objdb and $rootdb)
105 0 0 unless ($objdb)
106 0 0 if ($rootdb) { }
113 0 0 unless (defined $objid)
114 0 0 if (defined $$params{'name'})
118 0 0 unless (defined $objid)
146 0 0 ref $_[$#_] eq 'HASH' ? :
151 0 0 if (defined $$params{'fromlevel'}) { }
0 0 elsif (defined $$params{'tolevel'}) { }
152 0 0 if (defined $$params{'tolevel'}) { }
175 0 0 ref $_[$#_] eq 'HASH' ? :
206 0 0 ref $_[$#_] eq 'HASH' ? :
226 0 0 ref $_[$#_] eq 'HASH' ? :
231 0 0 if (defined $$params{'level'}) { }
233 0 0 if ($$params{'level'} =~ /^\d/) { }
0 0 elsif ($$params{'level'} =~ /^-(\d+)$/) { }
236 0 0 if (-($$params{'level'} - 2) > scalar @ancestors + 1) { }
0 0 elsif (-($$params{'level'} - 2) == scalar @ancestors + 1) { }
271 0 0 ref $_[$#_] eq 'HASH' ? :
291 0 0 ref $_[$#_] eq 'HASH' ? :
293 0 0 if ($obj->is_doc) { }
322 0 0 unless $sub and @$listref
351 0 0 unless $sub and @$listref
368 0 0 unless ($obj)
396 0 0 if (defined $$params{'objid'}) { }
0 0 elsif (defined $$params{'name'}) { }
0 0 elsif (defined $$self{'ObjID'}) { }
403 0 0 unless (defined $id)
463 0 0 unless (exists $$params{'objid'} or exists $$params{'name'})
482 0 0 if $objid eq $current_id
484 0 0 if $objid eq $o->Id
498 0 0 if (defined $id)
580 0 0 if (/^\d+$/) { }
0 0 elsif (UNIVERSAL::isa($_, $class)) { }
0 0 elsif (UNIVERSAL::isa($_, 'WE::Obj')) { }
604 0 0 if (/^\d+$/) { }
0 0 elsif (UNIVERSAL::isa($_, $class)) { }
0 0 elsif (UNIVERSAL::isa($_, 'WE::Obj')) { }
629 0 0 if defined $extra