A criterion for filtering code clone related bugs

Yasuhiro Hayase, Yii Yong Lee, Katsuro Inoue
{"title":"A criterion for filtering code clone related bugs","authors":"Yasuhiro Hayase, Yii Yong Lee, Katsuro Inoue","doi":"10.1145/1390817.1390828","DOIUrl":null,"url":null,"abstract":"Software reviews are time-consuming task especially for large software systems. To reduce the efforts required, Li et al. developed CP-Miner, a code clone detection tool that detects identifier naming inconsistencies between code clones as bug candidates. However, reviewers using CP-Miner still have to assess many inconsistencies, since the tool also reports many false-positive candidates. To reduce the false-positive candidates, we propose a criterion for filtering the candidates. In our experiments, filtering with the proposed criterion removed 30% of the false-positive candidates and no true-positive candidates. This result shows that the proposed criterion helps the review task by effectively reducing the number of bug candidates.","PeriodicalId":193694,"journal":{"name":"DEFECTS '08","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-07-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"DEFECTS '08","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1390817.1390828","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Software reviews are time-consuming task especially for large software systems. To reduce the efforts required, Li et al. developed CP-Miner, a code clone detection tool that detects identifier naming inconsistencies between code clones as bug candidates. However, reviewers using CP-Miner still have to assess many inconsistencies, since the tool also reports many false-positive candidates. To reduce the false-positive candidates, we propose a criterion for filtering the candidates. In our experiments, filtering with the proposed criterion removed 30% of the false-positive candidates and no true-positive candidates. This result shows that the proposed criterion helps the review task by effectively reducing the number of bug candidates.
一个过滤代码克隆相关bug的标准
软件评审是一项耗时的工作,特别是对于大型软件系统。为了减少工作量,Li等人开发了CP-Miner,这是一种代码克隆检测工具,可以检测代码克隆之间标识符命名的不一致性,并将其作为bug候选。然而,使用CP-Miner的审稿人仍然需要评估许多不一致之处,因为该工具也报告了许多假阳性候选。为了减少假阳性候选,我们提出了一个过滤候选的准则。在我们的实验中,使用所提出的标准进行过滤,去除了30%的假阳性候选,没有真阳性候选。结果表明,建议的标准通过有效地减少候选错误的数量来帮助评审任务。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信