摘要:Dependence between software packages is of importance to influence the extendibility and stability of system. In existing programs, dependence mainly manifests for class and component. Here, it has the important guiding sense to our system construction and programming. This paper analyzed the dependency between software packages, and designed the algorithm for detection existence of the package dependency loop, based on defined dependency, stability, no-responsibility and stability of the System; and then elevated the package design principles. To validate our design methodology in software development, which is valid and can be helpful for the programmers, we developed a software to analyze the dependencies between the software packages and use a graphical method to express this dependency.