Branch Coverage

blib/lib/WebEditor/OldFeatures/XMenus.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
28 0 0 unless defined $args{'startid'}
41 0 0 if $o->is_folder and not $$o{'VisibleToMenu'}
49 0 0 unless &$is_visible($obj)
51 0 0 if ($obj->is_folder) { }
52 0 0 if ($depth >= 2)
57 0 0 if (not defined $indexdoc or $indexdoc eq '')
59 0 0 if (@children)
63 0 0 if (defined $indexdoc)
66 0 0 defined $href ? :
0 0 defined $href ? :
74 0 0 unless ($ul_done{$fldr_depth})
76 0 0 if ($fldr_depth < 2) { }
82 0 0 if ($fldr_depth == 1 and $args{'homelink'})
89 0 0 if ($depth >= 3)
101 0 0 unless &$is_visible($obj)
102 0 0 if ($obj->is_folder)
105 0 0 if ($ul_done{$depth})
109 0 0 if ($depth >= 2)
126 0 0 if ($c->project->projectext and $c->project->projectext->{'xmenus'})
134 0 0 unless open OUT, ">$menufile"
149 0 0 if ($f =~ m[/$objid\.(.*?)$])