rulesets.java.unusedcode.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <ruleset name="Unused Code" 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> The Unused Code ruleset contains rules that find unused or ineffective code. </description> <!-- Rules, that have been moved into a category --> <rule ref="category/java/bestpractices.xml/UnusedFormalParameter" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UnusedLocalVariable" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UnusedPrivateField" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UnusedPrivateMethod" deprecated="true" /> </ruleset>