| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Perl::Lint::Filter::LikePerlCritic::Cruel; |
|
2
|
3
|
|
|
3
|
|
1415
|
use strict; |
|
|
3
|
|
|
|
|
7
|
|
|
|
3
|
|
|
|
|
114
|
|
|
3
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
|
3
|
|
|
|
|
4
|
|
|
|
3
|
|
|
|
|
85
|
|
|
4
|
3
|
|
|
3
|
|
11
|
use utf8; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
17
|
|
|
5
|
3
|
|
|
3
|
|
1023
|
use Perl::Lint::Filter::LikePerlCritic::Brutal; |
|
|
3
|
|
|
|
|
6
|
|
|
|
3
|
|
|
|
|
299
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub filter { |
|
8
|
|
|
|
|
|
|
return [ |
|
9
|
6
|
|
|
|
|
23
|
qw{ |
|
10
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitSleepViaSelect |
|
11
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitStringyEval |
|
12
|
|
|
|
|
|
|
BuiltinFunctions::RequireGlobFunction |
|
13
|
|
|
|
|
|
|
ClassHierarchies::ProhibitOneArgBless |
|
14
|
|
|
|
|
|
|
ControlStructures::ProhibitMutatingListFunctions |
|
15
|
|
|
|
|
|
|
InputOutput::ProhibitBarewordFileHandles |
|
16
|
|
|
|
|
|
|
InputOutput::ProhibitInteractiveTest |
|
17
|
|
|
|
|
|
|
InputOutput::ProhibitTwoArgOpen |
|
18
|
|
|
|
|
|
|
InputOutput::RequireEncodingWithUTF8Layer |
|
19
|
|
|
|
|
|
|
Modules::ProhibitEvilModules |
|
20
|
|
|
|
|
|
|
Modules::RequireBarewordIncludes |
|
21
|
|
|
|
|
|
|
Modules::RequireFilenameMatchesPackage |
|
22
|
|
|
|
|
|
|
Subroutines::ProhibitExplicitReturnUndef |
|
23
|
|
|
|
|
|
|
Subroutines::ProhibitNestedSubs |
|
24
|
|
|
|
|
|
|
Subroutines::ProhibitReturnSort |
|
25
|
|
|
|
|
|
|
Subroutines::ProhibitSubroutinePrototypes |
|
26
|
|
|
|
|
|
|
TestingAndDebugging::ProhibitNoStrict |
|
27
|
|
|
|
|
|
|
TestingAndDebugging::RequireUseStrict |
|
28
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitLeadingZeros |
|
29
|
|
|
|
|
|
|
Variables::ProhibitConditionalDeclarations |
|
30
|
|
|
|
|
|
|
Variables::ProhibitEvilVariables |
|
31
|
|
|
|
|
|
|
Variables::RequireLexicalLoopIterators |
|
32
|
|
|
|
|
|
|
}, |
|
33
|
6
|
|
|
6
|
0
|
1711
|
@{Perl::Lint::Filter::LikePerlCritic::Brutal->filter}, |
|
34
|
|
|
|
|
|
|
]; |
|
35
|
|
|
|
|
|
|
} |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
|
38
|
|
|
|
|
|
|
|