• Review
  • Changelog
  • Computer programs are developed to provide information which is utilized by the computer to perform various tasks which includes solving some technical problems to make life easier for people. The programmer identifies a problem and develops an algorithm with the potential to yield a solution. The source code is subsequently written and the program design gets documented.

    Computer programs are expected to accurately collect, analyze and manage data on a system. The source code of these programs may contain bugs or errors that could hinder its smooth operation. PMD provides a means of identifying these errors and debugging your code to ensure that it is running optimally.

    How Can PMD Help You

    PMD is a handy tool that is ideal for all programmers regardless of their various skill levels. It facilitates debugging and code analysis to enable you to eliminate all flaws that may prevent the program from running seamlessly. 

    An efficient programming code should not contain unused classes instances or variables, empty catch blocks and a host of other unnecessary objects. The program can be used in analyzing code written in various languages like Java, PLSQL, JavaScript, JSP, XSL, Python, PHP, XML and lots more. It can also find sources of syntax complexity and eliminate them to optimize the execution time of your code.

    Some of these complexities can be accidental and not essential which could affect the way the code works. PMD enables its user to set custom rules that can be implemented when analyzing source code to detect every related error in the code. You can also write XPath rules for querying the Abstract Syntax Tree (AST), define custom rule properties and test it using a positive and negative test case to ensure that it is viable.

    PMD can also identify duplicate code and eliminate them. You can also create support for a new programming language. All you need to do is to implement a new parser for the language, create node classes, token manager, and version handler. The custom rule for the language would also have to be created and tested.

    PMD can be integrated into several IDEs like Netbeans and Eclipse with the help of a plugin which has the required rulesets in it. Code analysis can be automated with the help of third-party tools like Codacy.

    PMD Key Features Include:

    • Automation of code analysis;
    • Easy integration into several IDEs;
    • Supports custom rule creation for new languages;
    • Supports XPath rules for querying the Abstract Syntax Tree (AST);
    • Analyze code in various languages like Python, JavaScript, and XML;
    • Locate duplicate codes;
    • Suppress warnings.

    Summary

    Efficient time management and accuracy is key to developing cost-effective programs. Mistakes are inevitable and debugging source code manually can be exhausting because you would have to browse through several lines of code to find errors. PMD enables you to write efficient code to save time and resources.

  • We don't have any change log information for PMD 6.17.0 yet. If you have any change log info for this version of PMD you can share with us.

Screenshots

More info

  • Last Updated: 2019-08-12
  • Developer: PMD
  • Homepage: github.com/pmd
  • Version: 6.17.0
  • File size: 46.01 MB
  • Downloads: 2,630
  • Operating system: Windows 10, Windows 8/8.1, Windows 7, Windows Vista, Windows XP
  • Filename: pmd-bin-6.17.0.zip
  • MD5 Checksum: 6dc8f289c8bf21f9f195c61f3526782d

Comments