Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


This plugin reads the "crappy methods" report from Crap4J. Hudson will generate the trend report of crap percentage and provide detailed information about changes. Users will be able to track which methods are crappy and when they entered and left the code base.

Restrictions

Currently, this plugin is restricted to use with freestyle (ant) jobs. Future releases might support all kinds of jobs.

Releases

This plugin has no released versions yet. It is still in a late alpha phase with first versions planned at the end of March 2008.

Configuring the Crap4J Plugin

  1. Get the crap4j plugin source code
  2. Build a binary version with maven (mvn package)
  3. Install the crap4j plugin in your hudson
  4. Configure your project's build script to generate crap4j XML reports (This happens along with the HTML report)
  5. Enable the "Publish Crap" publisher on the job configuration page
  6. Specify the directory where the crap4j report (report.xml) is generated
  7. Perform some builds to receive a trend

The first two steps are necessary as there are no released versions yet.

  • No labels