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 — Documentation | PMD Source Code Analyzer
Release date: 28-November-2025
DocumentationRules that are related to code documentation.
Table of ContentsCommentContentSince: PMD 5.0 Priority: Medium (3) A rule for the politically correct… we don’t want to offend anyone. This rule is defined by the following Java class: net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule Example(s): This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: CommentRequiredSince: PMD 5.1 Priority: Medium (3) Denotes whether javadoc (formal) comments are required (or unwanted) for specific language elements. This rule is defined by the following Java class: net.sourceforge.pmd.lang.java.rule.documentation.CommentRequiredRule Example(s): This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: CommentSizeSince: PMD 5.0 Priority: Medium (3) Determines whether the dimensions of non-header comments found are within the specified limits. This rule is defined by the following Java class: net.sourceforge.pmd.lang.java.rule.documentation.CommentSizeRule Example(s): This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: DanglingJavadocSince: PMD 7.17.0 Priority: Medium (3) Javadoc comments that do not belong to a class, method or field are ignored by the JavaDoc tool and don’t end up in the generated API documentation. Such comments are either misplaced (e.g. between annotations and method declaration) or should be block comments. In order to fix this violation, the comment should be moved to the correct place, converted into a block comment or removed completely. This rule is defined by the following Java class: net.sourceforge.pmd.lang.java.rule.documentation.DanglingJavadocRule Example(s): Use this rule by referencing it: UncommentedEmptyConstructorSince: PMD 3.4 Priority: Medium (3) Uncommented Empty Constructor finds instances where a constructor does not contain statements, but there is no comment. By explicitly commenting empty constructors it is easier to distinguish between intentional (commented) and unintentional empty constructors. This rule is defined by the following XPath expression: Example(s): This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: UncommentedEmptyMethodBodySince: PMD 3.4 Priority: Medium (3) Uncommented Empty Method Body finds instances where a method body does not contain statements, but there is no comment. By explicitly commenting empty method bodies it is easier to distinguish between intentional (commented) and unintentional empty methods. This rule is defined by the following XPath expression: Example(s): 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. |