Icing on the Cake: Automatic Code Summarization at Ericsson
Giriprasad Sridhara, Sujoy Roychowdhury, Sumit Soman, Ranjani H G,, Ricardo Britto

TL;DR
This study evaluates various approaches for automatic Java method summarization, demonstrating that simpler, lightweight methods relying solely on method bodies can match or outperform more complex, analysis-heavy techniques like ASAP, with greater robustness to method name variations.
Contribution
The paper introduces and compares lightweight summarization methods that do not depend on static analysis or exemplars, offering practical alternatives for commercial software development.
Findings
Simpler methods perform as well as or better than ASAP.
Methods are less affected by missing or altered method names.
Approaches are more suitable for rapid deployment in industry.
Abstract
This paper presents our findings on the automatic summarization of Java methods within Ericsson, a global telecommunications company. We evaluate the performance of an approach called Automatic Semantic Augmentation of Prompts (ASAP), which uses a Large Language Model (LLM) to generate leading summary comments for Java methods. ASAP enhances the prompt context by integrating static program analysis and information retrieval techniques to identify similar exemplar methods along with their developer-written Javadocs, and serves as the baseline in our study. In contrast, we explore and compare the performance of four simpler approaches that do not require static program analysis, information retrieval, or the presence of exemplars as in the ASAP method. Our methods rely solely on the Java method body as input, making them lightweight and more suitable for rapid deployment in…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Software Engineering Research · Web Data Mining and Analysis
