Branch Coverage

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


line true false branch
70 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/) { }
103 0 0 if ($self->name)
104 0 0 if ($self->name eq "github")
107 0 0 if ($self->name eq "metacpan")
110 0 0 if ($self->name eq "issues")
121 0 0 unless $node->can("tagName")
122 0 0 if $node->tagName eq "code" and $node->parentNode->tagName eq "pre"
126 0 0 unless $node->can("tagName")
127 0 0 if $node->tagName eq "pre" and $node->getElementsByTagName("code")->size
141 0 0 if (length $icon)
145 0 0 if (@{$self->children}) { }
0 0 elsif ($self == $active_item) { }
178 0 0 if (length $icon)
182 0 0 if ($self == $active_item) { }