PMD Source Code Analyzer Project
    • Nav
    • Download
    • GitHub
    • 7.25.0-SNAPSHOT
       
      • PMD 7.25.0-SNAPSHOT
      • Release date: 29-May-2026
      • About
        • Home
        • Release notes
        • Release notes (PMD 7)
        • Getting help
        • Release policies
        • Support lifecycle
        • Security
      • User Documentation
        • Migration Guide for PMD 7
        • Installation and basic CLI usage
        • Making rulesets
        • Configuring rules
        • Best practices
        • Suppressing warnings
        • Incremental analysis
        • PMD CLI reference
        • PMD Report formats
        • 3rd party rulesets
        • Signed Releases
        • CPD reference
          • Copy-paste detection
          • CPD Report formats
        • Extending PMD
          • Introduction to writing rules
          • Your first rule
          • XPath rules
          • Java rules
          • Rule designer reference
          • Defining rule properties
          • Rule guidelines
          • Testing your rules
          • Creating (XML) dump of the AST
        • Tools / Integrations
          • Maven PMD Plugin
          • Gradle
          • Ant
          • PMD Java API
          • bld PMD Extension
          • CI integrations
          • IDE Plugins
          • Other Tools / Integrations
      • Rule Reference
        • Apex Rules
          • Index
          • Best Practices
          • Code Style
          • Design
          • Documentation
          • Error Prone
          • Performance
          • Security
        • HTML Rules
          • Index
          • Best Practices
        • Java Rules
          • Index
          • Best Practices
          • Code Style
          • Design
          • Documentation
          • Error Prone
          • Multithreading
          • Performance
          • Security
        • Java Server Pages Rules
          • Index
          • Best Practices
          • Code Style
          • Design
          • Error Prone
          • Security
        • JavaScript Rules
          • Index
          • Best Practices
          • Code Style
          • Error Prone
          • Performance
        • Kotlin Rules
          • Index
          • Best Practices
          • Error Prone
        • Maven POM Rules
          • Index
          • Error Prone
        • Modelica Rules
          • Index
          • Best Practices
        • PLSQL Rules
          • Index
          • Best Practices
          • Code Style
          • Design
          • Error Prone
        • Salesforce Visualforce Rules
          • Index
          • Security
        • Scala Rules
          • Index
        • Swift Rules
          • Index
          • Best Practices
          • Error Prone
        • Velocity Template Language (VTL) Rules
          • Index
          • Best Practices
          • Design
          • Error Prone
        • WSDL Rules
          • Index
        • XML Rules
          • Index
          • Best Practices
          • Error Prone
        • XSL Rules
          • Index
          • Code Style
          • Performance
      • Language-Specific Documentation
        • Overview
        • Language configuration
        • Apex
        • C/C++
        • C#
        • CSS
        • Coco
        • Dart
        • Fortran
        • Gherkin
        • Go
        • HTML
        • Java
        • JavaScript / TypeScript
        • JSP
        • Julia