All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.plugins.checkstyle.profile-sonar-way.xml Maven / Gradle / Ivy

Go to download

Checkstyle is a code analyser to help programmers write Java code that adheres to a coding standard.

The newest version!
<profile>
  <name>Sonar way</name>
  <language>java</language>
  <rules>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck</key>
      <parameters>
        <parameter>
          <key>tokens</key>
          <value>VARIABLE_DEF</value>
        </parameter>
        <parameter>
          <key>ignoreConstructorParameter</key>
          <value>true</value>
        </parameter>
        <parameter>
          <key>ignoreSetter</key>
          <value>true</value>
        </parameter>
        <parameter>
          <key>ignoreAbstractMethods</key>
          <value>true</value>
        </parameter>
      </parameters>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck</key>
      <parameters>
        <parameter>
          <key>max</key>
          <value>10</value>
        </parameter>
      </parameters>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck</key>
    </rule>
    <rule>
      <repositoryKey>checkstyle</repositoryKey>
      <key>com.puppycrawl.tools.checkstyle.checks.TrailingCommentCheck</key>
    </rule>
  </rules>
</profile>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy