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

A First Look at Conventional Commits Classification

  • Qunhong Zeng
  • , Yuxia Zhang*
  • , Zhiqing Qiu
  • , Hui Liu
  • *此作品的通讯作者
  • Beijing Institute of Technology

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

摘要

Modern distributed software development relies on commits to control system versions. Commit classification plays a vital role in both industry and academia. The widely-used commit classification framework was proposed in 1976 by Swanson and includes three base classes: perfective, corrective, and adaptive. With the increasing complexity of software development, the industry has shifted towards a more fine-grained commit category, i.e., adopting Conventional Commits Specification (CCS) for delicacy management. The new commit framework requires developers to classify commits into ten distinct categories, such as 'feat', 'fix', and 'docs'. However, existing studies mainly focus on the three-category classification, leaving the definition and application of the fine-grained commit categories as knowledge gaps. This paper reports a preliminary study on this mechanism from its application status and problems. We also explore ways to address these identified problems. We find that a growing number of projects on GitHub are adopting CCS. By qualitatively analyzing 194 issues from GitHub and 100 questions from Stack Overflow about the CCS application, we categorized four main challenges developers encountered when using CCS. The most common one is CCS-type confusion. To address these challenges, we propose a clear definition of CCS types based on existing variants. Further, we designed an approach to automatically classify commits into CCS types, and the evaluation results demonstrate a promising performance. Our work facilitates a deeper comprehension of the present fine-grained commit categorization and holds the potential to alleviate application challenges significantly.

源语言英语
主期刊名Proceedings - 2025 IEEE/ACM 47th International Conference on Software Engineering, ICSE 2025
出版商IEEE Computer Society
2277-2289
页数13
ISBN(电子版)9798331505691
DOI
出版状态已出版 - 2025
已对外发布
活动47th IEEE/ACM International Conference on Software Engineering, ICSE 2025 - Ottawa, 加拿大
期限: 27 4月 20253 5月 2025

出版系列

姓名Proceedings - International Conference on Software Engineering
ISSN(印刷版)0270-5257

会议

会议47th IEEE/ACM International Conference on Software Engineering, ICSE 2025
国家/地区加拿大
Ottawa
时期27/04/253/05/25

指纹

探究 'A First Look at Conventional Commits Classification' 的科研主题。它们共同构成独一无二的指纹。

引用此