| blib/lib/Perl/Critic/Policy/Moose/ProhibitMultipleWiths.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 13 | 16 | 81.2 | 
| line | true | false | branch | 
|---|---|---|---|
| 48 | 26 | 29 | if $document->uses_module($module) | 
| 63 | 1 | 14 | unless $self->_is_interesting_document($subdocument) | 
| 67 | 1 | 13 | unless $with_statements | 
| 68 | 8 | 5 | if @{$with_statements;} < 2 | 
| 83 | 287 | 18 | unless is_ppi_generic_statement($element) | 
| 86 | 0 | 18 | unless $current_token | 
| 87 | 0 | 18 | unless $current_token->isa('PPI::Token::Word') | 
| 88 | 0 | 18 | if $current_token->content ne 'with' |