File Coverage

blib/lib/Perl/Lint/Filter/LikePerlCritic/Gentle.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 19 20 95.0


line stmt bran cond sub pod time code
1             package Perl::Lint::Filter::LikePerlCritic::Gentle;
2 1     1   404 use strict;
  1         2  
  1         28  
3 1     1   3 use warnings;
  1         1  
  1         22  
4 1     1   10 use utf8;
  1         1  
  1         5  
5 1     1   31 use Perl::Lint::Filter::LikePerlCritic::Stern;
  1         1  
  1         106  
6              
7             sub filter {
8             return [
9 1         4 qw{
10             BuiltinFunctions/ProhibitBooleanGrep.pm
11             BuiltinFunctions/ProhibitStringySplit.pm
12             BuiltinFunctions/ProhibitUselessTopic.pm
13             CodeLayout/ProhibitQuotedWordLists.pm
14             ControlStructures/ProhibitCStyleForLoops.pm
15             ControlStructures/ProhibitPostfixControls.pm
16             ControlStructures/ProhibitUnlessBlocks.pm
17             ControlStructures/ProhibitUntilBlocks.pm
18             Documentation/RequirePodLinksIncludeText.pm
19             Documentation/RequirePodSections.pm
20             InputOutput/RequireCheckedClose.pm
21             Miscellanea/ProhibitTies.pm
22             Miscellanea/ProhibitUselessNoCritic.pm
23             Modules/RequireNoMatchVarsWithUseEnglish.pm
24             Modules/RequireVersionVar.pm
25             References/ProhibitDoubleSigils.pm
26             RegularExpressions/ProhibitFixedStringMatches.pm
27             RegularExpressions/ProhibitUselessTopic.pm
28             RegularExpressions/RequireDotMatchAnything.pm
29             RegularExpressions/RequireLineBoundaryMatching.pm
30             Subroutines/ProhibitAmpersandSigils.pm
31             ValuesAndExpressions/ProhibitEmptyQuotes.pm
32             ValuesAndExpressions/ProhibitEscapedCharacters.pm
33             ValuesAndExpressions/ProhibitLongChainsOfMethodCalls.pm
34             ValuesAndExpressions/ProhibitMagicNumbers.pm
35             ValuesAndExpressions/ProhibitNoisyQuotes.pm
36             ValuesAndExpressions/RequireConstantVersion.pm
37             ValuesAndExpressions/RequireNumberSeparators.pm
38             ValuesAndExpressions/RequireUpperCaseHeredocTerminator.pm
39             Variables/ProhibitLocalVars.pm
40             Variables/ProhibitPerl4PackageNames.pm
41             Variables/ProhibitPunctuationVars.pm
42             },
43 1     1 0 1505 @{Perl::Lint::Filter::LikePerlCritic::Stern->filter},
44             ];
45             }
46              
47             1;
48