跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2001.03338 (cs)
[提交于 2020年1月10日 (v1),最后修订于 2020年9月11日 (此版本, v3)]

标题:The Effectiveness of Supervised Machine Learning Algorithms in Predicting Software Refactoring

作者:Maurício Aniche, Erick Maziero, Rafael Durelli, Vinicius Durelli
查看论文《The Effectiveness of Supervised Machine Learning Algorithms in Predicting Software Refactoring》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Refactoring is the process of changing the internal structure of software to improve its quality without modifying its external behavior. Empirical studies have repeatedly shown that refactoring has a positive impact on the understandability and maintainability of software systems. However, before carrying out refactoring activities, developers need to identify refactoring opportunities. Currently, refactoring opportunity identification heavily relies on developers' expertise and intuition. In this paper, we investigate the effectiveness of machine learning algorithms in predicting software refactorings. More specifically, we train six different machine learning algorithms (i.e., Logistic Regression, Naive Bayes, Support Vector Machine, Decision Trees, Random Forest, and Neural Network) with a dataset comprising over two million refactorings from 11,149 real-world projects from the Apache, F-Droid, and GitHub ecosystems. The resulting models predict 20 different refactorings at class, method, and variable-levels with an accuracy often higher than 90%. Our results show that (i) Random Forests are the best models for predicting software refactoring, (ii) process and ownership metrics seem to play a crucial role in the creation of better models, and (iii) models generalize well in different contexts.
评论: To appear in TSE
主题: 软件工程 (cs.SE)
引用方式: arXiv:2001.03338 [cs.SE]
  (或者 arXiv:2001.03338v3 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2001.03338

提交历史

来自:Mauricio Aniche
[v1] 2020年1月10日 星期五 08:18:18 UTC
[v3] 2020年9月11日 星期五 12:38:37 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站