DSDGen: Extracting Documentation to Comprehend Fork Merges

J. Krüger, Alex Mikulinski, Sandro Schulze, Thomas Leich, Gunter Saake
{"title":"DSDGen: Extracting Documentation to Comprehend Fork Merges","authors":"J. Krüger, Alex Mikulinski, Sandro Schulze, Thomas Leich, Gunter Saake","doi":"10.1145/3579028.3609015","DOIUrl":null,"url":null,"abstract":"Developers use the forking mechanisms of modern social-coding platforms to evolve and maintain their systems. Using such mechanisms often leads to a larger number of independent variants with individual features or bug fixes that the developers may want to merge after a longer period of co-evolution. At this point, they may have forgotten (or never had) knowledge about differences between the variants. Tackling this problem, we built on the idea of on-demand documentation to develop a technique that automatically extracts and presents information for merging a class from two forks. We implemented our technique as a prototype called DSD-Gen and evaluated it through an experimental simulation with 10 students who should comprehend two real-world merge requests. Using DSDGen instead of code diffs only, more of the students could correctly comprehend the merges (6 / 10 versus 2 / 10) within a similar time. The students actively inspected the additional information provided by DSDGen and used it to comprehend the differences between the forked classes. So, DSDGen can help developers recover information for comprehending the differences caused by fork co-evolution during merges, with our results indicating opportunities for future research and improvements.","PeriodicalId":340233,"journal":{"name":"Proceedings of the 27th ACM International Systems and Software Product Line Conference - Volume B","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 27th ACM International Systems and Software Product Line Conference - Volume B","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3579028.3609015","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Developers use the forking mechanisms of modern social-coding platforms to evolve and maintain their systems. Using such mechanisms often leads to a larger number of independent variants with individual features or bug fixes that the developers may want to merge after a longer period of co-evolution. At this point, they may have forgotten (or never had) knowledge about differences between the variants. Tackling this problem, we built on the idea of on-demand documentation to develop a technique that automatically extracts and presents information for merging a class from two forks. We implemented our technique as a prototype called DSD-Gen and evaluated it through an experimental simulation with 10 students who should comprehend two real-world merge requests. Using DSDGen instead of code diffs only, more of the students could correctly comprehend the merges (6 / 10 versus 2 / 10) within a similar time. The students actively inspected the additional information provided by DSDGen and used it to comprehend the differences between the forked classes. So, DSDGen can help developers recover information for comprehending the differences caused by fork co-evolution during merges, with our results indicating opportunities for future research and improvements.
DSDGen:提取文档以理解分叉合并
开发人员使用现代社交编码平台的分叉机制来发展和维护他们的系统。使用这样的机制通常会导致大量具有单独特性或错误修复的独立变体,开发人员可能希望在较长时间的共同进化后合并这些变体。在这一点上,他们可能已经忘记(或从未知道)变体之间的差异。为了解决这个问题,我们基于按需文档的思想开发了一种技术,该技术可以自动提取和显示用于合并两个分支中的类的信息。我们将我们的技术作为一个名为DSD-Gen的原型实现,并通过10名学生的实验模拟来评估它,他们应该理解两个现实世界的合并请求。使用DSDGen而不是代码差异,更多的学生可以在相同的时间内正确理解合并(6 / 10对2 / 10)。学生们积极地查看了DSDGen提供的附加信息,并用它来理解分叉类之间的差异。因此,DSDGen可以帮助开发人员恢复信息,以理解合并过程中分叉共同进化造成的差异,我们的结果表明了未来研究和改进的机会。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信