App-PerlCriticUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

               name => "RegularExpressions::ProhibitComplexRegexes",
               abstract => "Split long regexps into smaller C<qr//> chunks.",
               supported_parameters => "max_characters",
               applies_to => "PPI::Token::QuoteLike::Regexp",
               default_themes => "core, pbp, maintenance",
               default_severity => 3,
             },
             {
               name => "RegularExpressions::ProhibitEnumeratedClasses",
               abstract => "Use named character classes instead of explicit character lists.",
               default_themes => "core, pbp, cosmetic, unicode",
               default_severity => 1,
               applies_to => "PPI::Token::QuoteLike::Regexp",
               supported_parameters => "",
             },
             {
               name => "RegularExpressions::ProhibitEscapedMetacharacters",
               abstract => "Use character classes for literal meta-characters instead of escapes.",
               supported_parameters => "",
               default_severity => 1,
               default_themes => "core, pbp, cosmetic",

lib/App/PerlCriticUtils.pm  view on Meta::CPAN

       name => "RegularExpressions::ProhibitComplexRegexes",
       abstract => "Split long regexps into smaller C<qr//> chunks.",
       supported_parameters => "max_characters",
       applies_to => "PPI::Token::QuoteLike::Regexp",
       default_themes => "core, pbp, maintenance",
       default_severity => 3,
     },
     {
       name => "RegularExpressions::ProhibitEnumeratedClasses",
       abstract => "Use named character classes instead of explicit character lists.",
       default_themes => "core, pbp, cosmetic, unicode",
       default_severity => 1,
       applies_to => "PPI::Token::QuoteLike::Regexp",
       supported_parameters => "",
     },
     {
       name => "RegularExpressions::ProhibitEscapedMetacharacters",
       abstract => "Use character classes for literal meta-characters instead of escapes.",
       supported_parameters => "",
       default_severity => 1,
       default_themes => "core, pbp, cosmetic",

script/pcplist  view on Meta::CPAN

 | Modules::RequireExplicitPackage                                          | Always make the C<package> explicit.                                                                       | PPI::Document                     | 4                | core, bu...
 | Modules::RequireFilenameMatchesPackage                                   | Package declaration must match filename.                                                                   | PPI::Document                     | 5                | core, bu...
 | Modules::RequireNoMatchVarsWithUseEnglish                                | C<use English> must be passed a C<-no_match_vars> argument.                                                | PPI::Statement::Include           | 2                | core, pe...
 | Modules::RequireVersionVar                                               | Give every module a C<$VERSION> number.                                                                    | PPI::Document                     | 2                | core, pb...
 | NamingConventions::Capitalization                                        | Distinguish different program components by case.                                                          | PPI::Token::Label                 | 1                | core, pb...
 | NamingConventions::ProhibitAmbiguousNames                                | Don't use vague variable or subroutine names like 'last' or 'record'.                                      | PPI::Statement::Variable          | 3                | core, pb...
 | Objects::ProhibitIndirectSyntax                                          | Prohibit indirect object call syntax.                                                                      | PPI::Token::Word                  | 4                | core, pb...
 | References::ProhibitDoubleSigils                                         | Write C<@{ $array_ref }> instead of C<@$array_ref>.                                                        | PPI::Token::Cast                  | 2                | core, pb...
 | RegularExpressions::ProhibitCaptureWithoutTest                           | Capture variable used outside conditional.                                                                 | PPI::Token::Magic                 | 3                | core, pb...
 | RegularExpressions::ProhibitComplexRegexes                               | Split long regexps into smaller C<qr//> chunks.                                                            | PPI::Token::QuoteLike::Regexp     | 3                | core, pb...
 | RegularExpressions::ProhibitEnumeratedClasses                            | Use named character classes instead of explicit character lists.                                           | PPI::Token::QuoteLike::Regexp     | 1                | core, pb...
 | RegularExpressions::ProhibitEscapedMetacharacters                        | Use character classes for literal meta-characters instead of escapes.                                      | PPI::Token::QuoteLike::Regexp     | 1                | core, pb...
 | RegularExpressions::ProhibitFixedStringMatches                           | Use C<eq> or hash instead of fixed-pattern regexps.                                                        | PPI::Token::QuoteLike::Regexp     | 2                | core, pb...
 | RegularExpressions::ProhibitSingleCharAlternation                        | Use C<[abc]> instead of C<a|b|c>.                                                                          | PPI::Token::QuoteLike::Regexp     | 1                | core, pb...
 | RegularExpressions::ProhibitUnusedCapture                                | Only use a capturing group if you plan to use the captured value.                                          | PPI::Token::Regexp::Substitute    | 3                | core, pb...
 | RegularExpressions::ProhibitUnusualDelimiters                            | Use only C<//> or C<{}> to delimit regexps.                                                                | PPI::Token::QuoteLike::Regexp     | 1                | core, pb...
 | RegularExpressions::ProhibitUselessTopic                                 | Don't use $_ to match against regexes.                                                                     | PPI::Token::Magic                 | 2                | core    ...
 | RegularExpressions::RequireBracesForMultiline                            | Use C<{> and C<}> to delimit multi-line regexps.                                                           | PPI::Token::QuoteLike::Regexp     | 1                | core, pb...
 | RegularExpressions::RequireDotMatchAnything                              | Always use the C</s> modifier with regular expressions.                                                    | PPI::Token::QuoteLike::Regexp     | 2                | core, pb...
 | RegularExpressions::RequireExtendedFormatting                            | Always use the C</x> modifier with regular expressions.                                                    | PPI::Token::QuoteLike::Regexp     | 3                | core, pb...
 | RegularExpressions::RequireLineBoundaryMatching                          | Always use the C</m> modifier with regular expressions.                                                    | PPI::Token::QuoteLike::Regexp     | 2                | core, pb...



( run in 0.326 second using v1.01-cache-2.11-cpan-88abd93f124 )