期刊文献+

一种改进的基于层次聚类的软件重构技术研究 被引量:10

Improved software refactoring method based on hierarchical clustering algorithm
下载PDF
导出
摘要 为了改善Java源程序的质量,使之尽可能地符合"高内聚、低耦合"的设计要求,提出了扩展的Jaccard系数,并将其作为实体间相似性的度量公式,采用层次聚类算法将Java类图划分为若干个候选包。在基于交互及度量重构策略的引导下,对Java程序结构进行调整。通过实验表明,经过调整以后的Java源程序,在结构上更符合"高内聚、低耦合"的特征。 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.
出处 《计算机工程与应用》 CSCD 北大核心 2015年第20期50-54,共5页 Computer Engineering and Applications
基金 国家自然科学基金(No.61262015 No.61462040) 江西省自然科学基金(No.20142BAB207027 No.20142BAB207011) 江西省教育厅科学技术项目(No.GJJ13230)
关键词 软件重构 高内聚 低耦合 Jaccard系数 software refactoring high cohesion low coupling Jaccard index
  • 相关文献

参考文献15

  • 1Sommerville I.软件工程[M].9版.程成,译.北京:机械工业出版社,2011. 被引量:1
  • 2Alkhalid A,Alshayeb M.Software refactoring at the package level using clustering techniques[J].Software IET,2011,5(3):276-284. 被引量:1
  • 3韩家炜,坎伯.数据挖掘概念与技术[M].范明,孟小峰译.北京:机械工业出版社.2000. 被引量:7
  • 4Shern M,Tzerpos V.Clustering methodologies for software engineering[J].Advances in Software Engineering,2012,2012:1-18. 被引量:1
  • 5Mancoridis S,Mitchell B S.Using automatic clustering to produce high-level system organizations of source code[C]//6th Workshop on Program Comprehension,1998:45-52. 被引量:1
  • 6Dietrich J,Yakovlev V.Cluster analysis of Java dependency graphs[C]//Proceedings of the 4th ACM Symposium on Software Visualization,2008:91-94. 被引量:1
  • 7Scanniello G,Marcus A.Clustering support for static concept location in source code[C]//International Conference on Program Comprehension,2011:1-10. 被引量:1
  • 8Fokaefs M,Tsantalis N.Decomposing object-oriented class modules using an agglomerative clustering technique[C]//IEEE International Conference on Software Maintenance,2009:20-26. 被引量:1
  • 9Corazza A,Di Martino S,Maggio V,et al.Investigating the use of lexical information for software system clustering[C]//15th European Conference on Software Maintenance and Reengineering,CSMR,2011:35-44. 被引量:1
  • 10Misra J,Annervaz K M.Software clustering:unifying syntactic and semantic features[C]//Working Conference on Reverse Engineering,WCRE,2012:113-122. 被引量:1

共引文献6

同被引文献44

引证文献10

二级引证文献25

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部