Skip to content

[doc] Review guides for writing java/xpath rules for correctness with PMD 7 #2511

@adangel

Description

@adangel

Part of #1139

  • current page: https://pmd.github.io/latest/pmd_userdocs_extending_writing_rules_intro.html
    and the others in this section
  • How to report violations
  • variable interpolation in violation messages
    • the placeholder format {0} ...
    • and the PMD specific format ${variableName} - this refers to extra parameters in the rule violation or to rule properties
  • PMD's special XPath functions
    (matches, typeIs, typeIsExactly, getCommentOn, metric (that is actually documented))

Metadata

Metadata

Assignees

Labels

an:enhancementAn improvement on existing features / rulesin:documentationAffects the documentation [doc]

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions