mh.jmh-core.1.37.source-code.checkstyle.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmh-core Show documentation
Show all versions of jmh-core Show documentation
The jmh is a Java harness for building, running, and analysing
nano/micro/macro benchmarks written in Java and other languages
targeting the JVM.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the LICENSE file that accompanied this code. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details (a copy is included in the LICENSE file that accompanied this code). You should have received a copy of the GNU General Public License version 2 along with this work; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or visit www.oracle.com if you need additional information or have any questions. --> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"><!-- generated by Sonar --> <module name="Checker"> <module name="TreeWalker"> <module name="AbstractClassName"/> <module name="AnonInnerLength"/> <module name="ArrayTypeStyle"/> <module name="AvoidStarImport"/> <module name="AvoidStaticImport"/> <module name="AnnotationUseStyle"/> <module name="ArrayTrailingComma"/> <module name="AvoidInlineConditionals" /> <module name="AvoidNestedBlocks" /> <module name="BooleanExpressionComplexity"/> <!--<module name="ClassDataAbstractCoupling" />--> <module name="ClassFanOutComplexity" /> <module name="ClassTypeParameterName" /> <module name="ConstantName"/> <module name="CovariantEquals"/> <module name="CyclomaticComplexity"> <property name="max" value="12"/> </module> <module name="DefaultComesLast"/> <module name="DeclarationOrder" /> <!--<module name="DescendantToken" />--> <!--<module name="DesignForExtension" />--> <module name="EmptyStatement"/> <module name="EqualsHashCode"/> <module name="EmptyBlock" /> <!--<module name="EmptyForIntializerPad">--> <!--<property name="option" value="space"/>--> <!--</module>--> <!--<module name="EmptyForIteratorPad">--> <!--<property name="option" value="space"/>--> <!--</module>--> <module name="EqualsAvoidNull" /> <module name="ExecutableStatementCount"> <property name="max" value="100" /> </module> <module name="ExplicitInitialization" /> <module name="FallThrough"/> <module name="FinalClass"/> <module name="FileContentsHolder"/> <!--<module name="FinalLocalVariable" />--> <!--<module name="FinalParameters" />--> <!--<module name="Header" />--> <module name="HideUtilityClassConstructor"/> <module name="HiddenField"> <property name="tokens" value="VARIABLE_DEF"/> <property name="ignoreConstructorParameter" value="true"/> <property name="ignoreSetter" value="true"/> <property name="ignoreAbstractMethods" value="true"/> </module> <module name="IllegalCatch"/> <module name="IllegalImport"/> <module name="IllegalInstantiation"/> <module name="IllegalThrows"/> <module name="InnerAssignment"/> <module name="InterfaceIsType"/> <!--<module name="IllegalToken" />--> <!--<module name="IllegalText" />--> <!--<module name="IllegalType" />--> <!--<module name="ImportControl">--> <!--<allow class="org\.spec\.jbb\..*" regex="true"/>--> <!--<allow class="java\..*" regex="true"/>--> <!--</module>--> <!--<module name="ImportOrder" />--> <module name="Indentation" /> <!--<module name="InnerTypeLast" />--> <module name="LeftCurly"> <property name="option" value="eol" /> </module> <module name="LineLength"> <property name="max" value="120"/> </module> <module name="LocalFinalVariableName"/> <module name="LocalVariableName"/> <!--<module name="MethodCount" />--> <module name="MethodLength" /> <module name="MethodParamPad" /> <module name="MethodTypeParameterName" /> <module name="MissingCtor" /> <module name="MissingDeprecated" /> <module name="MissingOverride" /> <module name="MultipleStringLiterals"> <property name="severity" value="info" /> </module> <module name="MultipleVariableDeclarations" /> <module name="MagicNumber"> <property name="ignoreNumbers" value="-1,0,1,2,3,4,5,31"/> </module> <module name="MethodLength"> <property name="max" value="100"/> </module> <module name="MemberName"/> <module name="MethodName"/> <module name="MissingSwitchDefault"/> <module name="ModifiedControlVariable"/> <module name="ModifierOrder"/> <module name="MutableException"/> <module name="NPathComplexity"> <property name="severity" value="info" /> </module> <module name="NeedBraces" /> <!--<module name="NestedForDepth" />--> <module name="NestedIfDepth" /> <module name="NestedTryDepth" /> <module name="NoClone" /> <module name="NoFinalizer" /> <module name="NoWhitespaceAfter" /> <module name="NoWhitespaceBefore" /> <!--<module name="OneStatementPerLine" />--> <module name="OperatorWrap" /> <!--<module name="OuterTypeFilename" />--> <module name="OuterTypeNumber" /> <module name="PackageName"/> <module name="ParameterAssignment"/> <module name="ParameterName"/> <module name="ParameterNumber"/> <module name="ParenPad"/> <module name="RedundantImport"/> <module name="RedundantModifier"/> <module name="RedundantThrows"/> <!--<module name="RequireThis"/>--> <module name="ReturnCount"> <property name="max" value="4" /> </module> <module name="RightCurly"> <property name="option" value="same" /> </module> <module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanReturn"/> <module name="StaticVariableName"/> <module name="StringLiteralEquality"/> <module name="SuperClone"/> <module name="SuperFinalize"/> <module name="TodoComment"> <property name="format" value="FIXME"/> </module> <module name="TodoComment"> <property name="format" value="TODO"/> </module> <module name="ThrowsCount" /> <module name="TypeName" /> <module name="TypecastParenPad" /> <module name="UnnecessaryParentheses"/> <module name="UnusedImports"/> <module name="UpperEll"/> <module name="VisibilityModifier"/> </module> <!--<module name="StrictDuplicateCode"/>--> <module name="FileTabCharacter" /> <module name="NewlineAtEndOfFile"/> <module name="SuppressionCommentFilter"/> <module name="FileLength"> <property name="max" value="500"/> </module> </module>