TL;DR
This paper introduces an unsupervised method to generate natural language summaries of Android API methods from Stack Overflow discussions, providing a useful complementary resource to official documentation.
Contribution
It presents a novel unsupervised approach leveraging Stack Overflow discussions to automatically summarize API methods, focusing on unofficial documentation.
Findings
Generated summaries are competitive with official documentation.
Developers find summaries useful for implementation details.
Summaries can aid in software development and maintenance.
Abstract
Automated source code summarization is a task that generates summarized information about the purpose, usage, and--or implementation of methods and classes to support understanding of these code entities. Multiple approaches and techniques have been proposed for supervised and unsupervised learning in code summarization, however, they were mostly focused on generating a summary for a piece of code. In addition, very few works have leveraged unofficial documentation. This paper proposes an automatic and novel approach for summarizing Android API methods discussed in Stack Overflow that we consider as unofficial documentation in this research. Our approach takes the API method's name as an input and generates a natural language summary based on Stack Overflow discussions of that API method. We have conducted a survey that involves 16 Android developers to evaluate the quality of our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
