• Home
  • Search
  • Automatic Source Code Summarization of Context for Java Methods
  • Cite Icon201
  • https://doi.org/10.1109/tse.2015.2465386Copy DOI Icon

Automatic Source Code Summarization of Context for Java Methods

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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.

Similar Papers
  • Conference Article
  • Citations1

VADER-SC: A Model Agnostic Tool for Large Scale, AI Driven Automated Source Code Summarization

  • Jul 24, 2023
  • Dwight Horne +6
  • Conference Article
  • Citations37

Source Code Summarization with Structural Relative Position Guided Transformer

  • Mar 01, 2022
  • Zi Gong +5
  • Research Article
  • Citations6

GA-SCS: Graph-Augmented Source Code Summarization

  • Feb 21, 2023
  • ACM Transactions on Asian and Low-Resource Language Information Processing
  • Mengli Zhang +4
  • PDF
  • Research Article
  • Citations7

Code Plagiarism Checking Function and Its Application for Code Writing Problem in Java Programming Learning Assistant System

  • Jan 17, 2024
  • Analytics
  • Ei Ei Htet +6
  • Research Article
  • Citations11

Do Code Summarization Models Process Too Much Information? Function Signature May Be All That Is Needed

  • Jun 27, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Xi Ding +5
  • Conference Article
  • Citations20

Source code retrieval on StackOverflow using LDA

  • May 01, 2015
  • Achmad Arwan +2
  • Conference Article
  • Citations37

Trust-Based Requirements Traceability

  • Jun 01, 2011
  • Nasir Ali +2
  • PDF
  • Research Article
  • Citations3

An automated detection of confusing variable pairs with highly similar compound names in Java and Python programs

  • Aug 09, 2023
  • Empirical Software Engineering
  • Hirohisa Aman +3
  • Conference Article
  • Citations5

Implementation and Evaluation of an Automatic Visualization Tool "PGT" for Programming Education

  • Aug 01, 2007
  • Yoshihiro Kita +2
  • Research Article
  • Citations49

Assessing student perceptions and use of instructor versus AI ‐generated feedback

  • Dec 27, 2024
  • British Journal of Educational Technology
  • Erkan Er +4
  • Conference Article
  • Citations4

Profile detection through source code static analysis

  • Jan 01, 2016
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Daniel Ferreira Novais +2
  • Conference Article
  • Citations27

JVM fuzzing for JIT-induced side-channel detection

  • Jun 27, 2020
  • Tegan Brennan +2
  • Conference Article
  • Citations12

Documenting pattern use in Java programs

  • Oct 03, 2002
  • M Torchiano
  • Research Article
  • Citations6

MASCOT HTML and XML parser: an implementation of a novel object model for protein identification data.

  • Oct 26, 2006
  • Proteomics
  • Chunguang G Yang +3
  • Research Article
  • Citations22

Evaluations of JaguarCode: A web-based object-oriented programming environment with static and dynamic visualization

  • Jul 23, 2018
  • Journal of Systems and Software
  • Jeong Yang +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.