"Fossies" - the Fresh Open Source Software Archive

Member "pmd-src-6.47.0/pmd-core/src/main/resources/rulesets/releases/41.xml" (25 Jun 2022, 1495 Bytes) of package /linux/misc/pmd-src-6.47.0.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 
    3 <ruleset name="41"
    4     xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
    5     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    6     xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
    7   <description>
    8 This ruleset contains links to rules that are new in PMD v4.1
    9   </description>
   10 
   11   <rule ref="rulesets/java/basic.xml/AvoidUsingHardCodedIP"/>
   12   <rule ref="rulesets/java/basic.xml/CheckResultSet"/>
   13   <rule ref="rulesets/java/controversial.xml/AvoidAccessibilityAlteration"/>
   14   <rule ref="rulesets/java/controversial.xml/AvoidFinalLocalVariable"/>
   15   <rule ref="rulesets/java/controversial.xml/AvoidUsingNativeCode"/>
   16   <rule ref="rulesets/java/controversial.xml/AvoidUsingShortType"/>
   17   <rule ref="rulesets/java/controversial.xml/AvoidUsingVolatile"/>
   18   <rule ref="rulesets/java/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
   19   <rule ref="rulesets/java/design.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
   20   <!-- Although the rule below is not new, it works quite differently now and merits (re-)consideration -->
   21   <rule ref="rulesets/java/design.xml/SingularField"/>
   22   
   23   <rule ref="rulesets/java/imports.xml/TooManyStaticImports"/>
   24   <rule ref="rulesets/java/j2ee.xml/DoNotCallSystemExit"/>
   25   <rule ref="rulesets/java/j2ee.xml/DoNotUseThreads"/>
   26   <rule ref="rulesets/java/j2ee.xml/StaticEJBFieldShouldBeFinal"/>
   27   <rule ref="rulesets/java/strings.xml/UseEqualsToCompareStrings"/>
   28 
   29 </ruleset>
   30