| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Perl::Lint::Filter::LikePerlCritic::Stern; |
|
2
|
2
|
|
|
2
|
|
918
|
use strict; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
48
|
|
|
3
|
2
|
|
|
2
|
|
5
|
use warnings; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
38
|
|
|
4
|
2
|
|
|
2
|
|
6
|
use utf8; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
8
|
|
|
5
|
2
|
|
|
2
|
|
342
|
use Perl::Lint::Filter::LikePerlCritic::Harsh; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
155
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub filter { |
|
8
|
|
|
|
|
|
|
return [ |
|
9
|
|
|
|
|
|
|
qw{ |
|
10
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitLvalueSubstr |
|
11
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitComplexMappings |
|
12
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitUniversalIsa |
|
13
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitVoidGrep |
|
14
|
|
|
|
|
|
|
BuiltinFunctions::RequireSimpleSortBlock |
|
15
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitVoidMap |
|
16
|
|
|
|
|
|
|
ClassHierarchies::ProhibitAutoloading |
|
17
|
|
|
|
|
|
|
ClassHierarchies::ProhibitExplicitISA |
|
18
|
|
|
|
|
|
|
BuiltinFunctions::ProhibitUniversalCan |
|
19
|
|
|
|
|
|
|
CodeLayout::ProhibitHardTabs |
|
20
|
|
|
|
|
|
|
ControlStructures::ProhibitCascadingIfElse |
|
21
|
|
|
|
|
|
|
ControlStructures::ProhibitDeepNests |
|
22
|
|
|
|
|
|
|
ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions |
|
23
|
|
|
|
|
|
|
ErrorHandling::RequireCheckingReturnValueOfEval |
|
24
|
|
|
|
|
|
|
ErrorHandling::RequireCarping |
|
25
|
|
|
|
|
|
|
InputOutput::ProhibitBacktickOperators |
|
26
|
|
|
|
|
|
|
InputOutput::ProhibitJoinedReadline |
|
27
|
|
|
|
|
|
|
InputOutput::RequireCheckedOpen |
|
28
|
|
|
|
|
|
|
Miscellanea::ProhibitFormats |
|
29
|
|
|
|
|
|
|
Miscellanea::ProhibitUnrestrictedNoCritic |
|
30
|
|
|
|
|
|
|
Modules::ProhibitConditionalUseStatements |
|
31
|
|
|
|
|
|
|
Modules::ProhibitExcessMainComplexity |
|
32
|
|
|
|
|
|
|
NamingConventions::ProhibitAmbiguousNames |
|
33
|
|
|
|
|
|
|
RegularExpressions::ProhibitCaptureWithoutTest |
|
34
|
|
|
|
|
|
|
RegularExpressions::ProhibitComplexRegexes |
|
35
|
|
|
|
|
|
|
RegularExpressions::ProhibitUnusedCapture |
|
36
|
|
|
|
|
|
|
RegularExpressions::RequireExtendedFormatting |
|
37
|
|
|
|
|
|
|
Subroutines::ProhibitExcessComplexity |
|
38
|
|
|
|
|
|
|
Subroutines::ProhibitManyArgs |
|
39
|
|
|
|
|
|
|
Subroutines::ProhibitUnusedPrivateSubroutines |
|
40
|
|
|
|
|
|
|
Subroutines::ProtectPrivateSubs |
|
41
|
|
|
|
|
|
|
TestingAndDebugging::RequireTestLabels |
|
42
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitComplexVersion |
|
43
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitImplicitNewlines |
|
44
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitMismatchedOperators |
|
45
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters |
|
46
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator |
|
47
|
|
|
|
|
|
|
ValuesAndExpressions::ProhibitVersionStrings |
|
48
|
|
|
|
|
|
|
ValuesAndExpressions::RequireQuotedHeredocTerminator |
|
49
|
|
|
|
|
|
|
Variables::ProhibitPackageVars |
|
50
|
|
|
|
|
|
|
Variables::ProhibitReusedNames |
|
51
|
|
|
|
|
|
|
Variables::ProhibitUnusedVariables |
|
52
|
|
|
|
|
|
|
Variables::ProtectPrivateVars |
|
53
|
|
|
|
|
|
|
Variables::RequireInitializationForLocalVars |
|
54
|
|
|
|
|
|
|
}, |
|
55
|
3
|
|
|
3
|
0
|
1232
|
@{Perl::Lint::Filter::LikePerlCritic::Harsh->filter}, |
|
|
3
|
|
|
|
|
8
|
|
|
56
|
|
|
|
|
|
|
]; |
|
57
|
|
|
|
|
|
|
} |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
1; |
|
60
|
|
|
|
|
|
|
|