GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — EngineScript/phpmd.xml at master · EngineScript/EngineScript Expand file tree/ Copy pathphpmd.xmlMore file actions 61 lines (50 loc) · 2.4 KB / Copy pathphpmd.xmlFile metadata and controls61 lines (50 loc) · 2.4 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 <?xml version="1.0" encoding="UTF-8"?> <ruleset name="EngineScript Admin Control Panel PHPMD Ruleset" 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>Code quality and naming checks for the admin control panel; PHPCS and PHP-CS-Fixer handle formatting.</description> <exclude-pattern>*/vendor/*</exclude-pattern> <exclude-pattern>*/.private/*</exclude-pattern> <exclude-pattern>*/node_modules/*</exclude-pattern> <exclude-pattern>*/tests/*</exclude-pattern> <!-- Clean Code Rules --> <rule ref="rulesets/cleancode.xml"> <!-- Allow explicit else branches; review branch behavior independently. --> <exclude name="ElseExpression"/> <!-- The panel declares no namespaces (observation O-029), so its classes and PHP's are global and need no imports. --> <exclude name="MissingImport"/> </rule> <!-- Code Size Rules --> <rule ref="rulesets/codesize.xml"> <!-- Added again below with limits measured on this code --> <exclude name="CyclomaticComplexity"/> <exclude name="ExcessiveClassComplexity"/> </rule> <!-- Each limit below is the highest value the panel measures, the strictest setting that passes (PHPMD reports values above the limit). Lower them as the code is simplified; never raise them to admit new code. --> <rule ref="rulesets/codesize.xml/CyclomaticComplexity"> <properties> <!-- UptimeController::calculateOverallStatus() measures 11. --> <property name="reportLevel" value="11"/> </properties> </rule> <rule ref="rulesets/codesize.xml/ExcessiveClassComplexity"> <properties> <!-- UptimeRobotAPI measures 48. --> <property name="maximum" value="48"/> </properties> </rule> <!-- Controversial Rules. The panel uses camelCase, so the camelCase naming rules stay on. --> <rule ref="rulesets/controversial.xml"/> <!-- Design Rules --> <rule ref="rulesets/design.xml"/> <!-- Naming Rules --> <rule ref="rulesets/naming.xml"/> <!-- Unused Code Rules (always enforce) --> <rule ref="rulesets/unusedcode.xml"/> </ruleset> |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |