Towards automatically generating summary comments for Java methods
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
Studies have shown that good comments can help programmers quickly understand what a method does, aiding program comprehension and software maintenance. Unfortunately, few software projects adequately comment the code. One way to overcome the lack of human-written summary comments, and guard against obsolete comments, is to automatically generate them. In this paper, we present a novel technique to automatically generate descriptive summary comments for Java methods. Given the signature and body of a method, our automatic comment generator identifies the content for the summary and generates natural language text that summarizes the method's overall actions. According to programmers who judged our generated comments, the summaries are accurate, do not miss important content, and are reasonably concise.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Initially, template-based approaches were popular [17,26,27,56,61]; however, creating a list of templates with good coverage is very challenging.”
From Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization) (2024) · cites this paper as [61]
Citations
Cites
Refactoring: Improving the Design of Existing Code
Fowler, M. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45672-4_31 · Cited by 5,591
Knuth, D. E. (1984) · The Computer Journal · doi:10.1093/comjnl/27.2.97 · Cited by 1,467 · cited 1×
“Specifically, they use symbolic execution to identify under what conditions the exception is thrown, and then use a set of templates to generate the textual comment for these conditions.”
BackgroundBuilding Natural-Language Generation Systems
Reiter, E. (1996) · arXiv (Cornell University) · doi:10.48550/arxiv.cmp-lg/9605002 · Cited by 1,228 · cited 1×
“Similar to how an abstract provides a summary for a natural language document [18], a descriptive summary comment for a method can help programmers quickly understand what a method does, aiding program comprehension and software maintenance.”
BackgroundMani, I. (2001) · Natural Language Processing · doi:10.1075/nlp.3 · Cited by 834
A Survey on Shari’Ah Governance Practices in Malaysia, GCC Countries and the UKPreprint
Hasan, Z. (2011) · SSRN Electronic Journal · Cited by 452
A study of the documentation essential to software maintenance
de Souza, S. C. B., Anquetil, N., & de Oliveira, K. M. (2005) · Proceedings of the 23rd annual international conference on Design of communication: documenting & designing for pervasive information · doi:10.1145/1085313.1085331 · Cited by 305
Ball, T., & Larus, J. R. (1993) · Proceedings of the ACM SIGPLAN 1993 conference on Programming language design and implementation · doi:10.1145/155090.155119 · Cited by 289 · cited 1×
“In the future, we will improve content selection by excluding if blocks handling special cases and error return paths, by possibly leveraging branch execution frequency estimation [1].”
BackgroundPickerell, A. G., & Dornin, M. (1968) · University of California Press eBooks · doi:10.1525/9780520339668 · Cited by 266
A survey on Shari'ah governance practices in Malaysia, GCC countries and the UK: Critical appraisal
Hasan, Z. (2011) · International Journal of Islamic and Middle Eastern Finance and Management · doi:10.1108/17538391111122195 · Cited by 240
Using profile information to assist classic code optimizations
Chang, P. P., Mahlke, S. A., & Hwu, W. W. (1991) · Software: Practice and Experience · doi:10.1002/spe.4380211204 · Cited by 237 · cited 1×
“While useful in targeting optimization [4], these statements do not represent content for a summary.”
Background
Research works printed but not linked: 7
- Fowler M., 1999, Addison-Wesley
- 10.5555/882506.885157 · doi:10.5555/882506.885157
- Hill E., 2010, University of Delaware
- Marin D. P., 2005, University of California
- 10.5555/331955 · doi:10.5555/331955
- Seacord R. C., 2003, Inc.
- Takang A. A., 1996, J. Prog. Lang., 4
Cited by
Items 201–300 of 525
A Survey on Research of Code Comment
Bai, Y., Liping, Z., & Zhao, F. (2019) · International Conference on Management Engineering, Software Engineering and Service Sciences (ICMSS) · doi:10.1145/3312662.3312710 · Cited by 35
Documenting database usages and schema constraints in database-centric applications
Linares‐Vásquez, M., Li, B., Vendome, C., & Poshyvanyk, D. (2016) · International Symposium on Software Testing and Analysis · doi:10.1145/2931037.2931072 · Cited by 28
“For the evaluation, we relied on the same framework previously used for assessing automatically generated documentation [19,41,46,54].”
MethodA review of automatic source code summarization
Zhang, X., Hou, X., Qiao, X., & Song, W. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10553-6 · Cited by 34
Context-aware code summary generation
Su, C., Bansal, A., Huang, Y., Li, T. J.-J., & McMillan, C. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112580 · Cited by 26
Natural Language-Based Software Analyses and Tools for Software Maintenance
Pollock, L., Vijay‐Shanker, K., Hill, E., Sridhara, G., & Shepherd, D. C. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-36054-1_4 · Cited by 26
“evaluated their work [91, 93, 94] by obtaining judgements of the generated comments”
BackgroundMethodSelf-citationEstimating Semantic Relatedness in Source Code
Mahmoud, A., & Bradshaw, G. L. (2015) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2824251 · Cited by 25
“…traceability [Huffman-Hayes et al. 2006; Oliveto et al. 2010], code refactoring [Kamiya et al. 2002; Bavota et al. 2014], code summarization [Sridhara et 2010], reverse engineering [Anquetil et al. 1999; Maqbool and Babri 2007], and code comprehension [Kuhn et al. 2007; Grechanik et al.…”
BackgroundTan, L. (2015) · Elsevier eBooks · doi:10.1016/b978-0-12-411519-4.00017-3 · Cited by 23
Exploranative Code Quality Documents
Mumtaz, H., Latif, S., Beck, F., & Weiskopf, D. (2019) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2019.2934669 · Cited by 26
Park, Y.-M., Park, A., & Kim, C. (2023) · IEEE Access · doi:10.1109/access.2023.3268638 · Cited by 28
“proposed an automatic comment generation technique that extracts keywords from the Java method and describes the functionality in [1] and an automatic technique that identifies code snippets and implement high-level abstractions of behavior and represents it as a natural lan-”
MethodAutomatically Detecting the Up-To-Date Status of ToDo Comments in Java Programs
Sridhara, G. (2016) · India Software Engineering Conference · doi:10.1145/2856636.2856638 · Cited by 22
“Our prior work focused on summarizing source code in the form of natural language comments [15,16,18,19].”
BackgroundMethodSelf-citationA framework for writing trigger-action todo comments in executable format
Nie, P., Rai, R., Li, J. J., Sarfraz Khurshid, D., Mooney, R. J., & Gligoric, M. (2019) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3338906.3338965 · Cited by 22
“Work on generating comments from code [20, 23, 27, 33, 34, 47, 48] , generating code / specifications from comments [9], and both directions [41], are other approaches to keep a repository consistent.”
BackgroundGenerating Unit Tests for Documentation
Nassif, M., Hernandez, A., Sridharan, A., & Robillard, M. P. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3087087 · Cited by 22
“Different techniques are tuned to document either classes [28], methods [29], [30], or method parameters [25].”
MethodCommtPst: Deep learning source code for commenting positions prediction
Huang, Y., Hu, X., Jia, N., Chen, X., Zheng, Z., & Luo, X. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110754 · Cited by 26
Automatic Documentation Generation via Source Code Summarization
McBurney, P. W. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.288 · Cited by 27
Al-Msie’deen, R., Marianne Huchard, B., Seriai, A.-D., Urtado, C., & Vauttier, S. (2014) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194014400142 · Cited by 22
“[11] present a novel technique to automatically generate comments for Java methods.”
MethodA Neural Question Answering System for Basic Questions about Subroutines
Bansal, A., Eberhart, Z., Wu, L., & McMillan, C. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00015 · Cited by 31
“[67] in their ASE paper: no baseline exists for comparison.”
BackgroundLeveraging Unsupervised Learning to Summarize APIs Discussed in Stack Overflow
Naghshzan, A., Guerrouj, L., & Baysal, O. (2021) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam52516.2021.00026 · Cited by 21
“To generate a summary for Java classes using only source code, Moreno et al. [30] proposed an approach, based on a combination of stereotype identifiers and lexicalization [32] to understand the content and responsibility of classes.”
MethodAutomatic software summarization: the state of the art
Moreno, L., & Marcus, A. (2017) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-c.2017.169 · Cited by 25
“, [4, 7, 11]); (ii) as a substitute of the original document (e.”
BackgroundNguyen, T. V., Tran, N., Phan, H., Nguyen, T., Truong, L. H., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2018) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3236024.3236036 · Cited by 26
“In general, a wide range of other SE applications also involves text and code relevance, including bug localization [53, 57], software traceability [12], code summarization [17, 48], bug triaging [5], documentation processing [46, 47], and naming convention [1, 2].”
BackgroundAutomated Documentation of Android Apps
Aghajani, E., Bavota, G., Linares‐Vásquez, M., & Lanza, M. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2890652 · Cited by 25
“…software artifacts such as unit test cases [13], [44], [47], [48], changes/commits [9], [49], [50], [51], database usages [12], release notes [52], [53], classes [6], [54], methods [11], [55], [56], code fragments [7], [10], [57], bug reports [58], software concerns [59], and mailing lists [60].”
BackgroundAutomatic Source Code Documentation using Code Summarization Technique of NLP
Arthur, M. P. (2020) · Procedia Computer Science · doi:10.1016/j.procs.2020.04.273 · Cited by 21
A Tale of Two Comprehensions? Analyzing Student Programmer Attention during Code Summarization
Karas, Z., Bansal, A., Zhang, Y., Li, T. J.-J., McMillan, C., & Huang, Y. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3664808 · Cited by 30
“Researchers revised their approaches and attempted to find the key words or phrases within code that summaries should include [70, 82].”
Toward accurate link between code and software documentation
Cao, Y., Zou, Y., Luo, Y., Xie, B., & Zhao, J. (2018) · Science China Information Sciences · doi:10.1007/s11432-017-9402-3 · Cited by 20
“Sridhara et al. [30] generate descriptive summary comments for Java methods.”
MethodA Convolutional Neural Network for Language-Agnostic Source Code Summarization
Moore, J., Gelman, B. U., & Slater, D. (2019) · International Conference on Evaluation of Novel Approaches to Software Engineering · doi:10.5220/0007678100150026 · Cited by 22
Automated feature discovery via sentence selection and source code summarization
McBurney, P. W., Liu, C., & McMillan, C. (2016) · Journal of Software Evolution and Process · doi:10.1002/smr.1768 · Cited by 22
“[23] or our own previous work, McBurney et al.”
BackgroundMethodResultInfluentialDing, X., Peng, R., Chen, X., Huang, Y., Bian, J., & Zheng, Z. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3652156 · Cited by 26
“Early code summarization often uses template-based [42, 57, 58, 70] or information-retrieval-based [35, 73, 74, 76] approaches by creating custom template rules or mining the descriptions of similar code snippets to generate comments.”
SparseCoder: Identifier-Aware Sparse Transformer for File- Level Code Summarization
Wang, Y., Huang, Y., Guo, D., Zhang, H., & Zheng, Z. (2024) · 2024 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner60148.2024.00068 · Cited by 13
“1) Rule-based and IR-based approaches: Early work in this area largely employed rule-based and IR-based approaches [9, 19, 20, 35, 36, 38, 41].”
BackgroundMethodLu, H., Peng, H., Nan, G., Cui, J., Wang, C., Jin, W., Wang, S., Pan, S., & Tao, X. (2025) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2025.3583552 · Cited by 22
“Early studies rely on manual parsing or rule-based sum-mary generation [17], [18].”
Statistical Learning for Inference between Implementations and Documentation
Phan, H., Nguyen, H. A., Nguyen, T. N., & Rajan, H. (2017) · IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER) · doi:10.1109/icse-nier.2017.9 · Cited by 20
“[10] use syntactic rules in a Java program to summarize the overall actions in a method.”
MethodInteractive Refactoring Documentation Bot
Rebai, S., Sghaier, O. B., Alizadeh, V., Kessentini, M., & Chater, M. (2019) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2019.00026 · Cited by 24
“proposed a tool that first extracts relevant information from Java methods then expresses the extracted content in natural language based on predefined text templates [44].”
MethodTowards Context-Aware Code Comment Generation
Yu, X., Huang, Q., Wang, Z., Feng, Y., & Zhao, D. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.350 · Cited by 19
“Classical approaches for auto-comment generation use hand-crafted templates to produce code descriptions (Sridhara et al., 2010; Cortes-Coy et al., 2014; Dawood et al., 2017), but suffer from poor scalability and high maintenance cost due to the expensive overhead of writing comment templates.”
Cheng, W., Hu, P., Wei, S., & Mo, R. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.106987 · Cited by 19
Machine translation-based fine-grained comments generation for solidity smart contracts
Shi, C., Xiang, Y., Yu, J., Sood, K., & Gao, L. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.107065 · Cited by 23
Part of Speech Tagging Java Method Names
Wyatt, O., Hill, E., Chris, T., & Bezalem, L. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.80 · Cited by 18
“Numerous software engineering tools for evolution and comprehension make use of part-of-speech (POS) information, including code search [1], [11], [15], requirements traceability [5], comment generation [13], [16], program comprehension [4], [8], and analyzing bug reports [18].”
Self-citationSuggesting Comment Completions for Python using Neural Language Models
Ciurumelea, A., Proksch, S., & Gall, H. C. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054866 · Cited by 22
“2) Automatic Generation of Comments: Previous approaches focused on automatically generating summaries for Java methods [17], [44] and classes [34].”
BackgroundMethodZhu, T., Li, Z., Pan, M., Shi, C., Zhang, T., Pei, Y., & Li, X. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3631975 · Cited by 18
“Early template-based approaches extract terms from the source code to fill in the manually crafted templates [61, 64, 74, 83].”
BackgroundMethod Execution Reports: Generating Text and Visualization to Describe Program Behavior
Beck, F., Siddiqui, H. A., Bergel, A., & Weiskopf, D. (2017) · IEEE Working Conference on Software Visualization (VISSOFT) · doi:10.1109/vissoft.2017.11 · Cited by 17
Automatic Segmentation of Method Code into Meaningful Blocks: Design and Evaluation
Wang, X., Pollock, L., & Vijay‐Shanker, K. (2013) · Journal of Software Evolution and Process · doi:10.1002/smr.1581 · Cited by 21
Self-citationCode Summarization with Abstract Syntax Tree
Chen, Q., Han, H., & Liu, Z. (2019) · Communications in computer and information science · doi:10.1007/978-3-030-36802-9_69 · Cited by 17
“Sridhara et al. [12] propose an automatic comment generator that identifies the content for the summary.”
BackgroundSummarizing source code with hierarchical code representation
Zhou, Z., Yu, H., Fan, G., Huang, Z., & Yang, X. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106761 · Cited by 20
Automatic Comment Generation via Multi-Pass Deliberation
Mu, F., Chen, X., Shi, L., Wang, S., & Wang, Q. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3556917 · Cited by 20
“The basic idea of the template-based approach [40, 41, 50] is to extract the keywords from the code snippets and fill them into the predefined templates.”
MethodXCoS: Explainable Code Search Based on Query Scoping and Knowledge Graph
Wang, C., Peng, X., Xing, Z., Zhang, Y., Liu, M., Luo, R., & Meng, X. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3593800 · Cited by 21
CrowdSummarizer: Automated Generation of Code Summaries for Java Programs through Crowdsourcing
Badihi, S., & Heydarnoori, A. (2017) · IEEE Software · doi:10.1109/ms.2017.45 · Cited by 20
Natural language processing in mining unstructured data from software repositories: a review
Gupta, S., & Gupta, S. (2019) · Sadhana · doi:10.1007/s12046-019-1223-9 · Cited by 18
“Sridhara et al [1] tried to overcome the domain-dependency shortcomings of the work by Buse et al [60], by generating descriptive source code comments utilizing the signature and body of method.”
BackgroundMethodPseudogen: A Tool to Automatically Generate Pseudo-Code from Source Code
Fudaba, H., Oda, Y., Akabe, K., Neubig, G., Hata, H., Sakti, S., Toda, T., & Nakamura, S. (2015) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.107 · Cited by 23
Automating Comment Generation for Smart Contract from Bytecode
Xiang, J., Gao, Z., Bao, L., Hu, X., Chen, J., & Xia, X. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3699597 · Cited by 19
Towards Retrieval-Based Neural Code Summarization: A Meta-Learning Approach
Zhou, Z., Yu, H., Fan, G., Huang, Z., & Yang, K. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3238161 · Cited by 21
“Sridhara et al. [11] propose Software Word Usage Model (SWUM) to represent source codes and define templates to generate short summaries for Java methods.”
BackgroundQuality Assurance for Automated Commit Message Generation
Wang, B., Yan, M. L., Liu, Z., Xu, L., Xia, X., Zhang, X., & Yang, D. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00032 · Cited by 20
“Prior studies have proposed diverse automated document generation approaches for software artifacts other than commit messages, such as code comments [30]–[41], release notes [42], [43], pull request descriptions [44] and summary of bug report [45]–[48].”
BackgroundData Quality Matters: A Case Study of Obsolete Comment Detection
Xu, S., Yao, Y., Feng, X., Gu, T., Xu, J., & Ma, X. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00074 · Cited by 14
Studying Developer Reading Behavior on Stack Overflow during API Summarization Tasks
Saddler, J. A., Peterson, C. S., Sama, S., Nagaraj, S., Baysal, O., Guerrouj, L., & Sharif, B. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054848 · Cited by 14
“Previous research [1, 2] has suggested that code summarization — the task of writing short, natural language descriptions of source code — can help developers quickly understand the source code and its various elements such as its classes and methods.”
BackgroundGenerating summaries for methods of event-driven programs: An Android case study
Aghamohammadi, A., Izadi, M., & Heydarnoori, A. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110800 · Cited by 16
“[8], proposed an algorithm for automatic description of Java methods.”
BackgroundMethodPanichella, A. (2019) · Lecture notes in computer science · doi:10.1007/978-3-030-27455-9_2 · Cited by 15
“Textual information is often used support software engineers to semi-automated various tasks, such as traceability link retrieval [2], identify bug report duplicates [27], automated summary generator [34, 30], source code labeling [11], and bug localization [22].”
MethodOn The Effect Of Code Review On Code SmellsPreprint
Pascarella, L., Spadini, D., Palomba, F., & Bacchelli, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.10098 · Cited by 18
“Similarly, the recent advances on code documentation [81]–[83], showing and classifying the comments that help developers understanding source code, might be put in the context of code review to provide developers with further contextual information to locate technical debts.”
BackgroundTAXONOMY AND DESIGN CONSIDERATIONS FOR COMMENTS IN PROGRAMMING LANGUAGES: A QUALITY PERSPECTIVE
Abid, K., Ahmad, F. S., Shafiq, M., & Abid, A. (2014) · Cited by 13
Aiding comprehension of unit test cases and test suites with stereotype-based tagging
Li, B., Vendome, C., Linares‐Vásquez, M., & Poshyvanyk, D. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196339 · Cited by 16
“Then, giving the source code and manually written summaries, we asked another group of students and researchers to evaluate the summaries in terms of completeness, conciseness, and expressiveness [17, 40, 46, 58].”
BackgroundMethodLearning to Generate Comments for API-Based Code Snippets
Lu, Y., Zhao, Z., Li, G., & Jin, Z. G. (2019) · Communications in computer and information science · doi:10.1007/978-981-15-0310-8_1 · Cited by 13
HatCUP: hybrid analysis and attention based just-in-time comment updating
Zhu, H., He, X., & Xu, L. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527901 · Cited by 16
Towards Learning Generalizable Code Embeddings Using Task-agnostic Graph Convolutional Networks
Ding, Z., Li, H., Shang, W., & Chen, T.-H. P. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3542944 · Cited by 14
“Given a code snippet, which can be either a method or a class, the task is to automatically generate the corresponding code comments [29, 54, 58, 77] to assist in program understanding and maintenance.”
MethodImproving traceability link recovery methods through software artifact summarization
Aponte, J., & Marcus, A. (2011) · International Workshop on Traceability in Emerging Forms of Software Engineering (TEFSE) · doi:10.1145/1987856.1987867 · Cited by 13
“Supporting software comprehension tasks has been the primary use suggested for such summaries, which are based mostly on text retrieval, machine learning, and natural language processing techniques.”
MethodPost-literate Programming: Linking Discussion and Code in Software Development Teams
Park, S., Zhang, A. X., & Karger, D. R. (2018) · ACM Symposium on User Interface Software and Technology (UIST) · doi:10.1145/3266037.3266098 · Cited by 13
“Previous work suggests that documentation generation [12, 5, 2] and automatic commenting [11, 17] could be a way to share the design and structure of software implementations.”
BackgroundAutomatic Release Notes Generation
Ali, M., Aftab, A., & Butt, W. H. (2020) · IEEE International Conference on Software Engineering and Service Science (ICSESS) · doi:10.1109/icsess49938.2020.9237671 · Cited by 13
“We developed an approach similar to the one proposed by [22].”
BackgroundMethodEffective approaches to combining lexical and syntactical information for code summarization
Zhou, Z., Yu, H., & Fan, G. (2020) · Software Practice and Experience · doi:10.1002/spe.2893 · Cited by 14
Taking ASCII Drawings Seriously: How Programmers Diagram Code
Hayatpur, D., Hempel, B., Chen, K., Duan, W., Guo, P. J., & Xia, H. (2024) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3613904.3642683 · Cited by 15
“To address this, various computational approaches have been proposed, including techniques for detecting inconsistencies between code and comment ( e.g. , JavaDocs [62]) and techniques for generating comments directly from source code [36, 52, 58].”
Suboptimal Comments in Java Projects: From Independent Comment Changes to Commenting Practices
Wang, C., He, H., Pal, U., Marinov, D., & Zhou, M. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3546949 · Cited by 14
Doppio: Tracking UI Flows and Code Changes for App Development
Chi, P.-Y., Hu, S.-P., & Li, Y. (2018) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3173574.3174029 · Cited by 18
“Method behaviors can be summarized from source code [58], comments [39], and application context [49].”
BackgroundMethodEnhancing API Documentation through BERTopic Modeling and SummarizationPreprint
Naghshzan, A., & Ratté, S. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2308.09070 · Cited by 12
“Sridhara et al. [6] have employed Natural Language Processing (NLP) to extract critical information to summarize Java methods.”
BackgroundAdversarial training and ensemble learning for automatic code summarization
Zhou, Z., Yu, H., & Fan, G. (2021) · Neural Computing and Applications · doi:10.1007/s00521-021-05907-w · Cited by 11
“Sridhara et al. [1] utilize Software Word Usage Model (SWUM) to represent codes and generate short summaries for Java methods via rules.”
BackgroundMethodTransformer-XL With Graph Neural Network for Source Code Summarization
Zhang, X., Yang, S., Duan, L., Lang, Z., Shi, Z., & Sun, L. (2021) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc52423.2021.9658619 · Cited by 14
MMF3: Neural Code Summarization Based on Multi-Modal Fine-Grained Feature Fusion
Ma, Z., Gao, Y., Lyu, L., & Lyu, C. (2022) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1145/3544902.3546251 · Cited by 12
“After that, many researchers [9, 28, 30, 31, 34, 37, 38, 47] designed a set of heuristic rules or created some hand-crafted templates to generate code comments.”
Evaluating Transfer Learning for Simplifying GitHub READMEs
Gao, H., Treude, C., & Zahedi, M. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616291 · Cited by 16
“[42] used algorithms to generate comments for Java methods, while McBurney and McMillan [23] improved it by adding surrounding contexts.”
MethodGenerating Variable Explanations via Zero-shot Prompt Learning
Wang, C., Lou, Y., Liu, J., & Peng, X. (2023) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00130 · Cited by 16
“The dataset comprises 200 abbreviations sampled from identifiers in each project, which are manually expanded to their corresponding expansions.”
SCAN: An Approach to Label and Relate Execution Trace Segments
Medini, S., Antoniol, G., Guéhéneuc, Y., Penta, M. D., & Tonella, P. (2012) · Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2012.23 · Cited by 15
Developing a model of loop actions by mining loop characteristics from a large code corpus
Wang, X., Pollock, L., & Vijay‐Shanker, K. (2015) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2015.7332451 · Cited by 14
Self-citationAPIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentation
Shahbazi, R., & Fard, F. H. (2023) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc58990.2023.00012 · Cited by 10
Revisiting file context for source code summarization
Su, C., Bansal, A., & McMillan, C. (2024) · Automated Software Engineering · doi:10.1007/s10515-024-00460-x · Cited by 10
“The rationale behind RQ4 is to compare our approach against the best performing baseline, in terms of the most important qualities of a summary from related work Sridhara et al. (2010); Bansal et al. (2023a).”
Supporting Software Maintenance with Dynamically Generated Document Hierarchies
Dearstyne, K. R., Rodriguez, A. D., & Cleland‐Huang, J. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00046 · Cited by 12
“No-table works include Srihara et al.’s file-level code summariza-tions using natural language generators [49], and methods by Robillard, Burden, Moreno, among others, for creating concise method and class summaries [14], [50], [51], [52].”
Summarization of complex software artifacts
Moreno, L. (2014) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2591062.2591096 · Cited by 13
“As stated in the previous section, a few approaches have been proposed for summarizing different aspects of the source code, mostly at fine-grained levels (i.e., code fragments [3, 17, 22] and methods [2, 21]).”
BackgroundMethodInfluentialClass Level Code Summarization Based on Dependencies and Micro Patterns
Malhotra, M., & Chhabra, J. K. (2018) · International Conference Inventive Communication and Computational Technologies · doi:10.1109/icicct.2018.8473199 · Cited by 11
“In [5], the technique presented by the author totally depends on naming conventions which are used by developers.”
MethodDescribeCtx: context-aware description synthesis for sensitive behaviors in mobile apps
Yang, S., Wang, Y., Yao, Y., Wang, H., Ye, Y., & Xiao, X. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510058 · Cited by 10
“Earlier code comment generation work adopts template-based or heuristic-based techniques to generate comments for source code [31, 62].”
BackgroundMethodOn the Analysis of Human and Automatic Summaries of Source Code
Moreno, L., & Aponte, J. (2012) · CLEI electronic journal · doi:10.19153/cleiej.15.2.6 · Cited by 13
“For example, [15] presents an approach to summarize methods by identifying and lexicalizing the most relevant units.”
MethodMethod Verb Recommendation Using Association Rule Mining in a Set of Existing Projects
Kashiwabara, Y., Ishio, T., Hata, H., & Inoue, K. (2015) · IEICE Transactions on Information and Systems · doi:10.1587/transinf.2014edp7276 · Cited by 10
Neural Comment Generation for Source Code with Auxiliary Code Classification Task
Chen, M., & Wan, X. (2019) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec48747.2019.00076 · Cited by 11
How to Explain a Patch: An Empirical Study of Patch Explanations in Open Source Projects
Liang, J., Hou, Y., Zhou, S., Chen, J., Xiong, Y., & Huang, G. (2019) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2019.00016 · Cited by 12
“Besides, Sridhara et al. leveraged the program analysis and natural language analysis to automatically generate descriptive summary comments for Java methods [41], Java classes [34], and parameter comments [42].”
MethodRe_Trans: Combined Retrieval and Transformer Model for Source Code Summarization
Zhang, C., Zhou, Q., Qiao, M., Tang, K., Xu, L., & Liu, F. (2022) · Entropy · doi:10.3390/e24101372 · Cited by 11
“The manual template methods usually extract keywords from source code to generate SCS [4,14,15].”
MethodSCAN: an approach to label and relate execution trace segments
Medini, S., Arnaoudova, V., Penta, M. D., Antoniol, G., Guéhéneuc, Y., & Tonella, P. (2014) · Journal of Software Evolution and Process · doi:10.1002/smr.1695 · Cited by 12
Method Level Text Summarization for Java Code Using Nano-Patterns
Rai, S., Gaikwad, T., Jain, S., & Gupta, A. K. (2017) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec.2017.26 · Cited by 10
“Unlike the rule-based approaches [7], [11] and [12], there have been a few efforts which target code summarization based on machine learning techniques [17], [18], [19], [20].”
BackgroundMethodResultInfluentialDesign and Use of Computational Notebooks
Rule, A. (2018) · eScholarship (California Digital Library) · Cited by 32
An empirical study on the effectiveness of large language models for binary code understanding
Shang, X., Fu, Z., Cheng, S., Chen, G., Li, G., Hu, L. H., Zhang, W., & Yu, N. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10748-5 · Cited by 10
“Besides, the function name is only part of the semantic completion and is not enough to represent the complete behavioral logic of the code (Sridhara et al. 2010).”
ClassSum: a deep learning model for class-level code summarization
Li, M., Yu, H., Fan, G., Zhou, Z., & Huang, J. (2022) · Neural Computing and Applications · doi:10.1007/s00521-022-07877-z · Cited by 12
“Sridhara et al. [45–47] propose an approach to select import parts of Java methods called S_unit.”
MethodShi, E., Wang, Y., Du, L., Zhang, H., Han, S., Zhang, D., & Sun, H. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10378-9 · Cited by 13
“In the early stage of automatic source code summarization, rule-based approaches and information retrieval (IR) techniques and are widely used (Sridhara et al. 2010; Haiduc et al. 2010; Eddy et al. 2013; Rodeghero et al. 2014).”
MethodYet another combination of IR- and neural-based comment generation
Huang, Y., Wei, M., Wang, S., Wang, J., & Wang, Q. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.107001 · Cited by 9
Enhancing code summarization with action word prediction
Li, M., Yu, H., Fan, G., Zhou, Z., & Huang, Z. (2023) · Neurocomputing · doi:10.1016/j.neucom.2023.126777 · Cited by 9
Clonepedia: Summarizing Code Clones by Common Syntactic Context for Software Maintenance
Lin, Y., Xing, Z., Peng, X., Liu, Y., Sun, J., Zhao, W., & Dong, J. S. (2014) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2014.56 · Cited by 11
“Sridhara et al [26][27] proposed to summarize high-level action of a Java method by investigating its signature and method body.”
MethodStudying developer gaze to empower software engineering research and practice
Sharif, B., Clark, B., & Maletic, J. I. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2983988 · Cited by 11
“Researchers can compare these techniques with Natural Language Processing (NLP) [8] and Information Retrieval (IR) [9, 10] techniques.”
BackgroundGenerating comments from source code with CCGs
Matskevich, S., & Gordon, C. S. (2018) · doi:10.1145/3283812.3283822 · Cited by 9
Toward Automatic Summarization of Arbitrary Java Statements for Novice Programmers
Hassan, M. R., & Hill, E. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00063 · Cited by 9
Self-citationSupporting software documentation with source code summarization
Al-Msie’deen, R., & Blasi, A. H. (2019) · International Journal of ADVANCED AND APPLIED SCIENCES · doi:10.21833/ijaas.2019.01.008 · Cited by 11
“Sridhara et al. (2010) presented a new method to automatically produce descriptive summary comments for software methods.”
MethodInfluentialAutomatically Extracting Subroutine Summary Descriptions from Unstructured Comments
Eberhart, Z., LeClair, A., & McMillan, C. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054789 · Cited by 10
“…of work in Natural Language Processing of extractive summarization of documents – early attempts at code summarization involved choosing a set of n important words from code [18], [19] and then converting those words into complete sentences by placing them into sentence templates [2], [20]–[22].”
BackgroundLiterary Natural Language Generation with Psychological Traits
Moreno-Jiménez, L.-G., Torres‐Moreno, J., & Wedemann, R. S. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-51310-8_18 · Cited by 9
“Shridaha et al. [20] present an algorithm to automatically generate descriptive summary comments for Java methods.”
BackgroundMethodPrioritizing code documentation effort: Can we do it simpler but better?
Liu, S., Guo, Z., Li, Y., Lu, H., Chen, L., Xu, L., Zhou, Y., & Xu, B. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106686 · Cited by 10
Metadata
- Authors
- Sridhara, G., Hill, E., Muppaneni, D., Pollock, L., & Vijay-Shanker, K.
- Affiliations
- University of Delaware (US)
- University of Delaware, Newark, DE, USA
- Venue
- Proceedings of the IEEE/ACM international conference on Automated software engineering
- Publisher
- ACM
- Published
- 2010-09-20
- Pages
- 43-52
- OpenAlex
- W2082160726
- Cited by
- 514
- References
- 32
- Citations by year
- 2026: 9 · 2025: 29 · 2024: 31 · 2023: 52 · 2022: 46 · 2021: 41 · 2020: 56 · 2019: 50 · 2018: 41 · 2017: 34 · 2016: 23 · 2015: 30 · 2014: 26 · 2013: 16 · 2012: 16
- FWCI
- 10.33
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- IEEE/ACM International Conference on Automated Software Engineering (ASE) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Software › Advanced Software Engineering Methodologies
- Keywords
- Java methods, program comprehension, software maintenance, natural language generation, source code documentation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.