blib/lib/Perl/Critic/Policy/Moose/ProhibitLazyBuild.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
49 | 4 | 7 | if $document->uses_module($module) |
61 | 91 | 4 | unless is_ppi_generic_statement($element) |
63 | 0 | 4 | unless $current_token |
64 | 0 | 4 | unless $current_token->isa('PPI::Token::Word') |
65 | 0 | 4 | if $current_token->content ne 'has' |
68 | 18 | 102 | if $_->isa('PPI::Token::Word') |
71 | 2 | 2 | $lazy_build ? : |
74 | 2 | 2 | unless $uses_lazy_build |