A New Metric for Package Cohesion Measurement Based on Complex Network

Yanran Mi,Yanxi Zhou,Liangyu Chen
DOI: https://doi.org/10.1007/978-3-030-36687-2_20
2019-11-26
Abstract:With software evolution and code expansion, software structure becomes more and more complex. Refactoring can be used to improve the structure design and decrease the complexity of software. In this paper, we propose a cohesive metric that can be used for package refactoring. It considers not only the dependencies of intra-package and inter-package, but also the backward dependencies of inter-package. After theoretical verification and empirical verification on multiple open source softwares, our metric is proved to effectively measure software structure.
What problem does this paper attempt to address?