Abstract
In open source communities (e.g., GitHub), developers frequently submit pull requests to fix bugs or add new features during development process. Since the process of pull request is uncoordinated and distributed, it causes massive duplication. Usually, only the first pull request qualified by reviewers can be merged to the main branch of the repository, and the others are regarded as duplication by maintainers. Since the duplication largely aggravates workloads of project reviewers and maintainers, the evolutionary process of open source repositories is delayed. To identify the duplicate pull requests automatically, Ren et al. proposed a state-of-the-art approach that models a pull request by nine features and determine whether a given request is duplicate with the other existing requests or not. Nevertheless, we notice that their approach overlooked the time factor which is a significant feature for the task. In this study, we investigate the influence of time factor and improve the pull request representation. We assume that two pull requests are more likely duplicate when their created time are close to each other. We verify the assumption based on 26 open source repositories from GitHub with over 100,000 pairs of pull requests. We integrate the time feature to the nine features proposed by Ren et al. and the experimental results show that it can substantially improve the performance of Ren et al.'s work by 14.36% and 11.93% in terms of F1-score@1 and F1-score@5, respectively.
Original language | English |
---|---|
Title of host publication | 11th Asia-Pacific Symposium on Internetware, Internetware 2019 |
Editors | Hausi Muller, Gang Huang |
Place of Publication | New York NY USA |
Publisher | Association for Computing Machinery (ACM) |
Number of pages | 10 |
ISBN (Electronic) | 9781450377010 |
DOIs | |
Publication status | Published - 2019 |
Event | Asia-Pacific Symposium on Internetware 2019 - Fukuoka, Japan Duration: 28 Oct 2019 → 29 Oct 2019 Conference number: 11th https://internetware2019.github.io/ |
Conference
Conference | Asia-Pacific Symposium on Internetware 2019 |
---|---|
Abbreviated title | Internetware 2019 |
Country/Territory | Japan |
City | Fukuoka |
Period | 28/10/19 → 29/10/19 |
Internet address |
Keywords
- Duplicate Pull Request
- GitHub
- Time Factor