Abstract
Commit messages are vital for traceability, maintenance, and onboarding in modern software projects, yet their quality is frequently inconsistent. Recent large language models (LLMs) can transform code diffs into natural language summaries, offering a path to more consistent and informative commit messages. This paper makes two contributions: (i) it provides a systematic survey of automated commit message generation with LLMs, critically comparing prompt-only, fine-tuned, and retrieval-augmented approaches; and (ii) it specifies a transparent, agent-based evaluation blueprint centered on CommitBench. Unlike prior reviews, we include a detailed dataset audit, preprocessing impacts, evaluation metrics, and error taxonomy. The protocol defines dataset usage and splits, prompting and context settings, scoring and selection rules, and reporting guidelines (results by project, language, and commit type), along with an error taxonomy to guide qualitative analysis. Importantly, this work emphasizes methodology and design rather than presenting new empirical benchmarking results. The blueprint is intended to support reproducibility and comparability in future studies.
Author supplied keywords
Cite
CITATION STYLE
Trigui, M. M., & Al-Khatib, W. G. (2025, October 1). LLMs for Commit Messages: A Survey and an Agent-Based Evaluation Protocol on CommitBench. Computers. Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/computers14100427
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.