Branch Coverage

blib/lib/Web/PerlDistSite/MenuItem.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
83 0 0 if (exists $hashref->{'divider'}) { }
0 0 elsif (exists $hashref->{'pod'}) { }
0 0 elsif (exists $hashref->{'source'} and $hashref->{'source'} =~ /.pod/) { }
0 0 elsif (exists $hashref->{'source'} and $hashref->{'source'} =~ /.md/) { }
0 0 elsif (exists $hashref->{'source'} and $hashref->{'source'} =~ /.html/) { }
116 0 0 if ($self->name)
117 0 0 if ($self->name eq "github")
120 0 0 if ($self->name eq "metacpan")
123 0 0 if ($self->name eq "issues")
142 0 0 if defined $_
152 0 0 unless $node->can("tagName")
153 0 0 if $node->tagName eq "code" and $node->parentNode->tagName eq "pre"
157 0 0 unless $node->can("tagName")
158 0 0 if $node->tagName eq "pre" and $node->getElementsByTagName("code")->size
172 0 0 if (length $icon)
176 0 0 if (@{$self->children}) { }
0 0 elsif ($self == $active_item) { }
209 0 0 if (length $icon)
213 0 0 if ($self == $active_item) { }
241 0 0 if (my $title = $self->title)