通过补丁分析恢复源代码和修复错误之间的可追溯性链接

TEFSE '11 Pub Date : 2011-05-23 DOI:10.1145/1987856.1987863
Christopher S. Corley, Nicholas A. Kraft, L. Etzkorn, Stacy K. Lukins
{"title":"通过补丁分析恢复源代码和修复错误之间的可追溯性链接","authors":"Christopher S. Corley, Nicholas A. Kraft, L. Etzkorn, Stacy K. Lukins","doi":"10.1145/1987856.1987863","DOIUrl":null,"url":null,"abstract":"Traceability links can be recovered using data mined from a revision control system, such as CVS, and an issue tracking system, such as Bugzilla. Existing approaches to recover links between a bug and the methods changed to fix the bug rely on the presence of the bug's identifier in a CVS log message. In this paper we present an approach that relies instead on the presence of a patch in the issue report for the bug. That is, rather than analyzing deltas retrieved from CVS to recover links, our approach analyzes patches retrieved from Bugzilla. We use BugTrace, the tool implementing our approach, to conduct a case study in which we compare the links recovered by our approach to links recovered by manual inspection. The results of the case study support the efficacy of our approach. After describing the limitations of our case study, we conclude by reviewing closely related work and suggesting possible future work.","PeriodicalId":116816,"journal":{"name":"TEFSE '11","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"28","resultStr":"{\"title\":\"Recovering traceability links between source code and fixed bugs via patch analysis\",\"authors\":\"Christopher S. Corley, Nicholas A. Kraft, L. Etzkorn, Stacy K. Lukins\",\"doi\":\"10.1145/1987856.1987863\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Traceability links can be recovered using data mined from a revision control system, such as CVS, and an issue tracking system, such as Bugzilla. Existing approaches to recover links between a bug and the methods changed to fix the bug rely on the presence of the bug's identifier in a CVS log message. In this paper we present an approach that relies instead on the presence of a patch in the issue report for the bug. That is, rather than analyzing deltas retrieved from CVS to recover links, our approach analyzes patches retrieved from Bugzilla. We use BugTrace, the tool implementing our approach, to conduct a case study in which we compare the links recovered by our approach to links recovered by manual inspection. The results of the case study support the efficacy of our approach. After describing the limitations of our case study, we conclude by reviewing closely related work and suggesting possible future work.\",\"PeriodicalId\":116816,\"journal\":{\"name\":\"TEFSE '11\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2011-05-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"28\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"TEFSE '11\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1987856.1987863\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"TEFSE '11","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1987856.1987863","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 28

摘要

可追溯性链接可以使用从修订控制系统(如CVS)和问题跟踪系统(如Bugzilla)中挖掘的数据来恢复。恢复错误和为修复错误而更改的方法之间的链接的现有方法依赖于CVS日志消息中存在的错误标识符。在本文中,我们提出了一种方法,该方法依赖于bug问题报告中补丁的存在。也就是说,我们的方法不是分析从CVS检索到的增量来恢复链接,而是分析从Bugzilla检索到的补丁。我们使用BugTrace(实现我们的方法的工具)来进行案例研究,将我们的方法恢复的链接与手工检查恢复的链接进行比较。案例研究的结果支持了我们方法的有效性。在描述了我们的案例研究的局限性之后,我们通过回顾密切相关的工作并建议可能的未来工作来结束。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Recovering traceability links between source code and fixed bugs via patch analysis
Traceability links can be recovered using data mined from a revision control system, such as CVS, and an issue tracking system, such as Bugzilla. Existing approaches to recover links between a bug and the methods changed to fix the bug rely on the presence of the bug's identifier in a CVS log message. In this paper we present an approach that relies instead on the presence of a patch in the issue report for the bug. That is, rather than analyzing deltas retrieved from CVS to recover links, our approach analyzes patches retrieved from Bugzilla. We use BugTrace, the tool implementing our approach, to conduct a case study in which we compare the links recovered by our approach to links recovered by manual inspection. The results of the case study support the efficacy of our approach. After describing the limitations of our case study, we conclude by reviewing closely related work and suggesting possible future work.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Traceability challenge 2011: using TraceLab to evaluate the impact of local versus global IDF on trace retrieval Towards a model of analyst effort for traceability research Traceclipse: an eclipse plug-in for traceability link recovery and management Traceability research: taking the next steps Recovering traceability links between source code and fixed bugs via patch analysis
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1