A neural architecture for generating natural language descriptions from source code changes

80Citations
Citations of this article
162Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We propose a model to automatically describe changes introduced in the source code of a program using natural language. Our method receives as input a set of code commits, which contains both the modifications and message introduced by an user. These two modalities are used to train an encoder-decoder architecture. We evaluated our approach on twelve real world open source projects from four different programming languages. Quantitative and qualitative results showed that the proposed approach can generate feasible and semantically sound descriptions not only in standard in-project settings, but also in a cross-project setting.

Cite

CITATION STYLE

APA

Loyola, P., Marrese-Taylor, E., & Matsuo, Y. (2017). A neural architecture for generating natural language descriptions from source code changes. In ACL 2017 - 55th Annual Meeting of the Association for Computational Linguistics, Proceedings of the Conference (Long Papers) (Vol. 2, pp. 287–292). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/P17-2045

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free