Created
March 8, 2014 09:47
-
-
Save chrisyue/9428026 to your computer and use it in GitHub Desktop.
phpmd ruleset overview
This file contains hidden or 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="xxx" | |
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>xxx</description> | |
<!-- @see http://phpmd.org/rules/codesize.html#cyclomaticcomplexity --> | |
<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#npathcomplexity --> | |
<rule ref="rulesets/codesize.xml/NPathComplexity"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#excessivemethodlength --> | |
<rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#excessiveclasslength --> | |
<rule ref="rulesets/codesize.xml/ExcessiveClassLength"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#excessiveparameterlist --> | |
<rule ref="rulesets/codesize.xml/ExcessiveParameterList"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#excessivepubliccount --> | |
<rule ref="rulesets/codesize.xml/ExcessivePublicCount"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#toomanyfields --> | |
<rule ref="rulesets/codesize.xml/TooManyFields"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#toomanymethods --> | |
<rule ref="rulesets/codesize.xml/TooManyMethods"/> | |
<!-- @see http://phpmd.org/rules/codesize.html#excessiveclasscomplexity --> | |
<rule ref="rulesets/codesize.xml/ExcessiveClassComplexity"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#superglobals --> | |
<rule ref="rulesets/controversial.xml/Superglobals"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcaseclassname --> | |
<rule ref="rulesets/controversial.xml/CamelCaseClassName"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcasepropertyname --> | |
<rule ref="rulesets/controversial.xml/CamelCasePropertyName"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcasemethodname --> | |
<rule ref="rulesets/controversial.xml/CamelCaseMethodName"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcasemethodname --> | |
<rule ref="rulesets/controversial.xml/CamelCaseMethodName"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcaseparametername --> | |
<rule ref="rulesets/controversial.xml/CamelCaseParameterName"/> | |
<!-- @see http://phpmd.org/rules/controversial.html#camelcasevariablename --> | |
<rule ref="rulesets/controversial.xml/CamelCaseVariableName"/> | |
<!-- @see http://phpmd.org/rules/design.html#exitexpression --> | |
<rule ref="rulesets/design.xml/ExitExpression"/> | |
<!-- @see http://phpmd.org/rules/design.html#evalexpression --> | |
<rule ref="rulesets/design.xml/EvalExpression"/> | |
<!-- @see http://phpmd.org/rules/design.html#gotostatement --> | |
<rule ref="rulesets/design.xml/GotoStatement"/> | |
<!-- @see http://phpmd.org/rules/design.html#numberofchildren --> | |
<rule ref="rulesets/design.xml/NumberOfChildren"/> | |
<!-- @see http://phpmd.org/rules/design.html#depthofinheritance --> | |
<rule ref="rulesets/design.xml/DepthOfInheritance"/> | |
<!-- @see http://phpmd.org/rules/design.html#couplingbetweenobjects --> | |
<rule ref="rulesets/design.xml/CouplingBetweenObjects"/> | |
<!-- @see http://phpmd.org/rules/naming.html#shortvariable --> | |
<rule ref="rulesets/naming.xml/ShortVariable"/> | |
<!-- @see http://phpmd.org/rules/naming.html#longvariable --> | |
<rule ref="rulesets/naming.xml/LongVariable"/> | |
<!-- @see http://phpmd.org/rules/naming.html#shortmethodname --> | |
<rule ref="rulesets/naming.xml/ShortMethodName"/> | |
<!-- @see http://phpmd.org/rules/naming.html#constructorwithnameasenclosingclass --> | |
<rule ref="rulesets/naming.xml/ConstructorWithNameAsEnclosingClass"/> | |
<!-- @see http://phpmd.org/rules/naming.html#constantnamingconventions --> | |
<rule ref="rulesets/naming.xml/ConstantNamingConventions"/> | |
<!-- @see http://phpmd.org/rules/naming.html#booleangetmethodname --> | |
<rule ref="rulesets/naming.xml/BooleanGetMethodName"/> | |
<!-- @see http://phpmd.org/rules/unusedcode.html#unusedprivatefield --> | |
<rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/> | |
<!-- @see http://phpmd.org/rules/unusedcode.html#unusedlocalvariable --> | |
<rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/> | |
<!-- @see http://phpmd.org/rules/unusedcode.html#unusedprivatemethod --> | |
<rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/> | |
<!-- @see http://phpmd.org/rules/unusedcode.html#unusedformalparameter --> | |
<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment