PMD Plugin

Plugin Information

Plugin ID pmd
Latest Release 2.13
Latest Release Date Sep 24, 2009
Changes in Latest Release via Fisheye
Maintainer(s) n/a (java.net id: hafner)
Issue Tracking Open Issues

This plugin generates the trend report for PMD, an open source static code analysis program. 

Description


 
The PMD plug-in scans for pmd.xml files in the build workspace and reports the number of warnings found. This plug-in is part of the suite of static code analysis plug-ins that are documented on a separate WIKI page.

The following features are provided by this plug-in:

  • Configuration of the files to scan after a build.
  • Build summary showing the new and fixed warnings of a build
  • Several trend reports showing the number of warnings per build
  • Overview of the found warnings per module, package, category, or type
    • Parsing of Maven pom.xml or Ant build.xml configuration files to obtain the module or project name
    • Parsing of Java files to obtain the package or name space name
  • Detail reports of the found warnings optionally filtered by severity (or new and fixed)
    • Short messages is read from the report file
    • Detailed description is read from the PMD library
  • Colored HTML display of the corresponding source file and warning lines:
    • Direct link to the warning line
    • Highlighting of single lines as well as line ranges
    • Highlighting of multiple line ranges per warning (different color for primary range)
    • Tool tip describing the warning message
  • Failure threshold to mark a build as unstable
  • Configurable project health support
  • Works with the freestyle and native m2 build option of Hudson (activated on goal pmd:pmd or site)
  • Localization available for: DE (Please help to localize PMD for your locale!)

The current release is available in the download section. This plug-in is developed and maintained by Ullrich Hafner. Please use the Hudson mailing lists or issue tracker to ask questions, create feature request or bug reports, since I don't read the comment section on this page regularly.

ChangeLog

Release 2.13

  • Fixed display of source code browsing of old builds

Release 2.11

  • Copy affected files to build folder to provide source code browsing of old builds

Release 2.10

  • Source code display is limited to authenticated users (issue #2773)

Release 2.9

  • Added remote API for the plug-in results (report: thanks to Rob Oxspring for the patch)

Release 2.8

Release 2.7

  • Consider build thresholds only for the parent module in m2 multi-module jobs (issue #3310)
  • Fixed NPE in m2 builds (issue #3400, issue #3399)
  • Improved computation of new warnings detection (report)

Release 2.5

  • Fixed build health reporting and failure thresholds for native m2 builds (issue #3310).

Release 2.4

  • Additional build status thresholds: now you can set the build status to unstable or failure if the total number of the number of new warnings exceeds the defined thresholds (issue #2537, issue #3024).
  • Improved new warning detection: now warnings are only considered as new if the associated source code context (3 lines of code) differs.

Release 2.3

  • Added validation of file pattern in configuration screen
  • Upgrade to PMD 4.2.4

Release 2.2

  • Fixed priority evaluation radio buttons in configuration screen (issue #2805)

Release 2.0

  • Added new configuration entry "default encoding" that is used when the plug-in reads or parses files (issue #1999)

Release 1.x ChangeLog

Labels:

plugin-maven plugin-maven Delete
plugin-report plugin-report Delete
plugin-publisher plugin-publisher Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.