blib/lib/Perl/Critic/Policy/Community/DiscouragedModules.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 9 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 0 | 38 | 22 | defined $elem->module and exists $modules{$elem->module} |
38 | 3 | 19 | defined $elem->module and exists $modules{$elem->module} and not exists $self->{'_allowed_modules'}{$elem->module} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
46 | 19 | 0 | 0 | $modules{$module} // "Module $module is discouraged." |