arrow
返回

Why Developers Refactor Source Code: A Mining-based Study

delete2020-09-26
delete34
delete
OA
AI
J
Jevgenija Pantiuchina *
F
Fiorella Zampetti
S
Simone Scalabrino
V
Valentina Piantadosi
Rocco Oliveto 封面图
Rocco Oliveto (Rocco Oliveto)
Gabriele Bavota 封面图
Gabriele Bavota (Gabriele Bavota)
Massimiliano Di Penta 封面图
Massimiliano Di Penta (Massimiliano Di Penta)
DOI:10.1145/3408302delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Refactoring aims at improving code non-functional attributes without modifying its external behavior. Previous studies investigated the motivations behind refactoring by surveying developers. With the aim of generalizing and complementing their findings, we present a large-scale study quantitatively and qualitatively investigating why developers perform refactoring in open source projects. First, we mine 287,813 refactoring operations performed in the history of 150 systems. Using this dataset, we investigate the interplay between refactoring operations and process (e.g., previous changes/fixes) and product (e.g., quality metrics) metrics. Then, we manually analyze 551 merged pull requests implementing refactoring operations and classify the motivations behind the implemented refactorings (e.g., removal of code duplication). Our results led to (i) quantitative evidence of the relationship existing between certain process/product metrics and refactoring operations and (ii) a detailed taxonomy, generalizing and complementing the ones existing in the literature, of motivations pushing developers to refactor source code.
Keyword:
Refactoring
empirical software engineering
AI总结

AI总结

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

Why Do Developers Reject Refactorings in Open-Source Projects?为什么开发人员拒绝开源项目中的重构?
err2021-12-24
err4
PREAI
errPantiuchina, Jevgenija; Lin, Bin; Zampetti, Fiorella; Di Penta, Massimiliano; Lanza, Michele; Bavota, Gabriele
err分享
err收藏
Evaluating refactorings for spreadsheet models
err2016-08-01
err4
errOAAI
errCunha, Jacome; Fernandes, Joao Paulo; Martins, Pedro; Mendes, Jorge; Pereira, Rui; Saraiva, Joao
err分享
err收藏
Impermanent identifiers: Enhanced source code comprehension and refactoring非永久标识符: 增强的源代码理解和重构
err2024-10-01
err1
errOAAI
errGuerra, Eduardo Martins; Ivo, Andre A. S.; Pereira, Fernando O.; Robbes, Romain; Janes, Andrea; Silveira, Fabio Fagundes
err分享
err收藏

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.4K
被引数:
4.5K

机构

U
universita della svizzera italiana
学者数:
134
论文数: 64
被引数: 2.1K
U
university of sannio
学者数:
128
论文数: 55
被引数: 1.4K
U
University of Molise
学者数:
142
论文数: 65
被引数: 1.3K
学者 查看更多机构
引用论文

引用论文

How changes affect software entropy: an empirical study变化如何影响软件熵: 一项实证研究
err2012-07-14
err49
PREAI
errCanfora, Gerardo; Cerulo, Luigi; Cimitile, Marta; Di Penta, Massimiliano
err分享
err收藏
Urinary Cytokines During Intravesical Bacillus Calmetteguerin Therapy for Superficial Bladder Cancer
err1996-02-01
err0
PREAI
errTheo M. de Reijke; Elizabeth C. de Boer; Karl Heinz Kurth; Denis H. J. Schamhart
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收藏
err分享
err收藏
err分享
err收藏
Acute Urinary Retention Associated with Prostatic Carcinoma
err1989-06-01
err0
PREAI
errJudd W. Moul; Rodney Davis; John A. Vaccaro; Stephen A. Sihelnik; William D. Belville; David G. McLeod
err分享
err收藏
Using structural and semantic measures to improve software modularization
err2012-09-14
err56
PREAI
errBavota, Gabriele; De Lucia, Andrea; Marcus, Andrian; Oliveto, Rocco
err分享
err收藏
学者 查看更多内容