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

rulesets.design.xml Maven / Gradle / Ivy

There is a newer version: 3.5.0-groovy-4.0
Show newest version
<ruleset xmlns="http://codenarc.org/ruleset/1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd"
        xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd">

    <description>
        Design rule set.
        These rules implement standards and best practices related to design issues.
    </description>

    <rule class='org.codenarc.rule.design.AbstractClassWithoutAbstractMethodRule'/>
    <rule class='org.codenarc.rule.design.AbstractClassWithPublicConstructorRule'/>
    <rule class='org.codenarc.rule.design.AssignmentToStaticFieldFromInstanceMethodRule'/>
    <rule class='org.codenarc.rule.design.BooleanMethodReturnsNullRule'/>
    <rule class='org.codenarc.rule.design.BuilderMethodWithSideEffectsRule'/>
    <rule class='org.codenarc.rule.design.CloneableWithoutCloneRule'/>
    <rule class='org.codenarc.rule.design.CloseWithoutCloseableRule'/>
    <rule class='org.codenarc.rule.design.CompareToWithoutComparableRule'/>
    <rule class='org.codenarc.rule.design.ConstantsOnlyInterfaceRule'/>
    <rule class='org.codenarc.rule.design.EmptyMethodInAbstractClassRule'/>
    <rule class='org.codenarc.rule.design.FinalClassWithProtectedMemberRule'/>
    <rule class='org.codenarc.rule.design.ImplementationAsTypeRule'/>
    <rule class='org.codenarc.rule.design.InstanceofRule'/>
    <rule class='org.codenarc.rule.design.LocaleSetDefaultRule'/>
    <rule class='org.codenarc.rule.design.NestedForLoopRule'/>
    <rule class='org.codenarc.rule.design.OptionalCollectionReturnTypeRule'/>
    <rule class='org.codenarc.rule.design.OptionalFieldRule'/>
    <rule class='org.codenarc.rule.design.OptionalMethodParameterRule'/>
    <rule class='org.codenarc.rule.design.PublicInstanceFieldRule'/>
    <rule class='org.codenarc.rule.design.PrivateFieldCouldBeFinalRule'/>
    <rule class='org.codenarc.rule.design.ReturnsNullInsteadOfEmptyArrayRule'/>
    <rule class='org.codenarc.rule.design.ReturnsNullInsteadOfEmptyCollectionRule'/>
    <rule class='org.codenarc.rule.design.SimpleDateFormatMissingLocaleRule'/>
    <rule class='org.codenarc.rule.design.StatelessSingletonRule'/>
    <rule class='org.codenarc.rule.design.ToStringReturnsNullRule'/>
</ruleset>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy