arXiv · 1703.09603
Towards Automatic Generation of Short Summaries of Commits
Abstract
Committing to a version control system means submitting a software change to the system. Each commit can have a message to describe the submission. Several approaches have been proposed to automatically generate the content of such messages. However, the quality of the automatically generated messages falls far short of what humans write. In studying the differences between auto-generated and human-written messages, we found that 82% of the human-written messages have only one sentence, while the automatically generated messages often have multiple lines. Furthermore, we found that the commit messages often begin with a verb followed by an direct object. This finding inspired us to use a "verb+object" format in this paper to generate short commit summaries. We split the approach into two parts: verb generation and object generation. As our first try, we trained a classifier to classify a diff to a verb. We are seeking feedback from the community before we continue to work on generating direct objects for the commits.
Explore related subjects
Keep this discovery
Siyuan Jiang, Collin McMillan. 2017-03-28. Towards Automatic Generation of Short Summaries of Commits. https://arxiv.org/abs/1703.09603
Cite the original work for its findings. Save a collection to share your selection of sources.