Recommending tags for pull requests in GitHub
•60.61% of survey respondents think that a tag recommendation tool is useful.•We propose a method FNNRec which uses feed-forward neural network to recommend tags.•FNNRec outperforms TagDeepRec and TagMulRec by substantial margins. [Display omitted] In GitHub, contributors make code changes, then cre...
Saved in:
Published in | Information and software technology Vol. 129; p. 106394 |
---|---|
Main Authors | , , , , |
Format | Journal Article |
Language | English |
Published |
Elsevier B.V
01.01.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | •60.61% of survey respondents think that a tag recommendation tool is useful.•We propose a method FNNRec which uses feed-forward neural network to recommend tags.•FNNRec outperforms TagDeepRec and TagMulRec by substantial margins.
[Display omitted]
In GitHub, contributors make code changes, then create and submit pull requests to projects. Tags are a simple and effective way to attach additional information to pull requests and facilitate their organization. However, little effort has been devoted to study pull requests’ tags in GitHub.
Our objective in this paper is to propose an approach which automatically recommends tags for pull requests in GitHub.
We make a survey on the usage of tags in pull requests. Survey results show that tags are useful for developers to track, search or classify pull requests. But some respondents think that it is difficult to choose right tags and keep consistency of tags. 60.61% of respondents think that a tag recommendation tool is useful. In order to help developers choose tags, we propose a method FNNRec which uses feed-forward neural network to analyze titles, description, file paths and contributors.
We evaluate the effectiveness of FNNRec on 10 projects containing 68,497 tagged pull requests. The experimental results show that on average, FNNRec outperforms approach TagDeepRec and TagMulRec by 62.985% and 24.953% in terms of F1−score@3, respectively.
FNNRec is useful to find appropriate tags and improve tag setting process in GitHub. |
---|---|
ISSN: | 0950-5849 1873-6025 |
DOI: | 10.1016/j.infsof.2020.106394 |