Detect Cycle Dependency with JDepend4Eclipse

Cycle dependency among packages is dependency among package where 2 or more packages depend on each other. For example, package A depend on package B, while package B also depend on package A. Another exaple is package A depend on package B, package B depend in package C, package C depend on package A.

The cycle dependency is often undesire as it increase coupling among packages.

JDepend is a tool to generate metrics based on package dependencies. While JDepend4Eclipse is the Eclipse plugin for JDepend.

Using this plugin, you can identify the dependency cycles easily. Below is the screen:


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply