blib/lib/Perl/Critic/Policy/Moose/RequireCleanNamespace.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
44 | 0 | 11 | unless $includes |
48 | 15 | 5 | if ($include->type eq 'use') |
50 | 1 | 14 | if $lists and not grep({$_->children > 0;} @{$lists;}) |
56 | 2 | 9 | if grep {$modules{'use'}{$_};} keys %{$$self{'_cleaners'};} |
60 | 10 | 0 | if $$modules_to_unimport{$_} |
63 | 5 | 4 | unless @used_but_not_unimported |