Branch Coverage

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


line true false branch
26 13 1 wantarray ? :
32 13 15 if (defined $doc)
43 1 17 unless my $ppi = 'PPI::Document'->new($doc)
47 4 13 if ($varref)
60 7 6 if (&first(sub { $base_class->module eq $_; } , @moose_like_modules))
76 22 12 if $elem->schild(0)->content ne 'extends'
78 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)) { }
99 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)) { }
109 6 7 if ($base->module eq 'parent')
122 61 18 if $parent eq $elem->parent
132 2 8 unless $varref
135 7 1 if (grep {$_->content eq '@ISA';} @children)
136 2 5 if ($variable->find_any('PPI::Token::QuoteLike::Words')) { }
4 1 elsif ($variable->find_any('PPI::Statement::Expression')) { }
156 37 37 if ($element->class =~ /^PPI::Token::Quote::/)
173 40 12 unless $type