123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- This configuration file was written by the eclipse-cs plugin configuration editor
- -->
- <!--
- Checkstyle-Configuration: ScytlCheckStyle
- Description:
- -->
- <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
- <module name="Checker">
- <property name="severity" value="warning"/>
- <module name="TreeWalker">
- <module name="JavadocMethod">
- <property name="severity" value="ignore"/>
- <property name="allowMissingParamTags" value="true"/>
- <property name="allowMissingThrowsTags" value="true"/>
- <property name="allowMissingReturnTag" value="true"/>
- </module>
- <module name="JavadocType">
- <property name="severity" value="ignore"/>
- </module>
- <module name="JavadocVariable">
- <property name="severity" value="ignore"/>
- </module>
- <module name="JavadocStyle">
- <property name="severity" value="ignore"/>
- </module>
- <module name="ConstantName">
- <property name="format" value="^[A-Z][A-Z0-9]*(__?[A-Z0-9]+)*$"/>
- </module>
- <module name="LocalFinalVariableName"/>
- <module name="LocalVariableName"/>
- <module name="MemberName">
- <property name="format" value="^_[a-z][a-zA-Z0-9]*$"/>
- </module>
- <module name="MethodName"/>
- <module name="PackageName"/>
- <module name="ParameterName"/>
- <module name="StaticVariableName">
- <property name="severity" value="ignore"/>
- </module>
- <module name="TypeName"/>
- <module name="AvoidStarImport"/>
- <module name="IllegalImport"/>
- <module name="RedundantImport"/>
- <module name="UnusedImports"/>
- <module name="FileLength"/>
- <module name="LineLength">
- <property name="severity" value="ignore"/>
- </module>
- <module name="MethodLength"/>
- <module name="ParameterNumber">
- <property name="severity" value="ignore"/>
- </module>
- <module name="EmptyForIteratorPad"/>
- <module name="MethodParamPad"/>
- <module name="NoWhitespaceAfter">
- <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
- </module>
- <module name="NoWhitespaceBefore"/>
- <module name="OperatorWrap"/>
- <module name="ParenPad"/>
- <module name="TypecastParenPad">
- <property name="tokens" value="RPAREN,TYPECAST"/>
- </module>
- <module name="TabCharacter"/>
- <module name="WhitespaceAfter"/>
- <module name="WhitespaceAround">
- <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"/>
- </module>
- <module name="ModifierOrder"/>
- <module name="RedundantModifier"/>
- <module name="AvoidNestedBlocks"/>
- <module name="EmptyBlock"/>
- <module name="LeftCurly"/>
- <module name="NeedBraces"/>
- <module name="RightCurly"/>
- <module name="AvoidInlineConditionals">
- <property name="severity" value="ignore"/>
- </module>
- <module name="DoubleCheckedLocking"/>
- <module name="EmptyStatement"/>
- <module name="EqualsHashCode"/>
- <module name="HiddenField"/>
- <module name="IllegalInstantiation"/>
- <module name="InnerAssignment"/>
- <module name="MagicNumber">
- <property name="ignoreNumbers" value="-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10"/>
- </module>
- <module name="MissingSwitchDefault"/>
- <module name="RedundantThrows">
- <property name="severity" value="ignore"/>
- </module>
- <module name="SimplifyBooleanExpression"/>
- <module name="SimplifyBooleanReturn"/>
- <module name="DesignForExtension">
- <property name="severity" value="ignore"/>
- </module>
- <module name="FinalClass"/>
- <module name="HideUtilityClassConstructor"/>
- <module name="InterfaceIsType">
- <property name="severity" value="ignore"/>
- </module>
- <module name="VisibilityModifier">
- <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Scytl convention"/>
- <property name="protectedAllowed" value="true"/>
- </module>
- <module name="ArrayTypeStyle"/>
- <module name="FinalParameters"/>
- <module name="GenericIllegalRegexp">
- <property name="severity" value="ignore"/>
- <property name="format" value="\s+$"/>
- <property name="message" value="Line has trailing spaces."/>
- </module>
- <module name="TodoComment"/>
- <module name="UpperEll"/>
- <module name="StaticVariableName">
- <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Scytl convention"/>
- <property name="format" value="^_[a-z][a-zA-Z0-9]*$"/>
- </module>
- <module name="AnonInnerLength">
- <property name="max" value="50"/>
- </module>
- <module name="ExecutableStatementCount">
- <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
- </module>
- <module name="EmptyForInitializerPad">
- <property name="severity" value="ignore"/>
- </module>
- <module name="CovariantEquals"/>
- <module name="DefaultComesLast"/>
- <module name="IllegalCatch"/>
- <module name="IllegalThrows"/>
- <module name="JUnitTestCase"/>
- <module name="ModifiedControlVariable"/>
- <module name="MultipleStringLiterals"/>
- <module name="MultipleVariableDeclarations"/>
- <module name="NestedTryDepth"/>
- <module name="NestedIfDepth">
- <property name="max" value="2"/>
- </module>
- <module name="PackageDeclaration"/>
- <module name="SuperFinalize"/>
- <module name="SuperClone"/>
- <module name="StringLiteralEquality"/>
- <module name="ReturnCount">
- <property name="max" value="3"/>
- </module>
- <module name="ClassFanOutComplexity"/>
- <module name="CyclomaticComplexity"/>
- <module name="NPathComplexity"/>
- <module name="ClassDataAbstractionCoupling">
- <property name="max" value="15"/>
- </module>
- <module name="BooleanExpressionComplexity"/>
- <module name="JavaNCSS">
- <property name="methodMaximum" value="150"/>
- </module>
- </module>
- <module name="PackageHtml">
- <property name="severity" value="ignore"/>
- </module>
- <module name="NewlineAtEndOfFile"/>
- <module name="Translation"/>
- </module>
|