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 301–400 of 525
Towards aiding within-patch information foraging by end-user programmers
Athreya, B., & Scaffidi, C. (2014) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vlhcc.2014.6883015 · Cited by 10
“In other words, datafacilitating s_units are implicated as potentially important because they are related by data flow to other statements, above, that are potentially important [25].”
BackgroundMethodInfluentialAPI Usage in Descriptions of Source Code Functionality
Rodeghero, P., McMillan, C., & Shirey, A. (2017) · doi:10.1109/wapi.2017.3 · Cited by 9
“[15] developed a summary comment generator that puts components of important code into naturallanguage templates.”
BackgroundLanguage Modelling for Source Code with Transformer-XLPreprint
Dowdell, T., & Zhang, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2007.15813 · Cited by 9
“titive, statistical regularities, which are also termed as "naturalness" of source code [17][4][5][6][32]. The naturalness hypothesis has been confirmed by empirical evidence [8][10][15][19][27]. Researchers have also applied natural language processing techniques, such as Language Modeling,tomodelthenatural…”
Can Developers Prompt? A Controlled Experiment for Code Documentation Generation
Kruse, H.-A., Puhlfürß, T., & Maalej, W. (2024) · 2024 IEEE International Conference on Software Maintenance and Evolution (ICSME) · doi:10.1109/icsme58944.2024.00058 · Cited by 8
Test Script Intention Generation for Mobile Application via GUI Image and Code Understanding
Yu, S., Fang, C., Liu, J., & Chen, Z. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3722105 · Cited by 10
CodeLabeller: A Web-Based Code Annotation Tool for Java Design Patterns and Summaries
Chen, N., Chen, N., Zheng, Y., & Chong, C. Y. (2023) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194023500213 · Cited by 8
Completing Function Documentation Comments Using Structural Information
Ciurumelea, A., Alexandru, C. V., Gall, H. C., & Proksch, S. (2023) · Empirical Software Engineering · doi:10.1007/s10664-022-10284-6 · Cited by 8
“Another paper (Sridhara et al. 2010) presents an approach to produce descriptive summary comments for Java methods using a set of heuristics to select important statements from a method body and then templates to generate corresponding natural language summaries.”
MethodEnCoSum: enhanced semantic features for multi-scale multi-modal source code summarization
Gao, Y., Zhang, H., & Lyu, C. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10384-x · Cited by 10
“For example, Sridhara et al. (2010) used an approach to create manual templates and leveraged the Software Word Syntax Model (SWUM) to generate comments for Java methods.”
MethodGeneración automática de frases literarias
Moreno-Jiménez, L.-G., Torres‐Moreno, J., Wedemann, R. S., & SanJuan, É. (2020) · Linguamática · doi:10.21814/lm.12.1.308 · Cited by 8
Context-Aware Software Documentation
Aghajani, E. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00090 · Cited by 11
“with different levels of granularity and are designed to summarize different types of documents: methods [9], [12]–[14], method usages [11], [15], classes [10], [16], [17], cross-cutting concerns in code [18], or other software artifacts [19]–[25].”
Code Comment Analysis–A Review Paper
Hassan, S. Z., Irshad, A., Mir, J., Aslam, A., Ayaz, K., & Bawazir, M. A. (2022) · Journal of Management Practices Humanities and Social Sciences · doi:10.33152/jmphss-6.1.9 · Cited by 7
Bappon, S. D., Mondal, S., & Roy, B. (2024) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam63643.2024.00013 · Cited by 14
“Sridhara et al. [64] applied the Software Word Usage Model (SWUM) and heuristic-based techniques to select keywords from code.”
MethodConcern-driven Reporting of Software Performance Analysis Results
Okanović, D., van Hoorn, A., Zorn, C., Beck, F., Ferme, V., & Walter, J. (2019) · ACM/SPEC International Conference on Performance Engineering (ICPE) · doi:10.1145/3302541.3313103 · Cited by 7
“code documentation [11, 12, 16], commit messages [5], or release notes [13].”
BackgroundAutomatic software summarization: the state of the art
Moreno, L., & Marcus, A. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3183440.3183464 · Cited by 8
“, [5, 10, 13]) when it provides a brief description of the main topic of the source without going into details; or informative (e.”
BackgroundInfluentialCLG-Trans: Contrastive learning for code summarization via graph attention-based transformer
Zeng, J., He, Y., Zhang, T., Zhou, X., & Han, Q. (2023) · Science of Computer Programming · doi:10.1016/j.scico.2023.102925 · Cited by 8
Zhang, L., Wade, J. W., Bian, D., Swanson, A. R., Warren, Z. E., & Sarkar, N. (2014) · Communications in computer and information science · doi:10.1007/978-3-319-07857-1_114 · Cited by 9
The Evaluation of an Approach for Automatic Generated Documentation
Abid, N. J., Dragan, N., Collard, M. L., & Maletic, J. I. (2017) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2017.76 · Cited by 7
“To evaluate the three different approaches [5, 6, 14], survey-based studies are performed.”
BackgroundMethodInfluentialSource Code Documentation Generation Using Program Execution
Sulír, M., & Porubän, J. (2017) · Information · doi:10.3390/info8040148 · Cited by 7
“Sridhara et al. [4,10] generate natural-language descriptions of methods.”
BackgroundSMARTKT: A Search Framework to Assist Program Comprehension using Smart Knowledge Transfer
Majumdar, S., Papdeja, S., Das, P. P., & Ghosh, S. K. (2019) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs.2019.00026 · Cited by 11
“Authors propose automatic comment generation or suggestion for C, C++ and Java programs in [60], [70].”
BackgroundSource Code Summarization Using Attention-Based Keyword Memory Networks
Choi, Y., Kim, S., & Lee, J.-H. (2020) · IEEE International Conference on Big Data and Smart Computing (BigComp) · doi:10.1109/bigcomp48618.2020.00011 · Cited by 7
MiSum: Multi-modality Heterogeneous Code Graph Learning for Multi-intent Binary Code Summarization
Zhu, K., Tian, Z., Wang, S., Chen, W., Dong, Z., Leng, M., & Mao, X. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3715780 · Cited by 9
“It treats decompiled code as a specialized programming language, using fine-tuned CodeT5 [Wang et al. 2021] to capture its semantics and generate summaries.”
Evaluating Code Summarization with Improved Correlation with Human Assessment
Shen, J., Zhou, Y., Wang, Y., Chen, X., Han, T., & Chen, T. (2021) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs54544.2021.00108 · Cited by 8
GA-SCS: Graph-Augmented Source Code Summarization
Zhang, M., Zhou, G., Yu, W., Huang, N., & Liu, W. (2023) · ACM Transactions on Asian and Low-Resource Language Information Processing · doi:10.1145/3554820 · Cited by 8
“However, manually writing text descriptions of the code snippets is a tedious and time-consuming task [27, 35].”
BackgroundStructural-semantics Guided Program Simplification for Understanding Neural Code Intelligence Models
Shi, C., Zhu, T., Zhang, T., Pang, J., & Pan, M. (2023) · Asia-Pacific Symposium on Internetware · doi:10.1145/3609437.3609438 · Cited by 6
Lei, G., Zhang, D., Xiao, J., Fan, G., Cao, Y., & Feng, Z. (2024) · Applied Soft Computing · doi:10.1016/j.asoc.2024.112238 · Cited by 7
MGF-ESE: An Enhanced Semantic Extractor with Multi-Granularity Feature Fusion for Code Summarization
Xu, X., Cao, Y., Hu, H., Xiang, H., Qi, L., Xiong, J., & Dou, W. (2025) · International World Wide Web Conference (WWW) · doi:10.1145/3696410.3714544 · Cited by 8
Using Runtime Traces to Improve Documentation and Unit Test Authoring for Dynamic Languages
Krämer, J.-P., Brandt, J., & Borchers, J. (2016) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/2858036.2858311 · Cited by 6
“, important function calls in a part of the source code [28], the effect of a change [7], or possible exceptions thrown by a function [6].”
BackgroundSummarizing Services of Java Packages
Hammad, M. M., Abuljadayel, A., & Khalaf, M. (2016) · Lecture Notes on Software Engineering · doi:10.7763/lnse.2016.v4.237 · Cited by 7
A Survey of Automatic Generation of Code Comments
Zhao, F., Junqi, Z., & Bai, Y. (2020) · International Conference on Management Engineering, Software Engineering and Service Sciences (ICMSS) · doi:10.1145/3380625.3380649 · Cited by 7
“In 2010, Sridhara et al. [20] proposed a novel method for generating comments for Java methods.”
MethodCode2Text: Dual Attention Syntax Annotation Networks for Structure-Aware Code Translation
Xiong, Y., Xu, S., Rong, K., Liu, X., Kong, X., Li, S., Yu, P. S., & Zhu, Y. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-59419-0_6 · Cited by 5
“[14,15] focused on automatic comment generation for Java programming language.”
BackgroundA Survey on Research of Code Comment Auto Generation
Zhao, L., Zhang, L., & Yan, S. (2019) · Journal of Physics Conference Series · doi:10.1088/1742-6596/1345/3/032010 · Cited by 7
Generation of Pseudo Code from the Python Source Code using Rule-Based Machine TranslationPreprint
Rai, S., & Gupta, A. K. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.06117 · Cited by 6
“Sridhara proposed Rule-based approach for method level summaries generation of Java methods [2].”
MethodTowards Code Summarization of APIs Based on Unofficial Documentation Using NLP TechniquesPreprint
Naghshzan, A. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2208.06318 · Cited by 6
“[8] have used Natural Language Processing to extract information to summarize Java methods.”
MethodSemantic Similarity Loss for Neural Source CodeSummarizationPreprint
Su, C., & McMillan, C. (2023) · Research Square · doi:10.21203/rs.3.rs-3240092/v1 · Cited by 6
Liang, H.-M., & Huang, C. (2024) · IEEE Access · doi:10.1109/access.2024.3354390 · Cited by 6
“Sridhara et al. [6] introduced the Software Word Usage Model (SWUM), which automates the extraction of the key-words with their linguistic and structural relationships in source code.”
BackgroundMethodVision Paper: Proof-Carrying Code Completions
Kamran, P. S., Dévanbu, P., & Stanford, C. (2024) · IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW) · doi:10.1145/3691621.3694932 · Cited by 8
“This naturalness of software [31] can be exploited for various tasks [4], such as code completion [13, 29, 34, 55], variable naming [12, 32, 33, 42], type annotation [2, 37, 38], code summarization [1, 3, 14, 60, 61], etc .”
Improving Retrieval-Augmented Code Comment Generation by Retrieving for Generation
Lu, H., & Liu, Z. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00040 · Cited by 14
A fine-grained approach for automated conversion of JUnit assertions to English
Gonzalez, D., Prentice, S., & Mirakhorli, M. (2018) · doi:10.1145/3283812.3283819 · Cited by 5
“Many existing works have shown the feasibility and benefits of this approach by summarizing Java methods and classes [3, 7, 8, 10, 11].”
BackgroundCOSPEX: A Program Comprehension Tool for Novice Programmers
Gupta, N., Rajput, A., & Chimalakonda, S. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion55297.2022.9793787 · Cited by 6
Is neural machine translation approach accurate enough for coding assistance?
Akinobu, Y., Obara, M., Kajiura, T., Takano, S., Tamura, M., Tomioka, M., & Kuramitsu, K. (2021) · doi:10.1145/3486949.3486966 · Cited by 6
“While RBMT has the advantage of high accuracy of the output[15], it lacks versatility due to the cost of defining the rules.”
BackgroundPassSum: Leveraging paths of abstract syntax trees and self‐supervision for code summarization
Niu, C., Li, C., Ng, V., Ge, J., Huang, L., & Luo, B. (2023) · Journal of Software Evolution and Process · doi:10.1002/smr.2620 · Cited by 5
Towards Improving the Performance of Comment Generation Models by Using Bytecode Information
Huang, Y., Huang, J., Chen, X., & Zheng, Z. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3523713 · Cited by 5
Automatically Generating Natural Language Documentation for Methods
Newman, C. D., Dragan, N., Collard, M. L., Maletic, J. I., Decker, M. J., Guarnera, H. M., & Abid, N. J. (2018) · doi:10.1109/dysdoc3.2018.00007 · Cited by 5
“There are many techniques that automatically generate summaries/documentation directly from source code [1][2][3][4][5][6][7][8].”
MethodSoCeR: A New Source Code Recommendation Technique for Code Reuse
Islam, M. M., & Iqbal, R. (2020) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac48688.2020.00-34 · Cited by 10
“Similarly, the proposed method in [19] generates summary comments for Java functions which relies on the code statements and descriptive comments.”
MethodEffect of Identifier Tokenization on Automatic Source Code Documentation
Rai, S., Belwal, R. C., & Gupta, A. K. (2021) · Arabian Journal for Science and Engineering · doi:10.1007/s13369-021-06149-7 · Cited by 5
“Sridhara et al. [7] analyzed multiple Java projects and manually generated the summary templates.”
MethodTowards semantically enhanced detection of emerging quality-related concerns in source code
Krasniqi, R., & Do, H. (2023) · Software Quality Journal · doi:10.1007/s11219-023-09614-8 · Cited by 5
“Then, they are randomly selected as final subjects from the strata Taherdoost (2016), Etikan and Bala (2017).”
MethodIdentifying related commits from software repositories
Hammad, M. (2015) · International Journal of Computer Applications in Technology · doi:10.1504/ijcat.2015.069335 · Cited by 5
Mining Question and Answer Sites for Automatic Comment Generation
Wong, E. (2014) · UWSpace (University of Waterloo) · Cited by 7
Comment Generation for Source Code: State of the Art, Challenges and OpportunitiesPreprint
Wang, X., & Zhang, B. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1802.02971 · Cited by 5
“[37], the same authors also presented a technique to generate comments for parameters and integrated those descriptions with method summaries [41].”
BackgroundMethodThe Effect of Comments on Program Comprehension: An Eye-tracking Study
Abdelsalam, Y., Peitek, N., Bergum, A., & Apel, S. (2026) · Empirical Software Engineering · doi:10.1007/s10664-025-10721-2 · Cited by 7
A uniqueness-based approach to provide descriptive JUnit test names
Wu, J., & Clause, J. (2023) · Journal of Systems and Software · doi:10.1016/j.jss.2023.111821 · Cited by 4
Analyzing the Impact of Code Commenting on Software Quality
Perera, D. T. W. S., Premathilake, H. T. M., Thathsarani, K. P. H., Nethmini, R. H. T., Silva, D. I. D., & Samarasekara, H. M. P. P. K. H. (2023) · International Conference on Computing, Communication and Networking Technologies (ICCCNT) · doi:10.1109/icccnt56998.2023.10307948 · Cited by 7
“Present a new Java method comment generation mechanism [25].”
MethodChapagain, J., Sajib, M. I., Prodan, R., & Rus, V. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-72315-5_5 · Cited by 8
Zhao, J., Song, Y., & Cohen, E. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112493 · Cited by 6
Label Smoothing Improves Neural Source Code Summarization
Haque, S., Bansal, A., & McMillan, C. (2023) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc58990.2023.00025 · Cited by 7
“The backbone of much software documentation is the “source code summary” [1], [2], [3].”
BackgroundZhang, Y., Zheng, W., & Li, M. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33015845 · Cited by 5
“We regard the best answers of duplicated questions as similar answers, thus the code snippets extracted from such answer pairs are considered as cloned code, which belongs to Type-4 clone according to (Sridhara et al. 2010).”
BackgroundFrick, V. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377812.3381400 · Cited by 4
“Sridhara et al. propose an approach to automatically summarize Java methods [23].”
MethodImproving Code Summarization Through Automated Quality Assurance
Hu, Y., Yan, M. L., Liu, Z., Chen, Q., & Wang, B. (2021) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre52982.2021.00057 · Cited by 5
“Srid-hara et al. [25], [26] propose a Software Word Usage Model (SWUM) approach that selects statements from java methods.”
BackgroundRetrieve-Guided Commit Message Generation with Semantic Similarity And Disparity
Li, Z., Cheng, Y., Yang, H., Kuang, L., & Zhang, L. (2022) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec57359.2022.00048 · Cited by 4
“Sridhara et al. [23] capture the function and variable names to summarize the Java method.”
MethodFinding errors from reverse-engineered equality models using a constraint solver
Rupakheti, C. R., & Hou, D. (2012) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2012.6405256 · Cited by 4
“applications, for example, to diagnose a novice’s program and provide feedback interactively [16], and to generate summary comments for methods [24].”
BackgroundAPI usage in descriptions of source code functionality
Rodeghero, P., McMillan, C., & Shirey, A. (2017) · doi:10.5555/3106028.3106032 · Cited by 4
Yuan, B., Murali, V., & Jermaine, C. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133882 · Cited by 4
“…comprehend programs is to automatically generate a natural language summary for the source code [Abid et al. 2015; Eddy et al. 2013; Haiduc et al. 2010a,b; Liu et al. 2014; McBurney et al. 2014; McBurney and McMillan 2014, 2016; Moreno 2014; Moreno et al. 2013; Sridhara et al. 2010, 2011a].”
BackgroundMethodImproving Automatic Source Code Summarization via Deep Reinforcement LearningPreprint
Wan, Y., Zhao, Z., Yang, M., Xu, G., Ying, H., Wu, J., & Yu, P. S. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1811.07234 · Cited by 6
“As far as we know, most of existing code summarization methods learn the semantic representation of source codes based on statistical language models [9], [4], and then generate comments based on templates or rules [10].”
BackgroundMethodInfluentialLearning to Generate Code Comments from Class HierarchiesPreprint
Zhang, J., Panthaplackel, S., Nie, P., Mooney, R. J., Li, J. J., & Gligoric, M. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.13426 · Cited by 6
“…comment generation study various comment types including class-level comments (Haiduc et al., 2010; Moreno et al., 2013) and method-level comments (Sridhara et al., 2010; Iyer et al., 2016; Liang and Zhu, 2018; Hu et al., 2019; LeClair et al., 2020; Fernandes et al., 2019; Liu et al., 2020b).”
BackgroundRefining Traceability Links between Code and Software Documents
Cao, Y., Zou, Y., Luo, Y., Xie, B., & Zhao, J. (2017) · Asia-Pacific Symposium on Internetware · doi:10.1145/3131704.3131716 · Cited by 3
“…B as well as links between B and C; [34] proposed a semi-supervised machine learning approach to extract API mentions from informal social text; [28] generated descriptive summary comments for Java methods; [4, 5, 8, 14, 18, 21, 25, 37] analyzed the project source code and applied its abstract…”
MethodBackdoors in Code Summarizers: How Bad Is It?
Wang, C., Yang, Z., Harel, Y., & Lo, D. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00102 · Cited by 3
“Early work on automated code summarization dates to 2010 [60], [61], relying on rule-based techniques such as information retrieval; while conceptually appealing, these approaches deliver limited performance.”
Grishechko, E. G. (2026) · Training Language and Culture · doi:10.22363/2521-442x-2026-10-1-54-71 · Cited by 3
Parameter Description Generation with the Code Parameter Flow
Chen, Q., Yang, Z., Liu, Z., Li, S., & Gao, C. (2022) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs57517.2022.00093 · Cited by 4
“Early works of code summarization are mainly rule-based and retrieval-based [29], [30], [31].”
BackgroundMethodICG: A Machine Learning Benchmark Dataset and Baselines for Inline Code Comments Generation Task
Zhang, X., Chen, L., Zou, W., Cao, Y., Ren, H., Wang, Z., Li, Y., & Zhou, Y. (2023) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194023500547 · Cited by 3
ComCat : Expertise-Guided Context Generation to Enhance Code Comprehension
Grandel, S., Andersen, S. T., Huang, Y., & Leach, K. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3742475 · Cited by 3
“Automated code documentation generation, or code summarization, has seen several advancements in recent years with the goal of supplanting or supplementing manual documentation [1, 3, 6, 9, 16, 17, 21, 27, 32, 33, 36, 37, 40, 42, 46, 48, 51, 56, 57, 61, 62, 65, 74, 76, 78, 79].”
InfluentialTranslating Platform-independent Code into Natural Language Texts
Burden, H., & Heldal, R. (2013) · International Conference on Model-Driven Engineering and Software Development · doi:10.5220/0004312102810290 · Cited by 3
“(Sridhara et al., 2010; Sridhara et al., 2011) have also investigated natural language generation from Java code.”
BackgroundInfluentialSummarization of Software Artifacts : A Review
Gupta, S., & Gupta, S. K. (2017) · International Journal of Computer Science and Information Technology · doi:10.5121/ijcsit.2017.9512 · Cited by 5
Behavior-Informed Algorithms for Automatic Documentation Generation
Rodeghero, P. (2017) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2017.73 · Cited by 3
“[13], [43], Haiduc et al.”
Lexical Similarity Between Argument and Parameter Names: An Empirical Study
Li, G., Liu, H., Liu, Q., & Wu, Y. (2018) · IEEE Access · doi:10.1109/access.2018.2875125 · Cited by 3
“They take Java method as input, generate a summary for the method using the summary comment generator [33], analyze the main role of each parameter in the method based on the syntax, semantic, and linguistic information embedded in the identifiers, and generate descriptive comments based on advanced text generation te…”
MethodLearning Programming Languages as Shortcuts to Natural Language Token Replacements
Barmpoutis, A. (2018) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3279720.3279721 · Cited by 3
“For the latter application, summary comments can be generated to outline the structure of a program, such as the list of the defined methods or functions and their corresponding input and output [10, 16, 27, 38].”
BackgroundZarras, A. V., Georgios, M., Papamichail, A., Kollias, P., & Vassiliadis, P. (2018) · European Conference on Pattern Languages of Programs · doi:10.1145/3282308.3282333 · Cited by 3
“The state of the art further comprises interesting tools and techniques that allow the developers to deal with naming (e.g., [2, 12]), documentation (e.g., [22]), design and implementation issues [9, 16].”
BackgroundNatural Language Processing Techniques for Code Generation
Sellik, H. (2019) · Research Repository (Delft University of Technology) · Cited by 4
Exploring User Experience of Automatic Documentation Tools
Wu, S., Zhou, Y., & Wang, X. (2021) · CHI Conference Extended Abstracts on Human Factors in Computing Systems (CHI EA) · doi:10.1145/3411763.3451606 · Cited by 5
“[42] performance of algorithms generated summaries’ similarity to the references [17] performance of algorithms generated summaries’ similarity to the references [8] potential of proposed tool aggregating ability, developers’ efciency improvement [21] quality of generated documents completeness, conciseness,understand…”
BackgroundAutomated Identification of Uniqueness in JUnit Tests
Wu, J., & Clause, J. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3533313 · Cited by 3
“A group of researchers tried to automatically generate comments, summarization, and perform software analysis [16, 33, 44, 58].”
BackgroundMethodEvaluating Code Comment Generation With Summarized API Docs
Matmti, B., & Fard, F. H. (2023) · IEEE/ACM International Workshop on Natural Language-Based Software Engineering (NLBSE) · doi:10.1109/nlbse59153.2023.00019 · Cited by 3
“To address this need, research suggests using automatic code comments generation tools and techniques [3]–[7].”
MethodContext‐based transfer learning for low resource code summarization
Guo, Y., Chai, Y., Zhang, L., Li, H., Luo, M., & Guo, S. (2023) · Software Practice and Experience · doi:10.1002/spe.3288 · Cited by 3
“Early studies efforts primarily focused on rule-based approaches, 8,18–20 which generate comments by analyzing the structure of the source code, variable and function naming information, and other relevant details.”
BackgroundMethodAn alternative to code comment generation? Generating comment from bytecode
Chen, X., Chen, J., Lian, Z., Huang, Y., Zhou, X., Wu, Y., & Zheng, Z. (2024) · Information and Software Technology · doi:10.1016/j.infsof.2024.107623 · Cited by 3
Automatic Generation of Security-Centric Descriptions for Android Apps
Zhang, M., & Yin, H. (2016) · SpringerBriefs in computer science · doi:10.1007/978-3-319-47812-8_6 · Cited by 3
PARSING JAVA METHOD NAMES FOR IMPROVED SOFTWARE ANALYSIS
Malik, S. (2011) · Cited by 3
Automatically Documenting Software Artifacts
Li, B. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.56 · Cited by 3
“In general, participants indicated that descriptions generated by our tools are complete, concise, and easy to read.”
BackgroundUnderstanding Code Fragments with Issue Reports
Li, Z., & Zhong, H. (2021) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678864 · Cited by 3
“Taking the programming experience of researchers as their inputs, template-based approaches define various templates to generate comments for methods [16], classes [14], thrown exceptions [4] and test files [22].”
MethodDG-Trans: Automatic Code Summarization via Dynamic Graph Attention-based Transformer
Zeng, J., Zhang, T., & Zhou, X. (2021) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs54544.2021.00088 · Cited by 4
Source code analysis extractive approach to generate textual summary
Dawood, K. A., Sharif, K. Y., & Koh, T. W. (2017) · Universiti Putra Malaysia Institutional Repository (Universiti Putra Malaysia) · Cited by 4
DeepPseudo: Deep Pseudo-code Generation via Transformer and Code Feature Extraction.Preprint
Yang, G., Chen, X., Liu, K., & Yu, C. (2021) · arXiv (Cornell University) · Cited by 3
Tab: template-aware bug report title generation via two-phase fine-tuned models
Liu, X., Xu, Y., Sun, W., Huang, N., Sun, S., Li, Q., Yang, D., & Yan, M. L. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00505-9 · Cited by 3
Commit Messages Generation Based on Core Changes
Huang, Y., Tang, Z., Chen, X., Yang, C., Zheng, Z., & Zhou, X. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3750039 · Cited by 5
“For the learning-based methods, Sridhara et al. [54] designed a Natural Language Generation (NLG) system to create a summary of Java methods.”
Data-Driven Decisions and Actions in Today’s Software Development
Gall, H. C., Alexandru, C. V., Ciurumelea, A., Grano, G., Laaber, C., Panichella, S., Proksch, S., Schermann, G., Vassallo, C., & Zhao, J. (2018) · Springer eBooks · doi:10.1007/978-3-319-73897-0_9 · Cited by 2
“On top of such previous work, other researchers used a similar strategy to summarize other kinds of software artifacts at different levels of abstraction: parameters [118], groups of statements [117], Java methods [56, 75, 116], Java classes [81], and services of Java packages [57].”
BackgroundAutomated Java exceptions explanation using natural language generation techniques
Assiri, F. Y., & Elazhary, H. (2020) · Computer Applications in Engineering Education · doi:10.1002/cae.22232 · Cited by 2
“Sridhara et al. [30] relied on processing the signature and body of a given Java method to generate an NL summary of the method's overall actions.”
MethodAutomatic Generation of Code Comments Based on Comment Reuse and Program Parsing
Bai, Y., Zhang, L., & Yan, S. (2019) · International Conference on Safety Produce Informatization (IICSPI) · doi:10.1109/iicspi48186.2019.9095968 · Cited by 2
“Sridhara et al. proposed a method for generating comments for Java methods [7], which gives a method name and method body, and describes the function of the method while automatically generating comments.”
MethodAn Empirical Investigation into the Effects of Code Comments on Issue Resolution
Song, Q., Kong, X., Wang, L., & Li, B. (2020) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac48688.2020.0-150 · Cited by 4
Suggesting method names based on graph neural network with salient information modelling
Kuang, L., Ge, F., & Zhang, L. (2022) · Expert Systems · doi:10.1111/exsy.13030 · Cited by 2
“Many heuristic or template-based approaches have been proposed to automatically generate extractive code summaries (Haiduc, Aponte, & Marcus, 2010; Haiduc, Aponte, Moreno, & Marcus, 2010; Sridhara et al., 2010).”
MethodAutomatic Generation of Comments Based on Code Structure Enhancements
Ren, X., Shuai, Y., Zang, S., Cheng, H., Liu, H., & Wu, J. (2022) · IEEE International Conference on Big Data and Artificial Intelligence (BDAI) · doi:10.1109/bdai56143.2022.9862730 · Cited by 2
Code2tree: A Method for Automatically Generating Code Comments
Wen, W., Chu, J., Zhao, T., Zhang, R., Zhi, B., & Shen, C. (2022) · Scientific Programming · doi:10.1155/2022/6350686 · Cited by 3
“Good code comments can help developers and maintainers understand the program more accurately and faster, so as to save a lot of reading time [2].”
BackgroundCode Summarization Through Learning Linearized AST Paths with Transformer
Tian, Z., Zhang, C., & Tian, B. (2023) · Lecture notes on data engineering and communications technologies · doi:10.1007/978-3-031-20738-9_7 · Cited by 2
Allen, J., & Kelleher, C. L. (2023) · Journal of Computer Languages · doi:10.1016/j.cola.2023.101201 · Cited by 3
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.