首页> 外文会议>IEEE/ACM International Conference on Software Engineering: Companion >Poster: The Buggy Side of Code Refactoring: Understanding the Relationship Between Refactorings and Bug
【24h】

Poster: The Buggy Side of Code Refactoring: Understanding the Relationship Between Refactorings and Bug

机译:海报:代码重构的错误方面:了解重构与错误之间的关系

获取原文
获取外文期刊封面目录资料

摘要

Code refactoring is widely practiced by software developers. There is an explicit assumption that code refactoring improves the structural quality of a software project, thereby also reducing its bug proneness. However, refactoring is often applied with different purposes in practice. Depending on the complexity of certain refactorings, developers might unconsciously make the source code more susceptible to have bugs. In this paper, we present a longitudinal study of 5 Java open source projects, where 20,689 refactorings, and 1,033 bug reports were analyzed. We found that many bugs are introduced in the refactored code as soon as the first immediate change is made on it. Furthermore, code elements affected by refactorings performed in conjunction with other changes are more prone to have bugs than those affected by pure refactorings.
机译:代码重构由软件开发人员广泛练习。代码重构提高了软件项目的结构质量,有明确的假设,从而降低了其Bugoning。然而,重构通常在实践中以不同的目的应用。根据某些重构的复杂性,开发人员可能会无意识地使源代码更容易受到错误。在本文中,我们展示了5个Java开源项目的纵向研究,其中分析了20,689个重构和1,033个错误报告。我们发现,一旦第一次立即更改,我们就在重构代码中引入了许多错误。此外,由其他更改的重构影响的代码元素更容易出现比受纯重构影响的错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号