"Fossies" - the Fresh Open Source Software Archive

Member "pmd-src-6.47.0/docs/index.md" (25 Jun 2022, 5285 Bytes) of package /linux/misc/pmd-src-6.47.0.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

{% unless site.output == “pdf” %}

{% include custom/panel_scroll.html %} {% endunless %}

💡 Overview

PMD is a static source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It’s mainly concerned with Java and Apex, but supports six other languages.

PMD features many built-in checks (in PMD lingo, rules), which are documented for each language in our Rule references. We also support an extensive API to write your own rules, which you can do either in Java or as a self-contained XPath query.

PMD is most useful when integrated into your build process. It can then be used as a quality gate, to enforce a coding standard for your codebase. Among other things, PMD can be run: * As a Maven goal * As an Ant task * As a Gradle task * From command-line

CPD, the copy-paste detector, is also distributed with PMD. You can also use it in a variety of ways, which are documented here.

💾 Download

The latest release of PMD can be downloaded from our Github releases page.

📖 Documentation

The rest of this page exposes the contents of the documentation site thematically, which you can further scope down using the blue filter buttons. To navigate the site, you may also use the search bar in the top right, or the sidebar on the left.

✨ Contributors

This project follows the all-contributors specification. Contributions of any kind welcome!

See credits for the complete list.

  <button class="btn btn-primary" data-group="all">All</button>
  <button class="btn btn-primary" data-group="getting_started">Getting Started</button>
  <button class="btn btn-primary" data-group="userdocs">User documentation</button>
  <button class="btn btn-primary" data-group="extending">Extending PMD</button>
  <button class="btn btn-primary" data-group="contributing">Contributing</button>
{% include custom/shuffle_panel.html
   title="Getting started"
   description="These pages summarize the gist of PMD usage to get you started quickly." %}

{% include custom/shuffle_panel.html
   title="Rule references"
   description="Pick your language to find out about the rule it supports."
   titlemaker="page.language_name" %}

{% include custom/shuffle_panel.html
   title="Writing rules"
   datagroups='["userdocs", "extending", "contributing"]'
   description="These pages document the process of writing and testing custom rules and metrics for PMD."

{% include custom/shuffle_panel.html
   title="Usage and configuration"
   description="Learn how to build effective and versatile rulesets."

{% include custom/shuffle_panel.html
   description="If you'd like to help us build PMD, these topics may interest you. See you around!"

{% include custom/shuffle_panel.html
   title="Tools and integrations"
   description="These pages describe solutions that integrate PMD within your build process."

{% include custom/shuffle_panel.html
   title="Major contributions"

{% unless site.output == “pdf” %}

{% include initialize_shuffle.html %}

{% endunless %}

{% include links.html %}