Search results for "module:Perl::Critic::More"
Perl::Critic::More - Supplemental policies for Perl::Critic
This is a collection of Perl::Critic policies that are not included in the Perl::Critic core for a variety of reasons: * Experimental Some policies need some time to work out their kinks, test usability, or gauge community interest. A subset of these...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::CodeLayout::RequireASCII - Disallow high-bit characters.
ASCII is a text encoding first introduced in 1963. It represents 128 characters in seven-bit bytes, reserving the eighth bit for error detection. Perl supports a large number of encodings. However, if you really want the ultimate in backward compatib...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::Modules::RequirePerlVersion - Require a use 5.006; or similar.
As Perl evolves, new desirable features get added. The best ones seem to break backward compatibility, unfortunately. As a favor to downstream developers, it's good to state explicitly which Perl version will not be able to parse your code. For examp...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::Modules::PerlMinimumVersion - Enforce backward compatible code.
As Perl evolves, new desirable features get added. The best ones seem to break backward compatibility, unfortunately. This policy allows you to specify a mandatory compatibility version for your code. For example, if you add the following to your .pe...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::Editor::RequireEmacsFileVariables - Per-file editor settings.
Many text editors know how to find magic strings in files that indicate settings that work best for that file. For example, the file can indicate that it expects four-character indentation. In emacs, this magic string is called "File Variables". Ther...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::ErrorHandling::RequireUseOfExceptions - Use exceptions instead of die, croak, or confess.
If the decision is made that a system should use exceptions, then there should be no use of "die", "croak", or "confess"....
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::ValuesAndExpressions::RestrictLongStrings - Stop mixing long strings with code.
Long text strings in the middle of code is very distracting and wreaks havoc on code formatting. Consider putting long strings in external data files, "__DATA__" sections, or in their own subroutines. This policy complains if a long string is not the...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Perl::Critic::Policy::ValuesAndExpressions::RequireConstantOnLeftSideOfEquality - Putting the constant value on the left side of an equality exposes typos.
This policy warns you if you put a constant value (i.e. a literal number or some string) on the right side of a "==" operator when there is a variable or some other lvalue on the left side. In a nutshell: if($foo == 42){} # not ok if(42 == $foo){} # ...
THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
Task::Perl::Critic - Install everything Perl::Critic.
This module does nothing but act as a placeholder. See Task. WARNING: Installing this distribution will install Policies that directly conflict with each other. If you do not use a .perlcriticrc file, and your severity is set high enough, there is no...
THALJEF/Task-Perl-Critic-1.008 - 04 Jan 2012 19:47:38 UTC
Perl::Critic - Critique Perl source code for best-practices.
Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
Test::Perl::Critic - Use Perl::Critic in test programs
Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate convenien...
PETDANCE/Test-Perl-Critic-1.04 - 26 Mar 2018 15:07:07 UTC
Perl::Police - Essentially a Code Review, on steroids. NOTE: This version is NOT complete. If you think this Module may be of interest to you. Track this Module, as the following version will be operational.
Perl::Police is essentially Code Review. It will allow you to rigeriously test your Application, or Module, and ultimately save you from yourself. But doesn't Perl already provide the tools for accomplishing this sort of thing? Yes, it essentially do...
TAINT/Perl-Police-v0.0.2 - 23 Nov 2013 07:54:21 UTC
Perl::Critic::Bangs - A collection of handy Perl::Critic policies
The rules included with the Perl::Critic::Bangs group include: Perl::Critic::Policy::Bangs::ProhibitCommentedOutCode Commented-out code is usually noise. It should be removed. Perl::Critic::Policy::Bangs::ProhibitFlagComments Watch for comments like ...
PETDANCE/Perl-Critic-Bangs-1.12 - 25 May 2017 04:09:31 UTC
Perl::Critic::Git - Bond git and Perl::Critic to blame the right people for violations.
AUBERTG/Perl-Critic-Git-v1.3.1
-
08 Apr 2018 01:30:07 UTC
Perl::Critic::Swift - A set of additional policies for Perl::Critic.
The included policies are: Perl::Critic::Policy::CodeLayout::RequireUseUTF8 Require that code includes a "use utf8;" statement. [Severity: 3] Perl::Critic::Policy::Documentation::RequirePODUseEncodingUTF8 Require that POD includes a "=encoding utf8" ...
ELLIOTJS/Perl-Critic-Swift-v1.0.3 - 04 May 2008 00:41:35 UTC
Perl::Critic::Utils - General utility subroutines and constants for Perl::Critic and derivative distributions.
This module provides several static subs and variables that are useful for developing Perl::Critic::Policy subclasses. Unless you are writing Policy modules, you probably don't care about this package....
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
Perl::Critic::Pulp - some add-on perlcritic policies
This is a collection of add-on policies for "Perl::Critic". They're under a "pulp" theme plus other themes according to their purpose (see "POLICY THEMES" in Perl::Critic). Bugs CodeLayout::ProhibitFatCommaNewline Avoid newline before "=>" not quotin...
KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC
Perl::Critic::Nits - policies of nits I like to pick.
The included policy is: Perl::Critic::Policy::ValuesAndExpressions::ProhibitAccessOfPrivateData Prohibits direct access to a hash-based object's hash. [Severity: 5]...
KCOWGILL/Perl-Critic-Nits-v1.0.0 - 14 Sep 2007 22:09:08 UTC
Perl::Critic::Theme - Construct thematic sets of policies.
This is a helper class for evaluating theme expressions into sets of Policy objects. There are no user-serviceable parts here....
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
Perl::Critic::Config - The final derived Perl::Critic configuration, combined from any profile file and command-line parameters.
Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into the Perl::Critic engine and how they should be configured. You should never really need to...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC