line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::Lint::Filter::LikePerlCritic::Cruel; |
2
|
3
|
|
|
3
|
|
881
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
67
|
|
3
|
3
|
|
|
3
|
|
8
|
use warnings; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
57
|
|
4
|
3
|
|
|
3
|
|
8
|
use utf8; |
|
3
|
|
|
|
|
2
|
|
|
3
|
|
|
|
|
11
|
|
5
|
3
|
|
|
3
|
|
710
|
use Perl::Lint::Filter::LikePerlCritic::Brutal; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
195
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub filter { |
8
|
|
|
|
|
|
|
return [ |
9
|
|
|
|
|
|
|
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
|
1403
|
@{Perl::Lint::Filter::LikePerlCritic::Brutal->filter}, |
|
6
|
|
|
|
|
14
|
|
34
|
|
|
|
|
|
|
]; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|