JDepend Plugin

Plugin Information

Plugin ID jdepend
Latest Release 1.2.4-h-2
Latest Release Date May 23, 2013
Sources Github
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

Introduction

The JDepend Plugin is a plugin to generate JDepend reports for builds.

Quickstart

  1. Download the JDepend plugin from the Update Center
  2. Enable for a project by checking "Report JDepend" under the "Post-build actions" of your project
  3. Run a build
  4. View the build page once it has completed, and you should see a "JDepend" entry on the left sidebar.

Notes

The JDepend plugin does not currently report the health of a project, as the sheer number of metrics available in a JDepend report makes it very difficult to find any sort of reasonable estimate of what makes a healthy project. This is one of the times when human intuition might be best!

Bug reporting

Please direct all bugs to the Hudson issue tracker, making sure to mention "JDepend" somewhere in the heading or body. Bugs will continue to be looked at and fixed (features will not). For faster resolution, assign 'lewisham' to the bug.

Feature requests

Please direct all feature requests to the Hudson issue tracker, making sure to mention "JDepend" somewhere in the heading or body. Please note that active development on this plugin has ceased for the time being (the original itch has been scratched), so if you have new features, it will be quicker to try having a go yourself and make a commit to the SVN repository. The code should be fairly good.

Development history

Version 1.2.2

Version 1.2.1

  •  Added relative path to workspace as a possible configuration. No compatibility for Ant-style FileSets though, there should only be one JDepend report.

Version 1.2

Version 1.0 was developed by Chris Lewis (lewisham). Development of version 1.0 of this plugin was made possible by the National Science Foundation and released under the BSD license from the University of California, Santa Cruz. If you like it, remember to keep voting for the public funding of scientific and educational facilities!

Labels:

plugin-report plugin-report Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jul 24, 2009

    gontard says:

    Hello, i think it could be interresting to change the health status or to make ...

    Hello,

    i think it could be interresting to change the health status or to make the build instable if JDepend detects some cyclic dependencies.

     Kind Regards

    1. Aug 30, 2009

      Chris Lewis says:

      Interesting idea! I'll keep it in mind, but I'm not working on this plugin f...

      Interesting idea! I'll keep it in mind, but I'm not working on this plugin for the foreseeable future

  2. Jul 30, 2009

    bokc says:

    Hello, Thanks for this plugin. 2 remarks: - I was intersting to have the ...

    Hello,

    Thanks for this plugin.

    2 remarks:

    - I was intersting to have the number of class of my project in the project hudson resume. Pehaps in graph representation with some other metrics (like checkstyle?)?

    - My project workspace has the lib needed in my project. So I have a big JDepend report. It whould be interresting to exlude some jar for the report.

    BokC

    1. Aug 30, 2009

      Chris Lewis says:

      The first remark is another one for the feature list if I ever get time ever aga...

      The first remark is another one for the feature list if I ever get time ever again (unlikely, silly PhD in the way!). The second remark should be solved with 1.2, simply have ant or your build tool generate the JDepend report as you wish.

  3. Aug 04, 2009

    Christoph Kutzinski says:

    Does someone know how to specify a jdepend.properties file for the plugin (other...

    Does someone know how to specify a jdepend.properties file for the plugin (other than putting it into the home directory of the user running Hudson)?

    I tried to put it into one of the jars being analysed, but that didn't work.

    1. Aug 30, 2009

      Chris Lewis says:

      I'm not sure what a jdepend.properties file would do (something from JDepend its...

      I'm not sure what a jdepend.properties file would do (something from JDepend itself, right?) but hopefully 1.2 will let you configure something to your liking.

  4. Jul 21, 2010

    Anirudh Zala says:

    Is there anyway to show "pyramid.svg" and "jdepend.svg" on the project's homepag...

    Is there anyway to show "pyramid.svg" and "jdepend.svg" on the project's homepage? It looks like that currently plugin just uses "jdepend.xml" to prepare reports.

    1. Jul 26, 2010

      NIkolay Bondarenko says:

      I am interesting this too. p.s. If Chris don`t planed to do this, i think that ...

      I am interesting this too.

      p.s. If Chris don`t planed to do this, i think that it can be done throw some other plugin just for insert images to project screen.

    2. Jul 26, 2010

      NIkolay Bondarenko says:

      I am interesting this too. p.s. If Chris don`t planed to do this, i think that ...

      I am interesting this too.

      p.s. If Chris don`t planed to do this, i think that it can be done throw some other plugin just for insert images to project screen.

  5. Oct 07, 2010

    Anirudh Zala says:

    Please check this bug http://issues.hudson-ci.org/browse/HUDSON-7699 Although i...

    Please check this bug http://issues.hudson-ci.org/browse/HUDSON-7699

    Although it is primarily related to Hudson core, but occurs when JDepend plugin is used.

  6. Mar 01, 2011

    Daniel Kirkdorffer says:

    Currently this plugin only supports projects that produce a single jdepend.xml f...

    Currently this plugin only supports projects that produce a single jdepend.xml file.  Can it be enhanced to merge the details of multiple files?