arrow
返回

Characterizing refactoring graphs in Java and JavaScript projects

delete2021-09-18
delete4
PRE
AI
A
Aline Brito *
A
André Hora
M
Marco Túlio Valente
DOI:10.1007/s10664-021-10023-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Refactoring is an essential activity during software evolution. Frequently, practitioners rely on such transformations to improve source code maintainability and quality. As a consequence, this process may produce new source code entities or change the structure of existing ones. Sometimes, the transformations are atomic, i.e., performed in a single commit. In other cases, they generate sequences of modifications performed over time. To study and reason about refactorings over time, we rely on refactoring graphs. Using this abstraction, we provide quantitative and qualitative investigation on 20 popular open-source Java and JavaScript-based projects. After eliminating trivial graphs, we characterize a large sample of 1,525 refactoring graphs, providing quantitative data on their size, commits, age, refactoring composition, ownership, operations over time, and refactoring graph patterns. Besides, we contact the authors of subgraphs describing large refactoring operations to understand the reasons behind their operations. We conclude by discussing applications and implications of refactoring graphs, for example, to improve code comprehension, detect refactoring patterns, and support software evolution studies.
Keyword:
Refactoring
Refactoring graphs
Mining software repositories
Software evolution

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
Universidade Federal de Minas Gerais
学者数:
2.5W
论文数: 1.5W
被引数: 1.4W
引用论文

引用论文

err分享
err收藏
Evaluation of testicular germ cell tumor proliferation using DNA flow cytometry and nucleolar organizer silver staining
err2005-06-23
err0
errOAAI
errSoichiro Hasegawa; Kikuo Okamura; Toshio Shimoji; Koji Miyake; Yoshinori Yamakawa; Hirofumi Sakamoto
err分享
err收藏
err分享
err收藏
Hemofiltration in ex vivo lung perfusion—a study in experimentally induced pulmonary edema
err2016-02-01
err0
errOAAI
errTobias Nilsson; Christoffer Hansson; Andreas Wallinder; Carl-Johan Malm; Martin Silverborn; Sven-Erik Ricksten; Göran Dellgren
err分享
err收藏
A Framework for Evaluating the Results of the SZZ Approach for Identifying Bug-Introducing Changes
err2017-07-01
err139
PREAI
errda Costa, Daniel Alencar; McIntosh, Shane; Shang, Weiyi; Kulesza, Uira; Coelho, Roberta; Hassan, Ahmed E.
err分享
err收藏
Inferring Functional Linkages between Proteins from Evolutionary Scenarios
err2006-06-01
err0
PREAI
errYun Zhou; Rui Wang; Li Li; Xuefeng Xia; Zhirong Sun
err分享
err收藏
学者 查看更多内容