Branch Coverage

blib/lib/Class/Superclasses.pm
Criterion Covered Total %
branch 40 40 100.0


line true false branch
24 13 1 wantarray ? :
30 13 15 if (defined $doc)
41 1 17 unless my $ppi = 'PPI::Document'->new($doc)
45 4 13 if ($varref)
58 7 6 if (&first(sub { $base_class->module eq $_; } , @moose_like_modules))
74 22 12 if $elem->schild(0)->content ne 'extends'
76 5 7 if ($elem->find_any('PPI::Statement::Expression')) { }
2 5 elsif ($elem->find_any('PPI::Token::QuoteLike::Words')) { }
4 1 elsif ($elem->find(\&Class::Superclasses::_any_quotes)) { }
97 8 5 if ($base->find_any('PPI::Statement::Expression')) { }
1 4 elsif ($base->find_any('PPI::Token::QuoteLike::Words')) { }
3 1 elsif ($base->find(\&Class::Superclasses::_any_quotes)) { }
107 6 7 if ($base->module eq 'parent')
120 61 18 if $parent eq $elem->parent
130 2 8 unless $varref
133 7 1 if (grep {$_->content eq '@ISA';} @children)
134 2 5 if ($variable->find_any('PPI::Token::QuoteLike::Words')) { }
4 1 elsif ($variable->find_any('PPI::Statement::Expression')) { }
154 37 37 if ($element->class =~ /^PPI::Token::Quote::/)
171 40 12 unless $type