blib/lib/Perl/Lint/Policy/Modules/ProhibitEvilModules.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
29 | 2 | 13 | if ($modules_file) |
40 | 31 | 39 | if ($token_type == 93) |
44 | 30 | 35 | if ($token_type != 127 and $token_type != 126 and $token_type != 94) |
54 | 30 | 1 | if (&any(sub { $used_name eq $_; } , @{['Class::ISA', 'Pod::Plainer', 'Shell', 'Switch'];}, @evils) or &any(sub { $used_name =~ /$_/ if $_; } , @evils_re)) |
56 | 24 | 13 | if $_ |