Add a PMD tool for Review Bot.

Review Request #8764 — Created Feb. 17, 2017 and submitted

Information

ReviewBot
master
50e1415...

Reviewers

This change adds support for the PMD static analyzer (which is mostly
java-focused). There are two configurable fields: the path to the executable
(which is needed because PMD doesn't really have a good, standard
installation), and the list of rulesets to run.

  • Posted a big java change and saw that PMD ran and reported the results
    successfully.
  • Misconfigured the PMD path and saw that the resulting error was reported
    correctly.
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        bot/reviewbot/tools/pmd.py
        bot/setup.py
        bot/reviewbot/exceptions.py
        bot/reviewbot/tasks.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        bot/reviewbot/tools/pmd.py
        bot/setup.py
        bot/reviewbot/exceptions.py
        bot/reviewbot/tasks.py
    
    
  2. 
      
david
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        bot/reviewbot/tools/pmd.py
        bot/setup.py
        bot/reviewbot/config.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        bot/reviewbot/tools/pmd.py
        bot/setup.py
        bot/reviewbot/config.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (0c8eecd)