Sciweavers

ESE
2016

An empirical study of the textual similarity between source code and source code summaries

8 years 8 months ago
An empirical study of the textual similarity between source code and source code summaries
Source code documentation often contains summaries of source code written by authors. Recently, automatic source code summarization tools have emerged that generate summaries without requiring author intervention. These summaries are designed for readers to be able to understand the highlevel concepts of the source code. Unfortunately, there is no agreed upon understanding of what makes up a “good summary.” This paper presents an empirical study examining summaries of source code written by authors, readers, and automatic source code summarization tools. This empirical study examines the textual similarity between source code and summaries of source code using Short Text Semantic Similarity metrics. We found that readers use source code in their summaries more than authors do. Additionally, this study finds that accuracy of a human written summary can be estimated by the textual similarity of that summary to the source code.
Paul W. McBurney, Collin McMillan
Added 03 Apr 2016
Updated 03 Apr 2016
Type Journal
Year 2016
Where ESE
Authors Paul W. McBurney, Collin McMillan
Comments (0)