Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki Markup
{hudsonjenkins-plugin-info:pluginId=crap4j}

Excerpt

This plugin reads the "crappy methods" report from Crap4J. Hudson will Jenkins 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.



...

  1. Get the crap4j plugin, preferably using hudson's plugin Jenkins plugin manager
  2. Install the crap4j plugin in your hudsonJenkins, if downloaded manually
  3. Configure your project's build script to generate crap4j XML reports (This happens along with the HTML report)
  4. Enable the "Publish Crap" publisher on the job configuration page
  5. Specify the directory where the crap4j report (report.xml) is generated
  6. Perform some builds to receive a trend

...