计算机科学与探索2012,Vol.6Issue(6):513-521,9.DOI:10.3778/j.issn.1673-9418.2012.06.004
使用程序聚类技术的模块重构风险分析方法
Measuring the Refactoring Risk of Modules Using Software Clustering
摘要
Abstract
As software evolves, its modularity gradually degrades. Software refactoring is an important means for software modularity adjustment, but which modules are most in need of refactoring is difficult to predict. This paper proposes a novel approach for measuring the refactoring risk of modules by software clustering. Using structural clustering and semantic clustering, two different kinds of implied modularity views can be recovered from the implementation as reference modularity. By comparing the differences between the realistic modular structure and the reference modular structure, modules with high refactoring risk are identified. A comparative experiment conducted on three open source softwares shows that the predicting result produced by the proposed approach conforms well to the actual refactoring activities, indicating the effectiveness of the proposed approach.关键词
重构风险/软件模块化/程序聚类/软件度量/软件质量Key words
refactoring risk/ software modularity/ software clustering/ software metrics/ software quality分类
信息技术与安全科学引用本文复制引用
朱天梅,吴毅坚,彭鑫,赵文耘..使用程序聚类技术的模块重构风险分析方法[J].计算机科学与探索,2012,6(6):513-521,9.基金项目
The National Natural Science Foundation of China under Grant No.60903013(国家自然科学基金) (国家自然科学基金)
the National High-Tech Research and Development Plan of China under Grant No.2012AA011202(国家高技术研究发展计划(863)). (国家高技术研究发展计划(863)