File: perlcriticrc-tests

package info (click to toggle)
libppix-utilities-perl 1.000001-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 208 kB
  • ctags: 11
  • sloc: perl: 1,281; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,440 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
##############################################################################
#      $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/PPIx-Utilities/xt/author/perlcriticrc-tests $
#     $Date: 2009-06-26 11:12:12 -0400 (Fri, 26 Jun 2009) $
#   $Author: clonezone $
# $Revision: 3366 $
##############################################################################

profile-strictness = quiet
severity = 1
theme = core + more
verbose = %f: %m at line %l, column %c.  %e.  (Severity: %s, %p)\n

#-----------------------------------------------------------------------------

[CodeLayout::ProhibitQuotedWordLists]
strict = 1

[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0

[-CodeLayout::RequireTidyCode]

[ControlStructures::ProhibitPostfixControls]
flowcontrol = warn die carp croak cluck confess goto exit plan skip

[Documentation::PodSpelling]
stop_words =

[-Documentation::RequirePodSections]

[-ErrorHandling::RequireUseOfExceptions]

[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print

[Miscellanea::RequireRcsKeywords]
keywords = URL Date Author Revision

# Character length is not a proper measure of complexity.
[-RegularExpressions::ProhibitComplexRegexes]

[RegularExpressions::ProhibitUnusualDelimiters]
allow_all_brackets = 1

[RegularExpressions::RequireBracesForMultiline]
allow_all_brackets = 1

# Tests are allowed to peek.
[-Subroutines::ProtectPrivateSubs]