Created
September 19, 2015 05:21
-
-
Save voduytuan/8cc4919eea03e3c64bde to your computer and use it in GitHub Desktop.
Config xml for phpmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="Teamcrop" | |
xmlns="http://pmd.sf.net/ruleset/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" | |
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | |
<description>Teamcrop's ruleset</description> | |
<rule ref="rulesets/codesize.xml/CyclomaticComplexity" /> | |
<rule ref="rulesets/codesize.xml/NPathComplexity" /> | |
<rule ref="rulesets/codesize.xml/ExcessiveClassComplexity" /> | |
<rule ref="rulesets/codesize.xml/ExcessiveClassLength" /> | |
<rule ref="rulesets/codesize.xml/ExcessiveMethodLength" /> | |
<rule ref="rulesets/codesize.xml/ExcessiveParameterList" /> | |
<rule ref="rulesets/design.xml/EvalExpression" /> | |
<rule ref="rulesets/design.xml/ExitExpression" /> | |
<rule ref="rulesets/design.xml/GotoStatement" /> | |
<rule ref="rulesets/naming.xml/ConstructorWithNameAsEnclosingClass" /> | |
<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter" /> | |
<rule ref="rulesets/unusedcode.xml/UnusedLocalVariable" /> | |
<rule ref="rulesets/unusedcode.xml/UnusedPrivateField" /> | |
<rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod" /> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment