I'll working on a project that is using JDepend to automatically generate a report of cyclic package dependencies as part of our CI build. (I am mainly interested in package level dependencies, so I've been using a cut down version of the XSLT to get
I am able to get library list used in my java project using J Depend using simple java program as bellow, import java.io.IOException; import java.util.Collection; import java.util.Iterator; import jdepend.framework.*; //import junit.framework.TestCas
I am looking for a free Java code analysis/metrics tool that I can use to see class dependencies, method execution times, etc, and possibly to print out a diagram that shows them. I am currently using a jdepend task in ANT to achieve this, but I'm th
General package dependency question Under what circumstances can there be a dependency cycle between packages P1 and P2 if no class and interface of P1 uses P2? I.e. where does the "hidden dependency" come from? Concrete example with jdepend jdepend
I want to test in junit via jdepend whether my package tree is on a package cycle (i.e. has a direct cyclic dependency). Currently, it isn't (see output below, and jdepend's Eclipse plugin does not find a cycle for tree). But the assertion below, sug
We have a JUnit test based on JDepend 2.9.1 in order to find illegal dependencies and cycles. Today we found that JDepend is missing dependencies. It doesn't seem to consider A depending on B in the following piece of code: public class A { @SomeAnot
I'm using JDepend to analyze my architecture and create structural tests to verify dependency within a Layered architecture. The two relevant layers are com.domain and com.infrastructure. Domain concretely depends on the Infrastructure layer. Why is
I am trying to build a continuous integration environment for php using hudson. I am running a shell script, which generates my phpdepend output, which can be used by the jdepend plugin. Although the xml-File is ready, the plugin throws an exception:
Is there anyway to run a package dependency analysis using jDepend, ant contrib's verifydesign task, or any other similar tool, which uses blacklists instead of whitelists? That is to say, I want to be far less strict (at least initially). Instead of
I have a set of Maven projects and I'd like to define access rules. For example, projects Database and Cache may only be accessed by project DataLayer, but not from project UiLayer. I'm speaking in terms of maven projects, but a package level access
I'm running the jdepend maven plugin on my project and whether I run "mvn site:site" or "mvn jdepend:generate" the report that gets generated says "There are no package used." There are no errors in the maven output. Other plugins (cobertura, findbug