Skip to main content
summaryrefslogblamecommitdiffstats
blob: 4a78ff5c2633f0717799fbf897af37c4f4ae2086 (plain) (tree)
1
2
3
4
5
6
7
8
                                      





                                                                                                                                 
                                    

































































































                                                                                                                                      










                                                                                               
                                                
                                                           
                                                                                
















































































                                                                                                                                                                           
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!--
    This configuration file was written by the eclipse-cs plugin configuration editor
-->
<!--
    Checkstyle-Configuration: Jubula
    Description: none
-->
<module name="Checker">
  <property name="severity" value="warning"/>
  <module name="TreeWalker">
    <module name="FileContentsHolder"/>
    <module name="Regexp">
      <property name="severity" value="error"/>
      <property name="format" value="(?i)to *do"/>
      <property name="message" value="Keine Todo's im Code!"/>
      <property name="illegalPattern" value="true"/>
    </module>
    <module name="Regexp">
      <property name="severity" value="error"/>
      <property name="format" value="\t"/>
      <property name="message" value="Keine Tab's im Code!"/>
      <property name="illegalPattern" value="true"/>
    </module>
    <module name="ModifierOrder">
      <property name="severity" value="error"/>
    </module>
    <module name="EmptyBlock">
      <property name="severity" value="error"/>
      <property name="tokens" value="LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF, LITERAL_TRY, LITERAL_WHILE, STATIC_INIT"/>
    </module>
    <module name="EmptyBlock">
      <property name="severity" value="error"/>
      <property name="option" value="text"/>
      <property name="tokens" value="LITERAL_CATCH"/>
    </module>
    <module name="LeftCurly">
      <property name="severity" value="error"/>
    </module>
    <module name="NeedBraces">
      <property name="severity" value="error"/>
    </module>
    <module name="RightCurly">
      <property name="severity" value="error"/>
    </module>
    <module name="DeclarationOrder">
      <property name="severity" value="error"/>
    </module>
    <module name="EmptyStatement">
      <property name="severity" value="error"/>
    </module>
    <module name="HiddenField">
      <property name="severity" value="error"/>
    </module>
    <module name="IllegalCatch">
      <property name="severity" value="ignore"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="IllegalType">
      <property name="tokens" value="METHOD_DEF,PARAMETER_DEF"/>
      <property name="format" value="^$"/>
    </module>
    <module name="InnerAssignment">
      <property name="severity" value="warning"/>
    </module>
    <module name="MissingSwitchDefault">
      <property name="severity" value="error"/>
    </module>
    <module name="ParameterAssignment">
      <property name="severity" value="error"/>
    </module>
    <module name="SimplifyBooleanExpression">
      <property name="severity" value="error"/>
    </module>
    <module name="SimplifyBooleanReturn">
      <property name="severity" value="error"/>
    </module>
    <module name="StringLiteralEquality">
      <property name="severity" value="error"/>
    </module>
    <module name="SuperClone">
      <property name="severity" value="error"/>
    </module>
    <module name="HideUtilityClassConstructor">
      <property name="severity" value="error"/>
    </module>
    <module name="VisibilityModifier">
      <property name="severity" value="error"/>
    </module>
    <module name="AvoidStarImport">
      <property name="severity" value="error"/>
    </module>
    <module name="RedundantImport">
      <property name="severity" value="error"/>
    </module>
    <module name="UnusedImports">
      <property name="severity" value="error"/>
    </module>
    <module name="Indentation">
      <property name="severity" value="error"/>
    </module>
    <module name="JavadocMethod">
      <property name="severity" value="error"/>
      <property name="allowMissingThrowsTags" value="true"/>
      <property name="suppressLoadErrors" value="true"/>
      <metadata name="com.atlassw.tools.eclipse.checkstyle.lastEnabledSeverity" value="error"/>
    </module>
    <module name="JavadocType">
      <property name="severity" value="error"/>
      <property name="allowUnknownTags" value="true"/>
    </module>
    <module name="JavadocVariable">
      <property name="severity" value="error"/>
    </module>
    <module name="AbstractClassName">
      <property name="severity" value="ignore"/>
      <property name="format" value="^[A-Z][a-zA-Z0-9]+$"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="error"/>
    </module>
    <module name="ConstantName">
      <property name="severity" value="error"/>
      <property name="format" value="^[A-Z][A-Z_0-9]*$"/>
    </module>
    <module name="LocalFinalVariableName">
      <property name="severity" value="error"/>
    </module>
    <module name="LocalVariableName">
      <property name="severity" value="error"/>
    </module>
    <module name="MemberName">
      <property name="severity" value="error"/>
      <property name="format" value="^m_[a-z][a-zA-Z0-9]*$"/>
    </module>
    <module name="MethodName">
      <property name="severity" value="error"/>
      <property name="format" value="^[a-z][a-z0-9A-Z]*$"/>
    </module>
    <module name="PackageName">
      <property name="severity" value="error"/>
      <property name="format" value="^[a-z0-9\.]*$"/>
    </module>
    <module name="ParameterName">
      <property name="severity" value="error"/>
      <property name="format" value="^[a-z][a-z0-9A-Z]*$"/>
    </module>
    <module name="StaticVariableName">
      <property name="severity" value="error"/>
    </module>
    <module name="TypeName">
      <property name="severity" value="error"/>
      <property name="format" value="^[A-Z][a-zA-Z0-9]+$"/>
    </module>
    <module name="LineLength">
      <property name="severity" value="error"/>
      <property name="ignorePattern" value="^(import|package| *(\*|/[/*])).*$|//\$NON-NLS-[0-9]+\$|//\s*NOPMD"/>
    </module>
    <module name="MethodLength">
      <property name="severity" value="error"/>
      <property name="max" value="75"/>
      <property name="tokens" value="METHOD_DEF, CTOR_DEF"/>
    </module>
    <module name="NoWhitespaceAfter">
      <property name="severity" value="error"/>
      <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
    </module>
    <module name="NoWhitespaceBefore">
      <property name="severity" value="error"/>
    </module>
    <module name="OperatorWrap">
      <property name="severity" value="error"/>
      <property name="option" value="eol"/>
      <property name="tokens" value="ASSIGN,BAND_ASSIGN,BOR_ASSIGN,BSR_ASSIGN,BXOR_ASSIGN,DIV_ASSIGN,MINUS_ASSIGN,MOD_ASSIGN,PLUS_ASSIGN,SL_ASSIGN,SR_ASSIGN,STAR_ASSIGN"/>
    </module>
    <module name="OperatorWrap">
      <property name="severity" value="error"/>
    </module>
    <module name="ParenPad">
      <property name="severity" value="error"/>
    </module>
    <module name="TypecastParenPad">
      <property name="severity" value="error"/>
    </module>
    <module name="WhitespaceAfter">
      <property name="severity" value="error"/>
      <property name="tokens" value="COMMA,SEMI"/>
    </module>
    <module name="WhitespaceAround">
      <property name="severity" value="error"/>
    </module>
  </module>
  <module name="SuppressionCommentFilter">
    <property name="offCommentFormat" value="DOTNETDECLARE\:BEGIN"/>
    <property name="onCommentFormat" value="DOTNETDECLARE\:END"/>
    <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow public property variables in Message classes"/>
  </module>
  <module name="SuppressionCommentFilter">
    <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Sometimes API names force a line length violation"/>
  </module>
</module>

Back to the top