arrow
Return

Aide-memoire: Improving a Project's Collective Memory via Pull Request-Issue Links

delete2023-03-29
delete1
delete
OA
AI
P
Profir-Petru Pârţachi *
D
David R. White
E
Earl T. Barr
DOI:10.1145/3542937delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Links between pull request and the issues they address document and accelerate the development of a software project but are often omitted. We present a new tool, Aide-memoire, to suggest such links when a developer submits a pull request or closes an issue, smoothly integrating into existing workflows. In contrast to previous state-of-the-art approaches that repair related commit histories, Aide-memoire is designed for continuous, real-time, and long-term use, employing Mondrian forest to adapt over a project's lifetime and continuously improve traceability. Aide-memoire is tailored for two specific instances of the general traceability problem-namely, commit to issue and pull request to issue links, with a focus on the latter-and exploits data inherent to these two problems to outperform tools for general purpose link recovery. Our approach is online, language-agnostic, and scalable. We evaluate over a corpus of 213 projects and six programming languages, achieving a mean average precision of 0.95. Adopting Aide-memoire is both efficient and effective: A programmer need only evaluate a single suggested link 94% of the time, and 16% of all discovered links were originally missed by developers.
Keywords:
Traceability
link inference
missing link

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

U
University College London
Scholars:
7.9W
Papers: 6.2W
Citations: 15.7W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305