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