| blib/lib/Perl/Critic/Policy/Moose/ProhibitMultipleWiths.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 16 | 81.2 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 26 | 17 | if $document->uses_module($module) |
| 61 | 1 | 14 | unless $self->_is_interesting_document($subdocument) |
| 65 | 1 | 13 | unless $with_statements |
| 66 | 8 | 5 | if @{$with_statements;} < 2 |
| 81 | 287 | 18 | unless is_ppi_generic_statement($element) |
| 84 | 0 | 18 | unless $current_token |
| 85 | 0 | 18 | unless $current_token->isa('PPI::Token::Word') |
| 86 | 0 | 18 | if $current_token->content ne 'with' |