Branch Coverage

lib/Devel/PerlySense/Plugin/Syntax/Moose.pm
Criterion Covered Total %
branch 14 16 87.5


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