blib/lib/Perl/Critic/Policy/logicLAB/ModuleBlacklist.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 20 | 70.0 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 17 | unless ($$self{'_modules'}) |
36 | 16 | 1 | if ($children[0]->content eq 'use' or $children[0]->content eq 'require') { } |
1 | 0 | elsif ($children[0]->content eq 'no') { } | |
40 | 0 | 16 | if ($$self{'debug'}) |
46 | 8 | 34 | if ($package eq $module) |
48 | 4 | 4 | if (defined $$self{'_modules'}{$module}) { } |
69 | 0 | 1 | if ($$self{'debug'}) |
89 | 0 | 1 | if ($$self{'debug'}) |
94 | 1 | 0 | if ($modules) |
110 | 2 | 1 | if ($parameter =~ /\s*=>\s*/) { } |