I'm trying to understand how to use "Show Class Cycles..." (SCC)
in a meaningful way and I'm not sure I've succeeded so far.
On a relatively small project (~200 classes), SCC gives me a few
cycles. I can visualize these cycles as graphs which I think I can
interpret. A little legend on the graph itself would certainly help
understand what it represents the first time one sees it. I'd love
to see a "jump to source" behavior when clicking on nodes (or
classnames) to see why a dependency exists.
On a much bigger project (~7000 classes), I cannot get any result. The
analysis seems to be memory-hungry so I gave IDEA a bunch of
available physical memory (-Xmx1300m). It took the analysis about
5-10 minutes to finish, but then the progress dialog disappeared and
IDEA was 'frozen' with 100% cpu usage for over 1.5 hour, at which
point I just force-killed it.
Are there too many classes? If so, is there a way to restrict the number
of classes (or packages or modules) the analysis is run on?
I'd be interested in hearing other people's experience with the class
dependency cycle analysis.