论文标题

bug-fix变体:可视化唯一的源代码在github forks上更改

Bug-Fix Variants: Visualizing Unique Source Code Changes across GitHub Forks

论文作者

Imamura, Daigo, Ishio, Takashi, Kula, Raula Gaikovina, Matsumoto, Kenichi

论文摘要

在建立已经存在的项目时,分叉是开发人员的普遍做法。这些叉子创建了具有共同代码库的变体,但随后以不同的方向发展代码,这是特定于分叉项目要求的。具有多个叉子的有趣副作用是能够在代码的不同演变方向之间进行选择,该代码的不同演变方向基于开发人员修复了代码库中的错误。但是,这种分散的信息形式很难分析的关键问题。在这项研究中,我们提出了一个可视化,以分析未返回原始项目的叉子存储库的主动变化。我们的可视化显示了在多个叉子中的代码提交活动,并在叉子历史上突出显示了错误修复提交。当每个存储库的提交活动与GitHub的代码频率视图类似地可视化时,我们的视图显示仅提交叉子存储库。为了说明我们可视化的有效性,我们将视图应用于两个用例:识别不再维护的存储库中的叉子,并确定叉子之间的错误修复。在第一种情况下,我们确定了一个名为obfuscator-llvm的暂停项目的叉子。我们的观点显示了原始的存储库及其最活跃的叉子,这些货物继续在顶部开发。在第二种情况下,我们确定了夹具项目的叉子中的错误修复。我们的观点表明,最活跃的叉子有自己的错误修复。我们可以轻松地标识视图中突出显示的错误的补丁。作为新想法论文,我们介绍了三个研究问题的概述,以引发现实世界的用例和目标的目标,这有可能揭露。我们可视化的原型可在\ textColor {blue} {\ url {https://naist-se.github.io/vissoft2022/}获得

Forking is a common practice for developers when building upon on already existing projects. These forks create variants, which have a common code base but then evolve the code in different directions, which is specific to that forked project requirements. An interesting side-effect of having multiple forks is the ability to select between different evolution directions of the code which is based on developers fixing bugs in the code base. However, the key issue that this decentralized form of information is difficult to analyze. In this study, we propose a visualization to analyze active changes in fork repositories that have not been merged back to the original project. Our visualization shows code commit activities in multiple forks with highlight on bug fix commits in the history of forks. While the commit activity of each repository is visualized similarly to the code frequency view of GitHub, our view shows only commits unique to fork repositories. To illustrate the effectiveness of our visualization, we have applied our view to two use cases: identifying forks from a repository no longer maintained, and identifying a bug fix among forks. In the first case, we identify a fork of a suspended project named Obfuscator-LLVM. Our view shows the original repository and its most active fork that continue the development on the top. In the second case, we identify a bug fix in a fork of Clipy project. Our view shows that the most active fork has its own bug fixes; we could easily identify a patch for the bug highlighted in the view. As a new ideas paper, we then present our outline of three research questions to spark real world use-cases and goals for our visualization has the potential to uncover. A prototype of our visualization is available at \textcolor{blue}{\url{https://naist-se.github.io/vissoft2022/}

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源