计算机工程与应用Issue(20):50-54,5.DOI:10.3778/j.issn.1002-8331.1310-0117
一种改进的基于层次聚类的软件重构技术研究
Improved software refactoring method based on hier-archical clustering algorithm
摘要
Abstract
In order to improve the quality of the Java source code for meeting the design requirements of the“high cohe-sion, low coupling”, this paper presents an extended Jaccard index(also called Jaccard distance), based on which it imple-ments a hierarchical clustering algorithm to cluster several closely related classes into the candidate package. The tests show that the structure of Java source code is the more in line with the characteristics of high cohesion and low coupling after adjustment.关键词
软件重构/高内聚/低耦合/Jaccard系数Key words
software refactoring/high cohesion/low coupling/Jaccard index分类
信息技术与安全科学引用本文复制引用
钟林辉,张能伟,侯长源,宗鸿雁..一种改进的基于层次聚类的软件重构技术研究[J].计算机工程与应用,2015,(20):50-54,5.基金项目
国家自然科学基金(No.61262015,No.61462040);江西省自然科学基金(No.20142BAB207027,No.20142BAB207011);江西省教育厅科学技术项目(No.GJJ13230)。 ()