[1-5].*.txt: assign each rule to a level

This commit is contained in:
Paul Campbell 2017-01-01 14:14:22 +00:00
parent c0fb2005d3
commit a0d6fc3175
5 changed files with 153 additions and 0 deletions

35
1.layout.txt Normal file
View file

@ -0,0 +1,35 @@
- AnnotationLocation
- AnnotationUseStyle
- ArrayTypeStyle
- AvoidStarImport
- CommentsIndentation
- DeclarationOrder
- EmptyForInitializerPad
- EmptyForIteratorPad
- EmptyLineSeparator
- EmptyStatement
- FileTabCharacter
- GenericWhitespace
- Header
- LeftCurly
- LineLength
- MethodParamPad
- NewlineAtEndOfFile
- NoLineWrap
- NoWhitespaceAfter
- NoWhitespaceBefore
- OneStatementPerLine
- OperatorWrap
- OverloadMethodsDeclarationOrder
- ParenPad
- RightCurly
- SeparatorWrap
- SingleSpaceSeparator
- TrailingComment
- TypecaseParenPad
- UnnecessaryParentheses
- UnusedImports
- UpperEll
- WhitespaceAfter
- WhitespaceAround
- ForbidCCommentsInMethods

27
2.naming.txt Normal file
View file

@ -0,0 +1,27 @@
- AbbreviationAsWordInName
- AbstractClassName
- CatchParameterName
- ClassTypeParameterName
- ConstantNaming
- InterfaceTypeParameterName
- LocalFinalVariableName
- LocalVariableName
- MagicNumber
- MemberName
- MethodName
- MethodTypeParameterName
- ModifierOrder
- MultipleStringLiterals
- MultipleVariableDeclarations
- NeedBraces
- PackageName
- ParameterName
- StaticVariableName
- SuppressWarnings
- SuppressWarningsHolder
- TypeName
- EnumValueName
- NameConventionForJunit4TestClasses
- NumericLiteralNeedsUnderscore
- SimpleAccessorNameNotation
- UniformEnumConstantName

14
3.javadoc.txt Normal file
View file

@ -0,0 +1,14 @@
- AtclauseOrder
- FallThrough
- JavadocMethod
- JavadocPackage
- JavadocParagraph
- JavadocStyle
- JavadocType
- MissingDeprecated
- NonEmptyAtclauseDescription
- PackageDeclaration
- TodoComment
- Translation
- UncommentedMain
- UniqueProperties

45
4.tweaks.txt Normal file
View file

@ -0,0 +1,45 @@
- AvoidEscapedUnicodeCharacters
- DefaultComesLast
- EmptyBlock
- EmptyCatchBlock
- EqualsAvoidNull
- ExplicitInitialization
- FinalParameters
- HiddenField
- HideUtilityClassConstructor
- IllegalCatch
- IllegalImport
- IllegalThrows
- IllegalToken
- IllegalType
- InnerAssignment
- InnerTypeLast
- MissingSwitchDefault
- ModifiedControlVariable
- MutableException
- NoClone
- NoFinalizer
- OneTopLevelClass
- OuterTypeFilename
- PackageAnnotation
- RedundantModifier
- RequireThis
- StringLiteralEquality
- VariableDeclarationUsageDistance
- VisibilityModifier
- AvoidConstantAsFirstOperandInCondition
- AvoidHidingCauseException
- AvoidNotShortCircuitOperatorsForBoolean
- DiamondOperatorForVariableDefinition
- EitherLogOrThrow
- LoginConditionNeedsOptimization
- NoMainMethodInAbstractClass
- OverridableMethodInConstructor
- PublicReferenceToPrivateType
- RedundantReturn
- ReturnBooleanFromTernary
- ReturnNullInsteadOfBoolean
- SingleBreakOrContinue
- TernaryPerExpressionCount
- UselessSingleCatch
- UselessSuperCtorCall

32
5.complexity.txt Normal file
View file

@ -0,0 +1,32 @@
- AnonInnerLength
- AvoidInlineConditionals
- AvoidNestedBlocks
- AvoidStaticImport
- BooleanExpressionComplexity
- ClassDataAbstractionCoupling
- ClassFanOutComplexity
- CovariantEquals
- CyclomaticComplexity
- DesignForExtension
- EqualsHashCode
- ExecutableStatementCount
- FileLength
- FinalClass
- InterfaceIsType
- JavaNCSS
- MethodCount
- MethodLength
- NestedForDepth
- NestedIfDepth
- NestedTryDepth
- NPathComplexity
- ReturnCount
- SimplifyBooleanExpression
- SimplifyBooleanReturn
- ThrowsCount
- ConfusingCondition
- ConstructorWithoutParams
- ForbidReturnInFinallyBlock
- ForbidWildcardAsReturnType
- MapIterationInForEachLoop
- NestedSwitch