Download RefactorIT User Manual
Transcript
RefactorIT Manual Cyclic dependencies on the method, class, and package level are maintenance nightmares and indicate potential places to apply refactoring changes. Momentary CYC is only available on the package level. Cyclically dependent packages are not only harder to comprehend or compile individually, but they cannot be packaged, versioned, and distributed separately. Thus, they violate the idea that a Java package is the unit of release. Cyclic Dependencies (CYC) for a package counts a mutual dependency: the number of other packages the package depends on, and which in turn depend on the package. CYC of 0 indicates that the package is not engaged in cyclic dependencies with other packages. When cyclic dependencies are reported for a package, the best way at the moment to determine which packages form the cycles is to use Where Used and Show Dependencies on the package. Where Used reports packages that the package is used in. Show Dependencies reports packages that the package depends on. The packages reported by both tools are engaged in cyclic dependencies with the package. See Also Where Used Show Dependencies Metrics Minimize Access Rights Minimizes access rights for the members of the chosen class declared in source code. Page 69