-
Notifications
You must be signed in to change notification settings - Fork 5
/
EMSE_2022_MCMD.ris
22 lines (22 loc) · 2.13 KB
/
EMSE_2022_MCMD.ris
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TY - JOUR
AU - Tao, Wei
AU - Wang, Yanlin
AU - Shi, Ensheng
AU - Du, Lun
AU - Han, Shi
AU - Zhang, Hongyu
AU - Zhang, Dongmei
AU - Zhang, Wenqiang
PY - 2022
DA - 2022/10/26
TI - A large-scale empirical study of commit message generation: models, datasets and evaluation
JO - Empirical Software Engineering
SP - 198
VL - 27
IS - 7
AB - Commit messages are natural language descriptions of code changes, which are important for program understanding and maintenance. However, writing commit messages manually is time-consuming and laborious, especially when the code is updated frequently. Various approaches utilizing generation or retrieval techniques have been proposed to automatically generate commit messages. To achieve a better understanding of how the existing approaches perform in solving this problem, this paper conducts a systematic and in-depth analysis of the state-of-the-art models and datasets. We find that: (1) Different variants of the BLEU metric used in previous works affect the evaluation. (2) Most datasets are crawled only from Java repositories while repositories in other programming languages are not sufficiently explored. (3) Dataset splitting strategies can influence the performance of existing models by a large margin. (4) For pre-trained models, fune-tuning with different multi-programming-language combinations can influence their performance. Based on these findings, we collect a large-scale, information-rich, M ulti-language C ommit M essage D ataset (MCMD). Using MCMD, we conduct extensive experiments under different experiment settings including splitting strategies and multi-programming-language combinations. Furthermore, we provide suggestions for comprehensively evaluating commit message generation models and discuss possible future research directions. We believe our work can help practitioners and researchers better evaluate and select models for automatic commit message generation. Our source code and data are available at https://anonymous.4open.science/r/CommitMessageEmpirical.
SN - 1573-7616
UR - https://doi.org/10.1007/s10664-022-10219-1
DO - 10.1007/s10664-022-10219-1
ID - Tao2022
ER -