GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing docs.pmd-code.org — Design | PMD Source Code Analyzer
Release date: 28-December-2026
DesignRules that help you discover design issues.
Table of ContentsAvoidDeeplyNestedIfStmtsSince: PMD 5.1 Priority: Medium (3) Avoid creating deeply nested if-then statements since they are harder to read and error-prone to maintain. This rule is defined by the following Java class: net.sourceforge.pmd.lang.velocity.rule.design.AvoidDeeplyNestedIfStmtsRule This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: CollapsibleIfStatementsSince: PMD 5.1 Priority: Medium (3) Sometimes two consecutive ‘if’ statements can be consolidated by separating their conditions with a boolean short-circuit operator. This rule is defined by the following Java class: net.sourceforge.pmd.lang.velocity.rule.design.CollapsibleIfStatementsRule Use this rule by referencing it: ExcessiveTemplateLengthSince: PMD 5.1 Priority: Medium (3) The template is too long. It should be broken up into smaller pieces. This rule is defined by the following Java class: net.sourceforge.pmd.lang.velocity.rule.design.ExcessiveTemplateLengthRule This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: NoInlineJavaScriptSince: PMD 5.1 Priority: Medium High (2) Avoid inline JavaScript. Import .js files instead. This rule is defined by the following Java class: net.sourceforge.pmd.lang.velocity.rule.design.NoInlineJavaScriptRule Use this rule by referencing it: NoInlineStylesSince: PMD 5.1 Priority: Medium High (2) Avoid inline styles. Use css classes instead. This rule is defined by the following XPath expression: Use this rule by referencing it: | ||||||||||||
| You are visitor 01402775 — 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. |