Identifying Redundancies in Fork-based Development

Luyao Ren, Shurui Zhou, Christian Kästner, Andrzej Wasowski

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review


Fork-based development is popular and easy to use, but makes it difficult to maintain an overview of the whole community when the number of forks increases. This may lead to redundant development where multiple developers are solving the same problem in parallel without being aware of each other. Redundant development wastes effort for both maintainers and developers. In this paper, we designed an approach to identify redundant code changes in forks as early as possible by extracting clues indicating similarities between code changes, and building a machine learning model to predict redundancies. We evaluated the effectiveness from both the maintainer's and the developer's perspectives. The result shows that we achieve 57-83% precision for detecting duplicate code changes from maintainer's perspective, and we could save developers' effort of 1.9-3.0 commits on average. Also, we show that our approach significantly outperforms existing state-of-art.
TitelThe 26th IEEE International Conference on Software Analysis Evolution and Reengineering, Hangzhou, China, Februrary 24-27, 2019
ForlagIEEE Press
ISBN (Trykt)978-1-7281-0592-5
ISBN (Elektronisk)978-1-7281-0591-8
StatusUdgivet - 2019


Dyk ned i forskningsemnerne om 'Identifying Redundancies in Fork-based Development'. Sammen danner de et unikt fingeraftryk.