
trio.core.0.4.source-code.pmd-ruleset.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0"?> <!-- This file is part of TRIO. TRIO is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. TRIO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with TRIO. If not, see <http://www.gnu.org/licenses/>. --> <ruleset name="Custom ruleset" 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 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> <description> This ruleset checks the code for bad stuff </description> <rule ref="rulesets/java/basic.xml"/> <rule ref="rulesets/java/braces.xml"/> <rule ref="rulesets/java/strings.xml"/> <rule ref="rulesets/java/finalizers.xml"/> <rule ref="rulesets/java/unusedcode.xml"> <exclude name="UnusedPrivateMethod"/> </rule> <rule ref="rulesets/java/unnecessary.xml"/> <rule ref="rulesets/java/imports.xml"/> <rule ref="rulesets/java/empty.xml"/> <rule ref="rulesets/java/clone.xml"/> <!-- The rules below are disabled because they didn't bring out interesting issues <rule ref="rulesets/java/optimizations.xml"/> <rule ref="rulesets/java/coupling.xml"/> <rule ref="rulesets/java/codesize.xml"/> <rule ref="rulesets/java/strictexception.xml"/> <rule ref="rulesets/java/typeresolution.xml"/> <rule ref="rulesets/java/design.xml"/> --> </ruleset>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy