Branch Coverage

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


line true false branch
27 14 2 wantarray ? :
33 15 16 if defined $doc
42 1 19 if (&blessed($doc) and $doc->isa('PPI::Document')) { }
46 2 17 unless $ppi = 'PPI::Document'->new($doc)
52 5 13 if ($varref)
65 7 6 if (&first(sub { $base_class->module eq $_; } , @moose_like_modules))
81 22 12 if $elem->schild(0)->content ne 'extends'
83 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)) { }
104 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)) { }
114 6 7 if ($base->module eq 'parent')
127 61 18 if $parent eq $elem->parent
137 2 9 unless $varref
140 8 1 if (grep {$_->content eq '@ISA';} @children)
141 2 6 if ($variable->find_any('PPI::Token::QuoteLike::Words')) { }
5 1 elsif ($variable->find_any('PPI::Statement::Expression')) { }
161 39 39 if ($element->class =~ /^PPI::Token::Quote::/)
178 40 12 unless $type