| 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 |
| 49 | 15 | 5 | if ($include->type eq 'use') |
| 51 | 1 | 14 | if $lists and not grep({$_->children > 0;} @{$lists;}) |
| 57 | 2 | 9 | if grep {$modules{'use'}{$_};} keys %{$$self{'_cleaners'};} |
| 61 | 10 | 0 | if $modules_to_unimport->{$_} |
| 64 | 5 | 4 | unless @used_but_not_unimported |