Stage-oe-small.jpg

Inproceedings3981

Aus Aifbportal
Wechseln zu:Navigation, Suche


A Full-fledged Commit Message Quality Checker Based on Machine Learning


A Full-fledged Commit Message Quality Checker Based on Machine Learning



Published: 2023

Buchtitel: Proceedings of the 47th Annual IEEE Computers, Software, and Applications Conference (COMPSAC'23)
Verlag: IEEE

Referierte Veröffentlichung

BibTeX

Kurzfassung
Commit messages (CMs) are an essential part of version control. By providing important context in regard to what has changed and why, they strongly support software maintenance and evolution. But writing good CMs is difficult and often neglected by developers. So far, there is no tool suitable for practice that automatically assesses how well a CM is written, including its meaning and context. Since this task is challenging, we ask the research question: how well can the CM quality, including semantics and context, be measured with machine learning methods? By considering all rules from the most popular CM quality guideline, creating datasets for those rules, and training and evaluating state-of-the-art machine learning models to check those rules, we can answer the research question with: sufficiently well for practice, with the lowest F1 score of 82.9%, for the most challenging task. We develop a full-fledged opensource framework that checks all these CM quality rules. It is useful for research, e.g., automatic CM generation, but most importantly for software practitioners to raise the quality of CMs and thus the maintainability and evolution speed of their software.

Download: Media:Commit-Message-Quality-Checker_COMPSAC2023.pdf



Forschungsgruppe

Web Science


Forschungsgebiet

Maschinelles Lernen, Data Mining, Collaboration, Participation and Coordination