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