IEEE Transactions on Software Engineering · 2015 · 187 citations · 48 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingProgramming LanguagesSoftware DocumentationText SummarizationAutomatic Summarization EvaluationContextual SummarizationDocument SummarizationDocumentation GenerationHuman Evaluation Of SummariesSummarizationSummarization EvaluationUse Of Experts
Source code summarization is the task of creating readable summaries that describe the functionality of software. Source code summarization is a critical component of documentation generation, for example as Javadocs formed from short paragraphs attached to each method in a Java program. At present, a majority of source code summarization is manual, in that the paragraphs are written by human experts. However, new automated technologies are becoming feasible. These automated techniques have been shown to be effective in select situations, though a key weakness is that they do not explain the source code's context. That is, they can describe the behavior of a Java method, but not why the method exists or what role it plays in the software. In this paper, we propose a source code summarization technique that writes English descriptions of Java methods by analyzing how those methods are invoked. We then performed two user studies to evaluate our approach. First, we compared our generated summaries to summaries written manually by experts. Then, we compared our summaries to summaries written by a state-of-the-art automatic summarization tool. We found that while our approach does not reach the quality of human-written summaries, we do improve over the state-of-the-art summarization tool in several dimensions by a statistically-significant margin.
48
Introduction to information retrieval
Choice Reviews Online · 2009 · 12.6K citations
Building Natural-Language Generation Systems
Ehud Reiter · ArXiv.org · 1996 · 1.3K citations · Full text
Six Learning Barriers in End-User Programming Systems
Amy J. Ko, Brad A. Myers, Htet Htet Aung · 2004 · 547 citations · Full text
Computing, Computer Science, Design +16
Towards automatically generating summary comments for Java methods
Giriprasad Sridhara, Emily Hill, Divya Muppaneni et al. · 2010 · 517 citations
On the Use of Automated Text Summarization Techniques for Summarizing Source Code
Sonia Haiduc, Jairo Aponte, Laura Moreno et al. · 2010 · 402 citations