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

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

计算机科学 > 软件工程

arXiv:1611.08005 (cs)
[提交于 2016年11月23日]

标题:On the Relationship of Inconsistent Software Clones and Faults: An Empirical Study

作者:Stefan Wagner, Asim Abdulkhaleq, Kamer Kaya, Alexander Paar
查看论文《On the Relationship of Inconsistent Software Clones and Faults: An Empirical Study》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Background: Code cloning - copying and reusing pieces of source code - is a common phenomenon in software development in practice. There have been several empirical studies on the effects of cloning, but there are contradictory results regarding the connection of cloning and faults. Objective: Our aim is to clarify the relationship between code clones and faults. In particular, we focus on inconsistent (or type-3) clones in this work. Method: We conducted a case study with TWT GmbH where we detected the code clones in three Java systems, set them into relation to information from issue tracking and version control and interviewed three key developers. Results: Of the type-3 clones, 17 % contain faults. Developers modified most of the type-3 clones simultaneously and thereby fixed half of the faults in type-3 clones consistently. Type-2 clones with faults all evolved to fixed type-3 clones. Clone length is only weakly correlated with faultiness. Conclusion: There are indications that the developers in two cases have been aware of clones. It might be a reason for the weak relationship between type-3 clones and faults. Hence, it seems important to keep developers aware of clones, potentially with new tool support. Future studies need to investigate if the rate of faults in type-3 clones justifies using them as cues in defect detection.
评论: 11 pages, 0 figures
主题: 软件工程 (cs.SE); 程序设计语言 (cs.PL)
引用方式: arXiv:1611.08005 [cs.SE]
  (或者 arXiv:1611.08005v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1611.08005
期刊参考: Proc. 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER). IEEE, 2016
相关 DOI: https://doi.org/10.1109/SANER.2016.94

提交历史

来自:Stefan Wagner
[v1] 2016年11月23日 星期三 21:25:36 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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