arrow
返回

Automatic Software Refactoring via Weighted Clustering in Method-Level Networks

delete2018-03-01
delete36
PRE
AI
王颖 封面图
王颖 (Ying Wang) *
H
Hai Yu
Z
Zhiliang Zhu
W
Wei Zhang
Y
Yuli Zhao
DOI:10.1109/TSE.2017.2679752delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
In this study, we describe a system-level multiple refactoring algorithm, which can identify the move method, move field, and extract class refactoring opportunities automatically according to the principle of high cohesion and low coupling. The algorithm works by merging and splitting related classes to obtain the optimal functionality distribution from the system-level. Furthermore, we present a weighted clustering algorithm for regrouping the entities in a system based on merged method-level networks. Using a series of preprocessing steps and preconditions, the bad smells introduced by cohesion and coupling problems can be removed from both the non-inheritance and inheritance hierarchies without changing the code behaviors. We rank the refactoring suggestions based on the anticipated benefits that they bring to the system. Based on comparisons with related research and assessing the refactoring results using quality metrics and empirical evaluation, we show that the proposed approach performs well in different systems and is beneficial from the perspective of the original developers. Finally, an open source tool is implemented to support the proposed approach.
Keyword:
Clustering analysis
cohesion
coupling
complex network
software refactoring
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

N
northeastern university - china
学者数:
3.2W
论文数: 2.7W
被引数: 37
引用论文

引用论文

err分享
err收藏
Structure of Binary Liquid Mixtures. I
err1967-04-15
err0
PREAI
errN. W. Ashcroft; David C. Langreth
err分享
err收藏
Introducing a novel mushroom from mycophagy community with emphasis on biomedical potency
err2017-05-26
err0
errOAAI
errSomanjana Khatua; Arun Kumar Dutta; Swarnendu Chandra; Soumitra Paloi; Kanad Das; Krishnendu Acharya
err分享
err收藏
Analysis of autonomic outcomes in APOLLO, a phase III trial of the RNAi therapeutic patisiran in patients with hereditary transthyretin-mediated amyloidosis
err2019-11-14
err0
errOAAI
errAlejandra González-Duarte; John L. Berk; Dianna Quan; Michelle L. Mauermann; Hartmut H. Schmidt; Michael Polydefkis; Márcia Waddington-Cruz; Mitsuharu Ueda; Isabel M. Conceição; Arnt V. Kristen; Teresa Coelho; Cécile A. Cauquil; Céline Tard; Madeline Merkel; Emre Aldinc; Jihong Chen; Marianne T. Sweetser; Jing Jing Wang; David Adams
err分享
err收藏
学者 查看更多内容