| 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') { } | |
| 41 | 0 | 16 | if ($self->{'debug'}) |
| 47 | 8 | 34 | if ($package eq $module) |
| 49 | 4 | 4 | if (defined $self->{'_modules'}{$module}) { } |
| 72 | 0 | 1 | if ($self->{'debug'}) |
| 93 | 0 | 1 | if ($self->{'debug'}) |
| 98 | 1 | 0 | if ($modules) |
| 114 | 2 | 1 | if ($parameter =~ /\s*=>\s*/) { } |