class - java package cycle detection: how to find the specific classes involved? -


what tool recommend detect java package cyclic dependencies,
knowing goal list explicitly specific classes involved in detected 'across-packages cycle' ?

i know classycle , jdepend , both fail list classes involved in cyclic package dependency.
metrics has interesting graphical representation of cycles, again limited packages, , quite difficult read sometime.

i getting tired a:

" have package cycle dependency between 3 packages
you have xxx classes in each
good luck finding right classes , break cycle "

do know tool takes step explain why cycle detected (i.e. 'list involved classes') ?


riiight... time proclaim results:

@l7010.de thank effort. vote (when have enough rep), 'cap' answer... cap dead in water , no longer compatible eclipse 3.4. rest commercial , freeware

@daniel6651 thank but, said, freeware (sorry not have mentioned in first place)

@izb frequent user of findbugs (using latest 1.3.5 right now), 1 click away accept answer... if explain me option there activate findbug detect cycle. feature mentioned 0.8.7 version in passing (look 'new style detector find circular dependencies between classes'), , not able test it.
update: works now, had old findbugs configuration file in option not activated. still cad though ;)

the answer is... see my own (second) answer below

findbugs can detect circular class dependencies, , has eclipse plugin too.

http://findbugs.sourceforge.net/


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -