跳到主要导航 跳到搜索 跳到主要内容

COME: Commit Message Generation with Modification Embedding

  • Yichen He
  • , Liran Wang
  • , Kaiyi Wang
  • , Yupeng Zhang
  • , Hang Zhang
  • , Zhoujun Li*
  • *此作品的通讯作者
  • Beihang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Commit messages concisely describe code changes in natural language and are important for program comprehension and maintenance. Previous studies proposed some approaches for automatic commit message generation, but their performance is limited due to inappropriate representation of code changes and improper combination of translation-based and retrieval-based approaches. To address these problems, this paper introduces a novel framework named COME, in which modification embeddings are used to represent code changes in a fine-grained way, a self-supervised generative task is designed to learn contextualized code change representation, and retrieval-based and translation-based methods are combined through a decision algorithm. The average improvement of COME over the state-of-the-art approaches is 9.2% on automatic evaluation metrics and 8.0% on human evaluation metrics. We also analyse the effectiveness of COME's three main components and each of them results in an improvement of 8.6%, 8.7% and 5.2%.

源语言英语
主期刊名ISSTA 2023 - Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis
编辑Rene Just, Gordon Fraser
出版商Association for Computing Machinery, Inc
792-803
页数12
ISBN(电子版)9798400702211
DOI
出版状态已出版 - 12 7月 2023
活动32nd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2023 - Seattle, 美国
期限: 17 7月 202321 7月 2023

出版系列

姓名ISSTA 2023 - Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis

会议

会议32nd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2023
国家/地区美国
Seattle
时期17/07/2321/07/23

指纹

探究 'COME: Commit Message Generation with Modification Embedding' 的科研主题。它们共同构成独一无二的指纹。

引用此