Using structural and semantic measures to improve software modularization
Using structural and semantic measures to improve software modularization
复制标题
DOI:
10.1007/s10664-012-9226-8
复制
发表时间:
2013-10
影响因子:
4.1
通讯作者:
G. Bavota;A. D. Lucia;Andrian Marcus;Rocco Oliveto
中科院分区:
文献类型:
--
作者:
G. Bavota;A. D. Lucia;Andrian Marcus;Rocco Oliveto
Changes during software evolution and poor design decisions often lead to packages that are hard to understand and maintain, because they usually group together classes with unrelated responsibilities. One way to improve such packages is to decompose them into smaller, more cohesive packages. The difficulty lies in the fact that most definitions and interpretations of cohesion are rather vague and the multitude of measures proposed by researchers usually capture only one aspect of cohesion. We propose a new technique for automatic re-modularization of packages, which uses structural and semantic measures to decompose a package into smaller, more cohesive ones. The paper presents the new approach as well as an empirical study, which evaluates the decompositions proposed by the new technique. The results of the evaluation indicate that the decomposed packages have better cohesion without a deterioration of coupling and the re-modularizations proposed by the tool are also meaningful from a functional point of view.