line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::Lint::Filter::LikePerlCritic::Harsh; |
2
|
2
|
|
|
2
|
|
388
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
44
|
|
3
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
31
|
|
4
|
2
|
|
|
2
|
|
6
|
use utf8; |
|
2
|
|
|
|
|
1
|
|
|
2
|
|
|
|
|
6
|
|
5
|
2
|
|
|
2
|
|
346
|
use Perl::Lint::Filter::LikePerlCritic::Cruel; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
118
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub filter { |
8
|
|
|
|
|
|
|
return [ |
9
|
|
|
|
|
|
|
qw{ |
10
|
|
|
|
|
|
|
BuiltinFunctions::RequireBlockGrep |
11
|
|
|
|
|
|
|
BuiltinFunctions::RequireBlockMap |
12
|
|
|
|
|
|
|
CodeLayout::RequireConsistentNewlines |
13
|
|
|
|
|
|
|
ControlStructures::ProhibitLabelsWithSpecialBlockNames |
14
|
|
|
|
|
|
|
ControlStructures::ProhibitUnreachableCode |
15
|
|
|
|
|
|
|
InputOutput::ProhibitExplicitStdin |
16
|
|
|
|
|
|
|
InputOutput::ProhibitOneArgSelect |
17
|
|
|
|
|
|
|
InputOutput::ProhibitReadlineInForLoop |
18
|
|
|
|
|
|
|
InputOutput::RequireBriefOpen |
19
|
|
|
|
|
|
|
Modules::ProhibitAutomaticExportation |
20
|
|
|
|
|
|
|
Modules::ProhibitMultiplePackages |
21
|
|
|
|
|
|
|
Modules::RequireEndWithOne |
22
|
|
|
|
|
|
|
Modules::RequireExplicitPackage |
23
|
|
|
|
|
|
|
Objects::ProhibitIndirectSyntax |
24
|
|
|
|
|
|
|
Subroutines::ProhibitBuiltinHomonyms |
25
|
|
|
|
|
|
|
Subroutines::RequireArgUnpacking |
26
|
|
|
|
|
|
|
Subroutines::RequireFinalReturn |
27
|
|
|
|
|
|
|
TestingAndDebugging::ProhibitNoWarnings |
28
|
|
|
|
|
|
|
TestingAndDebugging::ProhibitProlongedStrictureOverride |
29
|
|
|
|
|
|
|
TestingAndDebugging::RequireUseWarnings |
30
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitCommaSeparatedStatements |
31
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitConstantPragma |
32
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitMixedBooleanOperators |
33
|
|
|
|
|
|
|
Variables::ProhibitAugmentedAssignmentInDeclaration |
34
|
|
|
|
|
|
|
Variables::ProhibitMatchVars |
35
|
|
|
|
|
|
|
Variables::RequireLocalizedPunctuationVars |
36
|
|
|
|
|
|
|
Variables::RequireNegativeIndices |
37
|
|
|
|
|
|
|
}, |
38
|
4
|
|
|
4
|
0
|
1438
|
@{Perl::Lint::Filter::LikePerlCritic::Cruel->filter}, |
|
4
|
|
|
|
|
11
|
|
39
|
|
|
|
|
|
|
]; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|