GithubHelp home page GithubHelp logo

codeclimate-pmd's Introduction

codeclimate-pmd

A code climate engine for running pmd on your java projects.

Running changes in local

  • ./tests/spec_for_checker
  • ./build.sh
  • go inside tests/test_repo/fixture_code_base and run codeclimate analyse --dev or CODECLIMATE_DEBUG=1 codeclimate analyse --dev for debug messages.

Sample .codeclimate.yml configuration

engines:
  pmd:
    enabled: true
    config: 'config/pmd/pmd.xml'

By default the engine runs the code climate checker against your code if the config property is not defined

Testing the checker

Run ./tests/spec_for_checker which uses a fixture project for running tests against the checker

To know more about different PMD rules visit the PMD rulesets index

Updating PMD (to be used after 5.5.0 is officially released)

  • cd bin
  • ./updatePmd.groovy

References

codeclimate-pmd's People

Contributors

mrb avatar sivakumar-kailasam avatar

Stargazers

 avatar

Watchers

 avatar

codeclimate-pmd's Issues

Annouce PMD update (Apex and Code Climate improvements)

Hy @sivakumar-kailasam,

is your engine already running? If so very cool. We're still struggling with Java-stuff....

We added many improvements to PMD in the last pull request (pmd/pmd#87). This is to just to tell you that this engines users might profit from updating your engine.

After you update the engine I would love to test out your engine on one of our public Apex repos https://github.com/Up2Go/visualforce-table-grid. I saw that you exclude the Apex rules, did I do the config right in https://github.com/Up2Go/visualforce-table-grid/blob/master/.codeclimate.yml?

Use latest PMD

Would be nice if we could have a script to do that where it can backup the current pmd folder and fetch the new one from the pmd repo's releases, run tests and remove the older one.

If not at least lets manually update it for now ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.