Recovering traceability links between requirements and source code in the same series of software products

Ryosuke Tsuchiya, T. Kato, H. Washizaki, M. Kawakami, Y. Fukazawa, Kentaro Yoshimura
{"title":"Recovering traceability links between requirements and source code in the same series of software products","authors":"Ryosuke Tsuchiya, T. Kato, H. Washizaki, M. Kawakami, Y. Fukazawa, Kentaro Yoshimura","doi":"10.1145/2491627.2491633","DOIUrl":null,"url":null,"abstract":"If traceability links between requirements and source code are not clarified when conducting maintenance and enhancements for the same series of software products, engineers cannot immediately find the correction location in the source code for requirement changes. However, manually recovering links in a large group of products requires significant costs and some links may be overlooked. Here, we propose a semi-automatic method to recover traceability links between requirements and source code in the same series of large software products. In order to support differences in representation between requirements and source code, we recover links by using the configuration management log as an intermediary. We refine the links by classifying requirements and code elements in terms of whether they are common or specific to the products. As a result of applying our method to real products that have 60KLOC, we have recovered valid traceability links within a reasonable amount of time. Automatic parts have taken 13 minutes 36 seconds, and non-automatic parts have taken about 3 hours, with a recall of 76.2% and a precision of 94.1%. Moreover, we recovered some links that were unknown to engineers. By recovering traceability links, software reusability will be improved, and software product line introduction will be facilitated.","PeriodicalId":339444,"journal":{"name":"Software Product Lines Conference","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-08-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software Product Lines Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2491627.2491633","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20

Abstract

If traceability links between requirements and source code are not clarified when conducting maintenance and enhancements for the same series of software products, engineers cannot immediately find the correction location in the source code for requirement changes. However, manually recovering links in a large group of products requires significant costs and some links may be overlooked. Here, we propose a semi-automatic method to recover traceability links between requirements and source code in the same series of large software products. In order to support differences in representation between requirements and source code, we recover links by using the configuration management log as an intermediary. We refine the links by classifying requirements and code elements in terms of whether they are common or specific to the products. As a result of applying our method to real products that have 60KLOC, we have recovered valid traceability links within a reasonable amount of time. Automatic parts have taken 13 minutes 36 seconds, and non-automatic parts have taken about 3 hours, with a recall of 76.2% and a precision of 94.1%. Moreover, we recovered some links that were unknown to engineers. By recovering traceability links, software reusability will be improved, and software product line introduction will be facilitated.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在相同的软件产品系列中恢复需求和源代码之间的可追溯性链接
如果在对相同的软件产品系列进行维护和增强时,需求和源代码之间的可追溯性链接没有得到澄清,工程师就不能立即在源代码中找到需求变更的正确位置。然而,手动恢复大量产品中的链接需要大量成本,并且有些链接可能会被忽略。在这里,我们提出了一种半自动的方法来恢复大型软件产品中需求和源代码之间的可追溯性链接。为了支持需求和源代码之间表示的差异,我们通过使用配置管理日志作为中介来恢复链接。我们根据需求和代码元素是通用的还是特定于产品来对它们进行分类,从而细化链接。由于将我们的方法应用于具有60KLOC的实际产品,我们在合理的时间内恢复了有效的可追溯性链接。自动部件耗时13分36秒,非自动部件耗时约3小时,召回率为76.2%,准确率为94.1%。此外,我们还发现了一些工程师不知道的链接。通过恢复可追溯性链接,将提高软件的可重用性,并促进软件产品线的引入。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Modeling Business Process Variability: Are We Done Yet? Using similarity metrics for mining variability from software repositories MPLM - MaTeLo product line manager: [relating variability modelling and model-based testing] Ten years of the arcade game maker pedagogical product line Family model mining for function block diagrams in automation software
×
引用
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