rulesets.internal.all-java.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <ruleset name="All Java Rules" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> <description>Every Java Rule in PMD</description> <!-- Lexer test cases - wrong encoding, illegal characters, ... --> <exclude-pattern>.*/ant/java/EncodingTestClass.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/cpd/badandgood/BadFile.java</exclude-pattern> <!-- the following files produce parsing errors with java 9, as they use identifiers, that are now reserved keywords and are forbidden to be used as identifiers. --> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5_a.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test7.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk14_enum.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk9_invalid_identifier.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsAnnotationName.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsEnumName.java</exclude-pattern> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsTypeIdentifier.java</exclude-pattern> <!-- this file contains are parse error explicitly --> <exclude-pattern>.*/net/sourceforge/pmd/lang/java/ast/InfiniteLoopInLookahead.java</exclude-pattern> <rule ref="category/java/bestpractices.xml" /> <rule ref="category/java/codestyle.xml" /> <rule ref="category/java/design.xml" /> <rule ref="category/java/documentation.xml" /> <rule ref="category/java/errorprone.xml" /> <rule ref="category/java/multithreading.xml" /> <rule ref="category/java/performance.xml" /> <rule ref="category/java/security.xml" /> </ruleset>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy