The following pages and posts are tagged with
Title | Type | Excerpt |
---|---|---|
Ant Task Usage | Page | PMD Description Runs a set of static code analysis rules on some source code files and generates a list of problems found. Parameters Attribute Description Required rulesetfiles A comma delimited list of ruleset files ('rulesets/java/basic.xml,rulesets/java/design.xml'). If you write your own ruleset files,... |
Best Practices | Page | Choose the rules that are right for you Running every existing rule will result in a huge number of rule violations, most of which will be unimportant. Having to sort through a thousand line report to find the few you’re really interested in takes all the fun out of... |
Continuous Integrations plugins | Page | Introduction PMD can be integrate through some of the Continuous Integration tools that exist now. Here is a list of known (to us) plugin to do so. Hudson Plugin Hafner Ullrich has developed a PMD plugin for Hudson. Please check the plugin homepage for more info. <h2... |
PMD CLI reference | Page | Full reference for PMD's command-line interface, including options, output formats and supported languages |
Configuring rules | Page | Learn how to configure your rules directly from the ruleset XML. |
Finding duplicated code with CPD | Page | Learn how to use CPD, the copy-paste detector shipped with PMD. |
Defining rule properties | Page | Learn how to define your own properties both for Java and XPath rules. |
Installation and basic CLI usage | Page | Sums up the first steps to set up a CLI installation and get started using PMD |
Making rulesets | Page | A ruleset is an XML configuration file, which describes a collection of rules to be executed in a PMD run. PMD includes built-in rulesets to run quick analys... |
Maven PMD Plugin | Page | Maven 2 and 3 Running the pmd plugin Generating a project report To include the PMD report in the project reports section add the following lines under the reports element in your pom.xml: <project> ... <reporting> <plugins> <plugin> <span... |
Using and defining code metrics for custom rules | Page | Since version 6.0.0, PMD is enhanced with the ability to compute code metrics on Java and Apex source (the so-called Metrics Framework). This framework provi... |
Rule guidelines | Page | Rule Guidelines |
Suppressing warnings | Page | Learn how to suppress some rule violations, from the source code using annotations or comments, or globally from the ruleset |
Testing your rules | Page | Learn how to use PMD's simple test framework for unit testing rules. |
Tools / Integrations | Page | * IDE plugins * [Continuous Integrations plugins](/pmd_userdocs_ci.html) * GUIs ## IDE Integrations ### Summary IDE Homepage Source Code Maintainers BlueJ pmd-bluej Tom Copeland Codacy github: codacy/codacy-pmdjava Codacy CodeGuide N/A Austin Moore ... |
Writing a custom rule | Page | Learn how to write a custom rule for PMD |
Writing XPath rules | Page | Writing XPath rules for PMD |