首页> 外文期刊>IEICE transactions on information and systems >Detecting and Visualizing Change Smells Based on Revision History and Code Hunk's Lifecycle
【24h】

Detecting and Visualizing Change Smells Based on Revision History and Code Hunk's Lifecycle

机译:Detecting and Visualizing Change Smells Based on Revision History and Code Hunk's Lifecycle

获取原文
获取原文并翻译 | 示例
       

摘要

Change history in project revisions provides helpful information on handling bugs. Existing studies on predicting bugs mainly focus on resulting bug patterns, not these change patterns. When a code hunk is copied onto several files, the set of original and copied hunks often need to be consistently maintained. We assume that it is a normal state when all of hunks survive or die in a specific revision. When partial change occurs on some duplicated hunks, they are regarded as suspicious hunks. Based on these assumptions, suspicious cases can be predicted and the project's developers can be alerted. In this paper, we propose a practical approach to detect various change smells based on revision history and code hunk tracking. The change smells are suspicious change patterns that can result in potential bugs, such as partial death of hunks, missed refadoring or fix, backward or late change. To detect these change smells, three kinds of hunks - add, delete, and modify — are tracked and analyzed by an automated tool. Several visualized graphs for each type have been suggested to improve the applicability of the proposed technique. We also conducted experiments on large-scale open projects. The case study results show the applicability of the proposed approach.

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号