From 3abef1625e51eca5236f10b7f2cec9f94ab221be Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 13 Feb 2011 14:12:08 +0000 Subject: prep for version 0.3 - drop MooseX::AttributeHelpers, use newer Moose instead - Tree::XPathEngine is no longer a hard dependency - minor documentation cleanup --- .gitignore | 7 +- ChangeLog | 5 ++ Makefile.PL | 5 +- lib/Tree/Transform/XSLTish.pm | 6 +- lib/Tree/Transform/XSLTish/Context.pm | 2 +- lib/Tree/Transform/XSLTish/Transformer.pm | 23 +++--- lib/Tree/Transform/XSLTish/Utils.pm | 2 +- t/00-author-critic.t | 35 --------- t/00-author-minver.t | 33 -------- t/00-author-pod.t | 33 -------- t/perlcriticrc | 122 ------------------------------ xt/00-author-critic.t | 35 +++++++++ xt/00-author-minver.t | 33 ++++++++ xt/00-author-pod.t | 33 ++++++++ xt/perlcriticrc | 122 ++++++++++++++++++++++++++++++ 15 files changed, 252 insertions(+), 244 deletions(-) delete mode 100644 t/00-author-critic.t delete mode 100644 t/00-author-minver.t delete mode 100644 t/00-author-pod.t delete mode 100644 t/perlcriticrc create mode 100644 xt/00-author-critic.t create mode 100644 xt/00-author-minver.t create mode 100644 xt/00-author-pod.t create mode 100644 xt/perlcriticrc diff --git a/.gitignore b/.gitignore index 7196723..417e141 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ -blib/ -inc/ +/blib/ +/inc/ /META.yml /pm_to_blib /Makefile +/Makefile.old +/cover_db/ +/MANIFEST \ No newline at end of file diff --git a/ChangeLog b/ChangeLog index 7ce649d..63688c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ .. -*- mode: rst; coding: utf-8 -*- +0.3 2010-02-13 + - drop MooseX::AttributeHelpers, use newer Moose instead + - Tree::XPathEngine is no longer a hard dependency + - minor documentation cleanup + 0.2 2009-04-30 - fixed Perl::Critic tests - fixed perl version requirement diff --git a/Makefile.PL b/Makefile.PL index d387a46..65e63c0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,17 +4,16 @@ name 'Tree-Transform-XSLTish'; license 'perl'; all_from 'lib/Tree/Transform/XSLTish.pm'; -requires 'Tree::XPathEngine' => 0, - 'Moose' => 0, +requires 'Moose' => '0.90', 'Class::MOP' => 0, 'Params::Validate' => 0, 'Carp::Clan' => 0, 'Sub::Exporter' => 0, - 'MooseX::AttributeHelpers' => 0, 'perl' => '5.6.0', ; test_requires 'Test::Most' => 0, + 'Tree::XPathEngine' => 0, 'Tree::DAG_Node::XPath' => '0.10', ; diff --git a/lib/Tree/Transform/XSLTish.pm b/lib/Tree/Transform/XSLTish.pm index e489992..4eb047f 100644 --- a/lib/Tree/Transform/XSLTish.pm +++ b/lib/Tree/Transform/XSLTish.pm @@ -8,7 +8,7 @@ use Tree::Transform::XSLTish::Transformer; use Carp::Clan qw(^Tree::Transform::XSLTish); use 5.006; -our $VERSION='0.2'; +our $VERSION='0.3'; my @DEFAULT_EXPORTS=('tree_rule', 'default_rules', @@ -242,8 +242,8 @@ This function declares that the L object returned by L should call the passed code-ref to get its engine. -C is equivalent to Cnew }>. +C is equivalent to C<< engine_factory { +$classname->new } >>. This function is not exported by default: you have to use the module as: diff --git a/lib/Tree/Transform/XSLTish/Context.pm b/lib/Tree/Transform/XSLTish/Context.pm index bb7c9de..9ef7062 100644 --- a/lib/Tree/Transform/XSLTish/Context.pm +++ b/lib/Tree/Transform/XSLTish/Context.pm @@ -2,7 +2,7 @@ package Tree::Transform::XSLTish::Context; use Moose; use Carp::Clan qw(^Tree::Transform::XSLTish); -our $VERSION='0.2'; +our $VERSION='0.3'; has 'current_node' => ( is => 'rw', isa => 'Object' ); has 'node_list' => ( is => 'rw', isa => 'ArrayRef[Object]' ); diff --git a/lib/Tree/Transform/XSLTish/Transformer.pm b/lib/Tree/Transform/XSLTish/Transformer.pm index d5ad6ec..16e27bd 100644 --- a/lib/Tree/Transform/XSLTish/Transformer.pm +++ b/lib/Tree/Transform/XSLTish/Transformer.pm @@ -1,14 +1,11 @@ package Tree::Transform::XSLTish::Transformer; use Moose; -use MooseX::AttributeHelpers; use Moose::Util::TypeConstraints; -use Params::Validate ':all'; use Tree::Transform::XSLTish::Utils; use Tree::Transform::XSLTish::Context; -use Tree::XPathEngine; use Carp::Clan qw(^Tree::Transform::XSLTish); -our $VERSION='0.2'; +our $VERSION='0.3'; subtype 'Tree::Transform::XSLTish::Engine' => as 'Object' @@ -19,18 +16,19 @@ subtype 'Tree::Transform::XSLTish::Engine' has 'rules_package' => (is => 'ro', isa => 'ClassName'); has 'context_stack' => ( - metaclass => 'Collection::Array', + traits => ['Array'], is => 'rw', isa => 'ArrayRef[Tree::Transform::XSLTish::Context]', default => sub { [] }, - provides => { - last => 'context', - push => 'enter', - pop => 'leave', - empty => 'has_context', + handles => { + enter => 'push', + leave => 'pop', + has_context => 'count', }, ); +sub context { return $_[0]->context_stack->[-1] } + has 'engine' => ( is => 'ro', isa => 'Tree::Transform::XSLTish::Engine', @@ -47,6 +45,7 @@ sub _build_engine { return $factory->(); } } + require Tree::XPathEngine; return Tree::XPathEngine->new(); } @@ -164,6 +163,8 @@ sub find_rule_by_name_in_package { if (exists $rules->{$name}) { return $rules->{$name}; } + + return; } sub rule_matches { @@ -296,7 +297,7 @@ L and returns the first defined result. =head2 C Gets all the rules having a C attribute, filters those for -which L returns true, sorts them priority, and returns +which L returns true, sorts them by priority, and returns the one with the highest priority. Dies if there is more than one rule with the highest priority; returns diff --git a/lib/Tree/Transform/XSLTish/Utils.pm b/lib/Tree/Transform/XSLTish/Utils.pm index c760585..77746d8 100644 --- a/lib/Tree/Transform/XSLTish/Utils.pm +++ b/lib/Tree/Transform/XSLTish/Utils.pm @@ -3,7 +3,7 @@ use strict; use warnings; use Class::MOP; -our $VERSION='0.2'; +our $VERSION='0.3'; my $RULES_NAME='%_tree_transform_rules'; diff --git a/t/00-author-critic.t b/t/00-author-critic.t deleted file mode 100644 index 79ed2b7..0000000 --- a/t/00-author-critic.t +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/perl - -# Test that the module passes perlcritic -use strict; -BEGIN { - $| = 1; - $^W = 1; -} - -my @MODULES = ( - 'Perl::Critic 1.098', - 'Test::Perl::Critic 1.01', - 'File::Spec', -); - -# Don't run tests during end-user installs -use Test::More; -unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} - -# Load the testing modules -foreach my $MODULE ( @MODULES ) { - eval "use $MODULE"; - if ( $@ ) { - $ENV{RELEASE_TESTING} - ? die( "Failed to load required release-testing module $MODULE" ) - : plan( skip_all => "$MODULE not available for testing" ); - } -} -my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' ); -Test::Perl::Critic->import( -profile => $rcfile ); -all_critic_ok(); - -1; diff --git a/t/00-author-minver.t b/t/00-author-minver.t deleted file mode 100644 index 4dfb876..0000000 --- a/t/00-author-minver.t +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/perl - -# Test that our declared minimum Perl version matches our syntax -use strict; -BEGIN { - $| = 1; - $^W = 1; -} - -my @MODULES = ( - 'Perl::MinimumVersion 1.20', - 'Test::MinimumVersion 0.008', -); - -# Don't run tests during end-user installs -use Test::More; -unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} - -# Load the testing modules -foreach my $MODULE ( @MODULES ) { - eval "use $MODULE"; - if ( $@ ) { - $ENV{RELEASE_TESTING} - ? die( "Failed to load required release-testing module $MODULE" ) - : plan( skip_all => "$MODULE not available for testing" ); - } -} - -all_minimum_version_from_metayml_ok(); - -1; diff --git a/t/00-author-pod.t b/t/00-author-pod.t deleted file mode 100644 index 2cdfcc4..0000000 --- a/t/00-author-pod.t +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/perl - -# Test that the syntax of our POD documentation is valid -use strict; -BEGIN { - $| = 1; - $^W = 1; -} - -my @MODULES = ( - 'Pod::Simple 3.07', - 'Test::Pod 1.26', -); - -# Don't run tests during end-user installs -use Test::More; -unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} - -# Load the testing modules -foreach my $MODULE ( @MODULES ) { - eval "use $MODULE"; - if ( $@ ) { - $ENV{RELEASE_TESTING} - ? die( "Failed to load required release-testing module $MODULE" ) - : plan( skip_all => "$MODULE not available for testing" ); - } -} - -all_pod_files_ok(); - -1; diff --git a/t/perlcriticrc b/t/perlcriticrc deleted file mode 100644 index 8503255..0000000 --- a/t/perlcriticrc +++ /dev/null @@ -1,122 +0,0 @@ -severity = 1 -color = 1 -only = 1 - -[BuiltinFunctions::ProhibitBooleanGrep] -[BuiltinFunctions::ProhibitComplexMappings] -[BuiltinFunctions::ProhibitLvalueSubstr] -[BuiltinFunctions::ProhibitReverseSortBlock] -[BuiltinFunctions::ProhibitSleepViaSelect] -[BuiltinFunctions::ProhibitStringyEval] -[BuiltinFunctions::ProhibitStringySplit] -[BuiltinFunctions::ProhibitUniversalCan] -[BuiltinFunctions::ProhibitUniversalIsa] -[BuiltinFunctions::ProhibitVoidGrep] -[BuiltinFunctions::ProhibitVoidMap] -[BuiltinFunctions::RequireBlockGrep] -[BuiltinFunctions::RequireBlockMap] -[BuiltinFunctions::RequireGlobFunction] -[BuiltinFunctions::RequireSimpleSortBlock] -[ClassHierarchies::ProhibitAutoloading] -[ClassHierarchies::ProhibitExplicitISA] -[ClassHierarchies::ProhibitOneArgBless] -[CodeLayout::ProhibitHardTabs] -[CodeLayout::ProhibitParensWithBuiltins] -[CodeLayout::ProhibitQuotedWordLists] -[CodeLayout::ProhibitTrailingWhitespace] -[CodeLayout::RequireConsistentNewlines] -[CodeLayout::RequireTrailingCommas] -[ControlStructures::ProhibitCStyleForLoops] -[ControlStructures::ProhibitCascadingIfElse] -[ControlStructures::ProhibitDeepNests] -[ControlStructures::ProhibitLabelsWithSpecialBlockNames] -[ControlStructures::ProhibitMutatingListFunctions] -[ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] -[ControlStructures::ProhibitPostfixControls] -[ControlStructures::ProhibitUnreachableCode] -[ControlStructures::ProhibitUntilBlocks] -[Documentation::RequirePackageMatchesPodName] -[Documentation::RequirePodAtEnd] -[ErrorHandling::RequireCarping] -[ErrorHandling::RequireCheckingReturnValueOfEval] -[InputOutput::ProhibitBacktickOperators] -[InputOutput::ProhibitBarewordFileHandles] -[InputOutput::ProhibitExplicitStdin] -[InputOutput::ProhibitInteractiveTest] -[InputOutput::ProhibitJoinedReadline] -[InputOutput::ProhibitOneArgSelect] -[InputOutput::ProhibitReadlineInForLoop] -[InputOutput::ProhibitTwoArgOpen] -[InputOutput::RequireBracedFileHandleWithPrint] -[InputOutput::RequireBriefOpen] -[InputOutput::RequireCheckedClose] -[InputOutput::RequireCheckedOpen] -[InputOutput::RequireCheckedSyscalls] -[Miscellanea::ProhibitFormats] -[Miscellanea::ProhibitTies] -[Miscellanea::ProhibitUnrestrictedNoCritic] -[Miscellanea::ProhibitUselessNoCritic] -[Modules::ProhibitAutomaticExportation] -[Modules::ProhibitExcessMainComplexity] -[Modules::ProhibitMultiplePackages] -[Modules::RequireBarewordIncludes] -[Modules::RequireEndWithOne] -[Modules::RequireExplicitPackage] -[Modules::RequireFilenameMatchesPackage] -[Modules::RequireNoMatchVarsWithUseEnglish] -[Modules::RequireVersionVar] -[NamingConventions::Capitalization] -[NamingConventions::ProhibitAmbiguousNames] -[References::ProhibitDoubleSigils] -[RegularExpressions::ProhibitCaptureWithoutTest] -[RegularExpressions::ProhibitFixedStringMatches] -[RegularExpressions::ProhibitUnusualDelimiters] -[RegularExpressions::RequireBracesForMultiline] -[RegularExpressions::RequireDotMatchAnything] -[RegularExpressions::RequireExtendedFormatting] -[RegularExpressions::RequireLineBoundaryMatching] -[Subroutines::ProhibitAmpersandSigils] -[Subroutines::ProhibitBuiltinHomonyms] -[Subroutines::ProhibitExcessComplexity] -[Subroutines::ProhibitExplicitReturnUndef] -[Subroutines::ProhibitManyArgs] -[Subroutines::ProhibitNestedSubs] -[Subroutines::ProhibitReturnSort] -[Subroutines::RequireFinalReturn] -[TestingAndDebugging::ProhibitNoStrict] -[TestingAndDebugging::ProhibitNoWarnings] -[TestingAndDebugging::ProhibitProlongedStrictureOverride] -[TestingAndDebugging::RequireTestLabels] -[TestingAndDebugging::RequireUseStrict] -[TestingAndDebugging::RequireUseWarnings] -[ValuesAndExpressions::ProhibitCommaSeparatedStatements] -[ValuesAndExpressions::ProhibitConstantPragma] -[ValuesAndExpressions::ProhibitEmptyQuotes] -[ValuesAndExpressions::ProhibitEscapedCharacters] -[ValuesAndExpressions::ProhibitImplicitNewlines] -[ValuesAndExpressions::ProhibitInterpolationOfLiterals] -[ValuesAndExpressions::ProhibitLeadingZeros] -[ValuesAndExpressions::ProhibitLongChainsOfMethodCalls] -[ValuesAndExpressions::ProhibitMagicNumbers] -[ValuesAndExpressions::ProhibitMismatchedOperators] -[ValuesAndExpressions::ProhibitMixedBooleanOperators] -[ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters] -[ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator] -[ValuesAndExpressions::ProhibitVersionStrings] -[ValuesAndExpressions::RequireInterpolationOfMetachars] -[ValuesAndExpressions::RequireNumberSeparators] -[ValuesAndExpressions::RequireQuotedHeredocTerminator] -[ValuesAndExpressions::RequireUpperCaseHeredocTerminator] -[Variables::ProhibitConditionalDeclarations] -[Variables::ProhibitLocalVars] -[Variables::ProhibitMatchVars] -[Variables::ProhibitPackageVars] -[Variables::ProhibitPerl4PackageNames] -[Variables::ProhibitPunctuationVars] -[Variables::ProhibitReusedNames] -[Variables::ProhibitUnusedVariables] -[Variables::ProtectPrivateVars] -[Variables::RequireInitializationForLocalVars] -[Variables::RequireLexicalLoopIterators] -[Variables::RequireLocalizedPunctuationVars] -[Variables::RequireNegativeIndices] diff --git a/xt/00-author-critic.t b/xt/00-author-critic.t new file mode 100644 index 0000000..13fe8e7 --- /dev/null +++ b/xt/00-author-critic.t @@ -0,0 +1,35 @@ +#!/usr/bin/perl + +# Test that the module passes perlcritic +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +my @MODULES = ( + 'Perl::Critic 1.098', + 'Test::Perl::Critic 1.01', + 'File::Spec', +); + +# Don't run tests during end-user installs +use Test::More; +unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +# Load the testing modules +foreach my $MODULE ( @MODULES ) { + eval "use $MODULE"; + if ( $@ ) { + $ENV{RELEASE_TESTING} + ? die( "Failed to load required release-testing module $MODULE" ) + : plan( skip_all => "$MODULE not available for testing" ); + } +} +my $rcfile = File::Spec->catfile( 'xt', 'perlcriticrc' ); +Test::Perl::Critic->import( -profile => $rcfile ); +all_critic_ok(); + +1; diff --git a/xt/00-author-minver.t b/xt/00-author-minver.t new file mode 100644 index 0000000..4dfb876 --- /dev/null +++ b/xt/00-author-minver.t @@ -0,0 +1,33 @@ +#!/usr/bin/perl + +# Test that our declared minimum Perl version matches our syntax +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +my @MODULES = ( + 'Perl::MinimumVersion 1.20', + 'Test::MinimumVersion 0.008', +); + +# Don't run tests during end-user installs +use Test::More; +unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +# Load the testing modules +foreach my $MODULE ( @MODULES ) { + eval "use $MODULE"; + if ( $@ ) { + $ENV{RELEASE_TESTING} + ? die( "Failed to load required release-testing module $MODULE" ) + : plan( skip_all => "$MODULE not available for testing" ); + } +} + +all_minimum_version_from_metayml_ok(); + +1; diff --git a/xt/00-author-pod.t b/xt/00-author-pod.t new file mode 100644 index 0000000..2cdfcc4 --- /dev/null +++ b/xt/00-author-pod.t @@ -0,0 +1,33 @@ +#!/usr/bin/perl + +# Test that the syntax of our POD documentation is valid +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +my @MODULES = ( + 'Pod::Simple 3.07', + 'Test::Pod 1.26', +); + +# Don't run tests during end-user installs +use Test::More; +unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +# Load the testing modules +foreach my $MODULE ( @MODULES ) { + eval "use $MODULE"; + if ( $@ ) { + $ENV{RELEASE_TESTING} + ? die( "Failed to load required release-testing module $MODULE" ) + : plan( skip_all => "$MODULE not available for testing" ); + } +} + +all_pod_files_ok(); + +1; diff --git a/xt/perlcriticrc b/xt/perlcriticrc new file mode 100644 index 0000000..8503255 --- /dev/null +++ b/xt/perlcriticrc @@ -0,0 +1,122 @@ +severity = 1 +color = 1 +only = 1 + +[BuiltinFunctions::ProhibitBooleanGrep] +[BuiltinFunctions::ProhibitComplexMappings] +[BuiltinFunctions::ProhibitLvalueSubstr] +[BuiltinFunctions::ProhibitReverseSortBlock] +[BuiltinFunctions::ProhibitSleepViaSelect] +[BuiltinFunctions::ProhibitStringyEval] +[BuiltinFunctions::ProhibitStringySplit] +[BuiltinFunctions::ProhibitUniversalCan] +[BuiltinFunctions::ProhibitUniversalIsa] +[BuiltinFunctions::ProhibitVoidGrep] +[BuiltinFunctions::ProhibitVoidMap] +[BuiltinFunctions::RequireBlockGrep] +[BuiltinFunctions::RequireBlockMap] +[BuiltinFunctions::RequireGlobFunction] +[BuiltinFunctions::RequireSimpleSortBlock] +[ClassHierarchies::ProhibitAutoloading] +[ClassHierarchies::ProhibitExplicitISA] +[ClassHierarchies::ProhibitOneArgBless] +[CodeLayout::ProhibitHardTabs] +[CodeLayout::ProhibitParensWithBuiltins] +[CodeLayout::ProhibitQuotedWordLists] +[CodeLayout::ProhibitTrailingWhitespace] +[CodeLayout::RequireConsistentNewlines] +[CodeLayout::RequireTrailingCommas] +[ControlStructures::ProhibitCStyleForLoops] +[ControlStructures::ProhibitCascadingIfElse] +[ControlStructures::ProhibitDeepNests] +[ControlStructures::ProhibitLabelsWithSpecialBlockNames] +[ControlStructures::ProhibitMutatingListFunctions] +[ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] +[ControlStructures::ProhibitPostfixControls] +[ControlStructures::ProhibitUnreachableCode] +[ControlStructures::ProhibitUntilBlocks] +[Documentation::RequirePackageMatchesPodName] +[Documentation::RequirePodAtEnd] +[ErrorHandling::RequireCarping] +[ErrorHandling::RequireCheckingReturnValueOfEval] +[InputOutput::ProhibitBacktickOperators] +[InputOutput::ProhibitBarewordFileHandles] +[InputOutput::ProhibitExplicitStdin] +[InputOutput::ProhibitInteractiveTest] +[InputOutput::ProhibitJoinedReadline] +[InputOutput::ProhibitOneArgSelect] +[InputOutput::ProhibitReadlineInForLoop] +[InputOutput::ProhibitTwoArgOpen] +[InputOutput::RequireBracedFileHandleWithPrint] +[InputOutput::RequireBriefOpen] +[InputOutput::RequireCheckedClose] +[InputOutput::RequireCheckedOpen] +[InputOutput::RequireCheckedSyscalls] +[Miscellanea::ProhibitFormats] +[Miscellanea::ProhibitTies] +[Miscellanea::ProhibitUnrestrictedNoCritic] +[Miscellanea::ProhibitUselessNoCritic] +[Modules::ProhibitAutomaticExportation] +[Modules::ProhibitExcessMainComplexity] +[Modules::ProhibitMultiplePackages] +[Modules::RequireBarewordIncludes] +[Modules::RequireEndWithOne] +[Modules::RequireExplicitPackage] +[Modules::RequireFilenameMatchesPackage] +[Modules::RequireNoMatchVarsWithUseEnglish] +[Modules::RequireVersionVar] +[NamingConventions::Capitalization] +[NamingConventions::ProhibitAmbiguousNames] +[References::ProhibitDoubleSigils] +[RegularExpressions::ProhibitCaptureWithoutTest] +[RegularExpressions::ProhibitFixedStringMatches] +[RegularExpressions::ProhibitUnusualDelimiters] +[RegularExpressions::RequireBracesForMultiline] +[RegularExpressions::RequireDotMatchAnything] +[RegularExpressions::RequireExtendedFormatting] +[RegularExpressions::RequireLineBoundaryMatching] +[Subroutines::ProhibitAmpersandSigils] +[Subroutines::ProhibitBuiltinHomonyms] +[Subroutines::ProhibitExcessComplexity] +[Subroutines::ProhibitExplicitReturnUndef] +[Subroutines::ProhibitManyArgs] +[Subroutines::ProhibitNestedSubs] +[Subroutines::ProhibitReturnSort] +[Subroutines::RequireFinalReturn] +[TestingAndDebugging::ProhibitNoStrict] +[TestingAndDebugging::ProhibitNoWarnings] +[TestingAndDebugging::ProhibitProlongedStrictureOverride] +[TestingAndDebugging::RequireTestLabels] +[TestingAndDebugging::RequireUseStrict] +[TestingAndDebugging::RequireUseWarnings] +[ValuesAndExpressions::ProhibitCommaSeparatedStatements] +[ValuesAndExpressions::ProhibitConstantPragma] +[ValuesAndExpressions::ProhibitEmptyQuotes] +[ValuesAndExpressions::ProhibitEscapedCharacters] +[ValuesAndExpressions::ProhibitImplicitNewlines] +[ValuesAndExpressions::ProhibitInterpolationOfLiterals] +[ValuesAndExpressions::ProhibitLeadingZeros] +[ValuesAndExpressions::ProhibitLongChainsOfMethodCalls] +[ValuesAndExpressions::ProhibitMagicNumbers] +[ValuesAndExpressions::ProhibitMismatchedOperators] +[ValuesAndExpressions::ProhibitMixedBooleanOperators] +[ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters] +[ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator] +[ValuesAndExpressions::ProhibitVersionStrings] +[ValuesAndExpressions::RequireInterpolationOfMetachars] +[ValuesAndExpressions::RequireNumberSeparators] +[ValuesAndExpressions::RequireQuotedHeredocTerminator] +[ValuesAndExpressions::RequireUpperCaseHeredocTerminator] +[Variables::ProhibitConditionalDeclarations] +[Variables::ProhibitLocalVars] +[Variables::ProhibitMatchVars] +[Variables::ProhibitPackageVars] +[Variables::ProhibitPerl4PackageNames] +[Variables::ProhibitPunctuationVars] +[Variables::ProhibitReusedNames] +[Variables::ProhibitUnusedVariables] +[Variables::ProtectPrivateVars] +[Variables::RequireInitializationForLocalVars] +[Variables::RequireLexicalLoopIterators] +[Variables::RequireLocalizedPunctuationVars] +[Variables::RequireNegativeIndices] -- cgit v1.2.3