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

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

计算机科学 > 软件工程

arXiv:1607.02459 (cs)
[提交于 2018年8月7日]

标题:Why We Refactor? Confessions of GitHub Contributors

作者:Danilo Silva, Nikolaos Tsantalis, Marco Tulio Valente
查看论文《Why We Refactor? Confessions of GitHub Contributors》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Refactoring is a widespread practice that helps developers to improve the maintainability and readability of their code. However, there is a limited number of studies empirically investigating the actual motivations behind specific refactoring operations applied by developers. To fill this gap, we monitored Java projects hosted on GitHub to detect recently applied refactorings, and asked the developers to ex- plain the reasons behind their decision to refactor the code. By applying thematic analysis on the collected responses, we compiled a catalogue of 44 distinct motivations for 12 well-known refactoring types. We found that refactoring activity is mainly driven by changes in the requirements and much less by code smells. Extract Method is the most versatile refactoring operation serving 11 different purposes. Finally, we found evidence that the IDE used by the developers affects the adoption of automated refactoring tools.
评论: Paper accepted at 24th International Symposium on the Foundations of Software Engineering (FSE), pages 1-12, 2016
主题: 软件工程 (cs.SE)
引用方式: arXiv:1607.02459 [cs.SE]
  (或者 arXiv:1607.02459v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1607.02459
相关 DOI: https://doi.org/10.1145/2950290.2950305

提交历史

来自:Marco Tulio Valente
[v1] 2018年8月7日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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