org.sonar.plugins.pmd.profile-sonar-way.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-pmd-plugin Show documentation
Show all versions of sonar-pmd-plugin Show documentation
PMD is a tool that looks for potential problems like possible bugs, dead code, suboptimal code, overcomplicated expressions or duplicate code.
<?xml version="1.0" encoding="UTF-8"?> <ruleset xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" name="Sonar rules set" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <description>Sonar PMD rules generated configuration</description> <rule ref="rulesets/basic.xml/UnusedNullCheckInEquals" /> <rule ref="rulesets/strings.xml/StringInstantiation" /> <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod" /> <rule ref="rulesets/strictexception.xml/AvoidCatchingNPE" /> <rule ref="rulesets/optimizations.xml/AvoidArrayLoops" /> <rule ref="rulesets/unusedcode.xml/UnusedFormalParameter" /> <rule ref="rulesets/basic.xml/ClassCastExceptionWithToArray" /> <rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException" /> <rule ref="rulesets/design.xml/CompareObjectsWithEquals" /> <rule ref="rulesets/strings.xml/UseIndexOfChar" /> <rule ref="rulesets/basic.xml/BigIntegerInstantiation" /> <rule ref="rulesets/design.xml/InstantiationToGetClass" /> <rule ref="rulesets/design.xml/SingularField" /> <rule ref="rulesets/design.xml/CloseResource" /> <rule ref="rulesets/basic.xml/UselessOperationOnImmutable" /> <rule ref="rulesets/controversial.xml/UnusedModifier" /> <rule ref="rulesets/optimizations.xml/UseArraysAsList" /> <rule ref="rulesets/basic.xml/BrokenNullCheck" /> <rule ref="rulesets/strings.xml/InefficientStringBuffering" /> <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly" /> <rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass" /> <rule ref="rulesets/strings.xml/StringToString" /> <rule ref="rulesets/design.xml/SimplifyConditional" /> <rule ref="rulesets/codesize.xml/NcssTypeCount"> <properties> <property value="800" name="minimum"/> </properties> </rule> <rule ref="rulesets/migrating.xml/IntegerInstantiation" /> <rule ref="rulesets/migrating.xml/AvoidAssertAsIdentifier" /> <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn" /> <rule ref="rulesets/basic.xml/BooleanInstantiation" /> <rule ref="rulesets/basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor" /> <rule ref="rulesets/finalizers.xml/EmptyFinalizer" /> <rule ref="rulesets/design.xml/IdempotentOperations" /> <rule ref="rulesets/strings.xml/UseStringBufferLength" /> </ruleset>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy