"Fossies" - the Fresh Open Source Software Archive

Member "pmd-src-6.47.0/pmd-core/src/main/resources/rulesets/releases/50.xml" (25 Jun 2022, 2873 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="50"
    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 v5.0
    9   </description>
   10 
   11     <rule ref="rulesets/ecmascript/basic.xml/AssignmentInOperand"/>
   12     <rule ref="rulesets/ecmascript/basic.xml/ConsistentReturn"/>
   13     <rule ref="rulesets/ecmascript/basic.xml/InnaccurateNumericLiteral"/>
   14     <rule ref="rulesets/ecmascript/basic.xml/UnreachableCode"/>
   15     <rule ref="rulesets/ecmascript/basic.xml/EqualComparison"/>
   16     <rule ref="rulesets/ecmascript/basic.xml/GlobalVariable"/>
   17     <rule ref="rulesets/ecmascript/braces.xml/ForLoopsMustUseBraces"/>
   18     <rule ref="rulesets/ecmascript/braces.xml/IfStmtsMustUseBraces"/>
   19     <rule ref="rulesets/ecmascript/braces.xml/IfElseStmtsMustUseBraces"/>
   20     <rule ref="rulesets/ecmascript/braces.xml/WhileLoopsMustUseBraces"/>
   21     <rule ref="rulesets/ecmascript/unnecessary.xml/UnnecessaryParentheses"/>
   22     <rule ref="rulesets/ecmascript/unnecessary.xml/UnnecessaryBlock"/>
   23 
   24     <rule ref="rulesets/java/android.xml/CallSuperFirst"/>
   25     <rule ref="rulesets/java/android.xml/CallSuperLast"/>
   26     <rule ref="rulesets/java/basic.xml/CheckSkipResult"/>
   27     <rule ref="rulesets/java/basic.xml/ExtendsObject"/>
   28     <rule ref="rulesets/java/controversial.xml/AvoidPrefixingMethodParameters"/>
   29     <rule ref="rulesets/java/controversial.xml/AvoidLiteralsInIfCondition"/>
   30     <rule ref="rulesets/java/controversial.xml/OneDeclarationPerLine"/>
   31     <rule ref="rulesets/java/coupling.xml/LoosePackageCoupling"/>
   32     <rule ref="rulesets/java/coupling.xml/LawOfDemeter"/>
   33     <rule ref="rulesets/java/design.xml/FieldDeclarationsShouldBeAtStartOfClass"/>
   34     <rule ref="rulesets/java/design.xml/LogicInversion"/>
   35     <rule ref="rulesets/java/design.xml/UseVarargs"/>
   36     <rule ref="rulesets/java/design.xml/GodClass"/>
   37     <rule ref="rulesets/java/empty.xml/EmptyInitializer"/>
   38     <rule ref="rulesets/java/empty.xml/EmptyStatementBlock"/>
   39     <rule ref="rulesets/java/imports.xml/UnnecessaryFullyQualifiedName"/>
   40     <rule ref="rulesets/java/junit.xml/JUnitTestContainsTooManyAsserts"/>
   41     <rule ref="rulesets/java/junit.xml/UseAssertTrueInsteadOfAssertEquals"/>
   42     <rule ref="rulesets/java/logging-jakarta-commons.xml/GuardDebugLogging"/>
   43     <rule ref="rulesets/java/naming.xml/ShortClassName"/>
   44     <rule ref="rulesets/java/optimizations.xml/RedundantFieldInitializer"/>
   45     <rule ref="rulesets/java/optimizations.xml/PrematureDeclaration"/>
   46     <rule ref="rulesets/java/strictexception.xml/AvoidCatchingGenericException"/>
   47     <rule ref="rulesets/java/strictexception.xml/AvoidThrowingNewInstanceOfSameException"/>
   48     <rule ref="rulesets/java/unnecessary.xml/UselessParentheses"/>
   49 
   50     <rule ref="rulesets/xml/basic.xml/MistypedCDATASection"/>
   51 
   52 </ruleset>
   53