Branch Coverage

lib/Devel/PerlySense/Plugin/Syntax/Moose.pm
Criterion Covered Total %
branch 4 16 25.0


line true false branch
247 0 512157 if ($pkgNode eq 'PPI::Token::Word' and $oNode eq 'has')
248 0 0 if (ref(my $oNodeStatement = $oNode->parent) eq 'PPI::Statement')
249 0 0 if (ref(my $nodeName = $oNode->snext_sibling))
254 0 0 if ($refName eq 'PPI::Token::Quote::Literal' or $refName eq 'PPI::Token::Quote::Interpolate') { }
0 0 elsif ($refName eq 'PPI::Structure::Constructor' and $nodeName->can('find_first')) { }
259 0 0 if (my $nodeListStatement = $nodeName->find_first('PPI::Token::QuoteLike::Words'))
283 25840 998474 if ($pkgNode eq 'PPI::Statement')
284 0 25840 if ($oNode =~ /^ $keyword \s+ (?:qw)? \s* (.+);$/sx)