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 401–500 of 525
Automatic Code Annotation Generation Based on Heterogeneous Graph Structure
Jiang, Z., Xiong, H., Ma, Y., Zhang, Y., Ding, Y., Xiong, Y., & Li, S. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00053 · Cited by 4
“Sridhara et al. [1] used the software word usage model [45] to analyze and generate code annotations by filling in the predefined templates with the focus keywords.”
MethodAn Intra-Class Relation Guided Approach for Code Comment Generation
Wang, Z., Yu, X., Feng, Y., & Zhao, D. (2023) · Findings of the Association for Computational Linguistics: EACL · doi:10.18653/v1/2023.findings-eacl.97 · Cited by 4
“Early efforts on code comment generation are template-based or information retrieval (IR) based approaches (Sridhara et al., 2010; Haiduc et al., 2010a,b; Eddy et al., 2013; Rodeghero et al., 2014; McBurney and McMillan, 2014).”
BackgroundLenANet: A Length-Controllable Attention Network for Source Code Summarization
Chen, P., Wu, S., Chen, Z., Zhang, J., Zhang, X., & Feng, Z. (2023) · Communications in computer and information science · doi:10.1007/978-981-99-8145-8_43 · Cited by 2
VarGAN: Adversarial Learning of Variable Semantic Representations
Lin, Y., Wan, C., Bai, S., & Gu, X. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3391730 · Cited by 2
“A task to generate a natural language sum-mary for a given code snippet [40].”
BackgroundSemantic similarity loss for neural source code summarization
Su, C., & McMillan, C. (2024) · Journal of Software Evolution and Process · doi:10.1002/smr.2706 · Cited by 7
“These quality attributes have a very long history in evaluating code comments 66,67,68 , so we use them as the basis for evaluating our approach.”
Icing on the Cake: Automatic Code Summarization at Ericsson
Sridhara, G., Roychowdhury, S., Soman, S., Ranjani, H. G., & Britto, R. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00073 · Cited by 4
“Our approach is further lightweight and only requires the method or function body.”
Self-citationExploiting Crowd Knowledge in the IDE
Ponzanelli, L. (2012) · Cited by 2
Automatic comment generation using only source code
Yildiz, E., & Ekin, E. (2017) · Signal Processing and Communications Applications Conference (SIU) · doi:10.1109/siu.2017.7960702 · Cited by 3
“Bu problemi çözmek için önerilen çözümlerden birisi sadece kaynak kod kullanılarak otomatik bir şekilde metotlar için yorum oluşturmaktır [2].”
Toward Summary Extraction Method for Functional Topic
Li, W., Cao, Y., Zhao, J., Zou, Y., & Xie, B. (2017) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c.2017.13 · Cited by 2
Automatic Matching Release Notes and Source Code by Generating Summary for Software Change
Huang, Y., Liu, Z., Chen, X., & Luo, X. (2016) · International Conference on Digital Home (ICDH) · doi:10.1109/icdh.2016.031 · Cited by 2
“2) Change Purpose Description: For describing the purpose provided by the virtual class, we employ the method summary generation algorithm [9]2 to generate the behavior description of the methods contained in a virtual class.”
MethodA Code Summarization Approach for Object Oriented Programs
Mohsin, A. H., & Hammad, M. (2019) · International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT) · doi:10.1109/3ict.2019.8910273 · Cited by 3
“For instance, the work in [1] proposed a plug-in tool called gensumm that automatically generate comments to identify the code for the summary.”
Tarar, M. I. N., Ahmed, F., & Butt, W. H. (2020) · International Conference on Computer Science & Education (ICCSE) · doi:10.1109/iccse49874.2020.9201846 · Cited by 6
“Sridhar has proposed the natural language processing technique to generate comments for java method by using the internal structure of method and its statements [20].”
MethodOn Indirectly Dependent Documentation in the Context of Code Evolution: A Study
Sondhi, D., Gupta, A., Purandare, S., Rana, A., Kaushal, D., & Purandare, R. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse43902.2021.00134 · Cited by 2
Generación automática de frases literarias en españolPreprint
Moreno-Jiménez, L.-G., Torres‐Moreno, J., & Wedemann, R. S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2001.11381 · Cited by 2
“[29] presentan un algoritmo que genera automáticamente comentarios descriptivos para bloques de código (métodos) en Java.”
BackgroundA Topic Guided Pointer-Generator Model for Generating Natural Language Code SummariesPreprint
Wang, X. E., Peng, X., Sun, J., Zhao, Y., Chen, C., & Fan, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.01642 · Cited by 2
“Template-based approaches [6], [7], [8], [45] focus on mining or designing templates which are then used for code summarization.”
MethodSource Code Comments: Overlooked in the Realm of Code Clone DetectionPreprint
Kuttal, S. K., & Ghosh, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.14505 · Cited by 4
“The problem of mismatched, missing, and outdated comments has been well approached by the software research community [25], [67] by utilizing techniques such as manually crafted heuristics and stereotypes [52], information retrieval [87], [88], probabilistic models [59], [66], [86], [102],…”
MethodA Method for Automatic Code Comment Generation Based on Different Keyword Sequences
Wang, C., Su, H., Gao, H., & Zhang, L. (2023) · International Conference on Frontiers of Robotics and Software Engineering (FRSE) · doi:10.1109/frse58934.2023.00016 · Cited by 1
ESGen: Commit Message Generation Based on Edit Sequence of Code Change
Chen, X., Li, Y., Tang, Z., Huang, Y., Zhou, H., Tang, M., & Zheng, Z. (2024) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3643916.3644414 · Cited by 2
“[63]presentedatemplate-based approach for generating descriptive summary annotations for Java methods in 2010.”
MethodMohamed, S., Ismail, N., Amaya, K., Parvin, A., Oliver, M. D., & Parra, E. (2025) · ACM Symposium on Eye Tracking Research and Applications (ETRA) · doi:10.1145/3715669.3725868 · Cited by 3
“Code summarization tasks have emerged as an important area of interest given its essential role in software engineering and developer comprehension [Sridhara et al. 2010].”
AutoReqGen: A Pipeline Approach for Automated Requirements Generation from Source Code
Xu, R., Li, G., & Sheng, V. S. (2025) · Communications in computer and information science · doi:10.1007/978-981-95-0011-6_37 · Cited by 2
Automated Code Comments Generation Using Large Language Models: Empirical Evaluation of T5 and BART
Ghale, D. P., & Dabbagh, M. (2025) · IEEE Access · doi:10.1109/access.2025.3597601 · Cited by 5
“The constraints of manual commenting led to the development of early automated methods, which relied primarily on rule-based and heuristic approaches [24], [25].”
DPS: Design pattern summarisation using code features
Nazar, N., Sikka, S., & Treude, C. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10788-x · Cited by 1
“Sridhara et al. [44] used a Software Word Usage Model (SWUM) to create a rule-based model that generates natural language descriptions for Java methods.”
R$$^2$$ComSync: improving code-comment synchronization with in-context learning and reranking
Yang, Z., Lin, H., Yu, X., Keung, J., Liu, S., Chan, P. Y. P., Sun, Y., & Zhang, F. (2026) · Empirical Software Engineering · doi:10.1007/s10664-025-10800-4 · Cited by 2
“Code comments are descriptions in natural language that record code functionalities or implementations, which are crucial to program comprehension and maintenance (Keyes 2002 ; Pascarella et al. 2019 ; Sridhara et al. 2010).”
Opportunities for Agile Documentation Using Natural Language Generation
Burden, H., Heldal, R., & Ljunglöf, P. (2013) · Cited by 1
TOWARDS COMMENT GENERATION FOR MPI PROGRAMS
Manjunath, S. G. (2011) · Cited by 1
A Scholarship Approach to Model-Driven Engineering
Burden, H. (2014) · Chalmers Research (Chalmers University of Technology) · Cited by 2
Naturalness of Natural Language Artifacts in Software
Sridhara, G., Sinha, V. S., & Mani, S. (2015) · India Software Engineering Conference · doi:10.1145/2723742.2723758 · Cited by 1
“In our prior work, we summarized source code in the form of natural language comments [14,15,17,18].”
BackgroundSelf-citationSateanpattanakul, S. (2015) · Journal of Software · doi:10.17706/jsw.10.12.1336-1342 · Cited by 1
“It not only provides a summarization of the idea of the code [1].”
BackgroundREST API example generation using Javadoc
Rantanen, P. (2017) · Computer Science and Information Systems · doi:10.2298/csis161022009r · Cited by 1
“Another approach is to perform code analysis to decipher the logical structure of the source code automatically and use this information for example generation [24] or for the creation of method summaries [25][26][27].”
MethodCreating Important Statement Type Comments in Autocomment: Automatic Comment Generation Framework
Yildiz, E., & Ekin, E. (2018) · International Conference on Computer Science and Engineering (UBMK) · doi:10.1109/ubmk.2018.8566660 · Cited by 1
“On the other hand, method calls that return a value will probably be used in building an important action [6].”
MethodResultInfluentialToward human-like summaries generated from heterogeneous software artefacts
Alghamdi, M., Treude, C., & Wagner, M. (2019) · Genetic and Evolutionary Computation Conference Companion (GECCO Companion) · doi:10.1145/3319619.3326814 · Cited by 1
“These arte-facts include bug reports [9], code elements on Stack Overflow [10], classes [8], and methods [11].”
Transferring Java Comments Based on Program Static Analysis
Li, B., Li, F., Huang, X., He, X., & Xu, L. (2019) · Lecture notes in computer science · doi:10.1007/978-3-030-30952-7_64 · Cited by 1
Summarizing the Crowdsourced Testing
Liang, H., & He, T. (2019) · IEEE International Conference on Computer and Communications (ICCC) · doi:10.1109/iccc47050.2019.9064081 · Cited by 1
“Sridhara et al. developed novel heuristics to automatically summarize a Java method in the form of natural language comments [18].”
MethodVarSem: declarative expression and automated inference of variable usage semantics
Liu, Y., & Tilevich, E. (2020) · ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences (GPCE) · doi:10.1145/3425898.3426962 · Cited by 3
“Sridhara et al.’s algorithm generates documents for Java methods by selecting critical code statements and expressing them as natural language phrases [45].”
MethodUtilizing Keywords in Source Code to Improve Code Summarization
Liu, P., & Wang, X. (2020) · IEEE International Conference on Computer and Communications (ICCC) · doi:10.1109/iccc51575.2020.9345066 · Cited by 1
“Sridhara et al.[6] propose to generate comments according to the keywords extracted from codes.”
BackgroundMethodOnishi, S., Fumihiro, Y., & Shiina, H. (2020) · IIAI International Congress on Advanced Applied Informatics (IIAI-AAI) · doi:10.1109/iiai-aai50415.2020.00093 · Cited by 1
“As methods using a rule base, there are a method of summarizing java source code by preparing rules [14] and a method of summarizing a method based on a token”
MethodAutomatically Generating Code Comment Using Heterogeneous Graph Neural Networks
Jin, D., Liu, P., & Zhu, Z. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00125 · Cited by 2
Avaliação de Modelos Neurais para Sumarização de Código-fonte
Pontes, L. B. L., Oliveira, H., & Boldt, F. D. A. (2022) · Anais do Seminário Integrado de Software e Hardware (SEMISH) · doi:10.5753/semish.2022.223154 · Cited by 1
API + code = better code summary? insights from an exploratory study
Sarmah, P. P., & Chimalakonda, S. (2022) · doi:10.1145/3558489.3559075 · Cited by 1
“Sridhara et al. [27] were the first to use Natural Language Processing (NLP) techniques to produce summaries for Java methods.”
MethodEnhancing source code summarization from structure and semantics
Lu, X., & Niu, J. (2023) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn54540.2023.10191872 · Cited by 2
PyScribe –Learning to describe python code
Guo, J., Liu, J., Liu, X., Wan, Y., Zhao, Y., Li, L., Liu, K., Klein, J., & Bissyandé, T. F. (2023) · Software Practice and Experience · doi:10.1002/spe.3291 · Cited by 2
Enabling Interface Validation through Text Generation
Burden, H., Heldal, R., & Ljunglöf, P. (2013) · Chalmers Publication Library (Chalmers University of Technology) · Cited by 1
Billah, M. M., Rahman, M. S., & Roy, B. (2025) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3756681.3756977 · Cited by 2
“Automatic code comment generation, also known as code summarization, helps bridge this gap by generating natural language descriptions of code, thereby enhancing comprehension and accelerating development and maintenance efforts [65].”
OCL2NL: Automatic generation of natural language descriptions from OCL contracts
Yang, Y., Li, Q. P., Bao, T., Li, Q., & Wang, W. (2026) · Science of Computer Programming · doi:10.1016/j.scico.2026.103513 · Cited by 1
Towards Improving the Code Lexicon and its Consistency
Arnaoudova, V. (2014) · PolyPublie (École Polytechnique de Montréal) · Cited by 1
Exploring action unit granularity of source code for supporting software maintenance
Wang, X. (2017) · Library, Museums and Press - UDSpace (University of Delaware) · doi:10.58088/44js-xm45 · Cited by 2
AssertConvert: Automatically Convert JUnit Assertions to English
Gonzalez, D., Prentice, S., & Mirakhorli, M. T. (2018) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.1482012 · Cited by 1
Enabling Eye Tracking to Study the Use of Software Artifacts on Code Summarization
Nagaraj, S. (2018) · Carleton University's Institutional Repository (MacOdrum Library, Carleton University) · doi:10.22215/etd/2018-15222 · Cited by 1
“[66] produced Java strategies outlines in light of catchphrases from the most significant strategy’s announcements, while McBurney et al.”
MethodEncoding Beacon Statements for Code Comment GenerationPreprint
Jia, N., Chen, J., & Li, M. (2023) · Research Square · doi:10.21203/rs.3.rs-2710941/v1 · Cited by 1
Automatic generation of package diagram to understand Java packages
Jiang, L., Sun, X., Li, Y., & Liu, X. (2014) · IEEE/ACIS International Conference on Computer and Information Science (ICIS) · doi:10.1109/icis.2014.6912157
“JStereoCode is a tool used to identify class stereotype in Java code [16], [22].”
MethodInfluentialLeveraging Light-Weight Analyses to Aid Software Maintenance
Fry, Z. P., & Weimer, W. R. (2013) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2013.77
“We will design analyses that apply throughout the maintenance process, focusing on three areas: (1) triaging large collections of exposed defects; (2) guiding the search for automatic defect repairs; and (3) ensuring the continued consistency of system documentation over time.”
BackgroundMethodOperational abstractions of model transforms
Sinha, V. S., Dhoolia, P., Mani, S., & Sinha, S. K. (2014) · India Software Engineering Conference · doi:10.1145/2590748.2590751 · Cited by 1
“, [11, 23]).”
Automatic Natural-Language Fault Diagnoses
DiGiuseppe, N. (2015)
Improvement in Method Verb Recommendation Technique Using Association Rule Mining
Kashiwabara, Y., Ishio, T., & Inoue, K. (2015) · IEICE Transactions on Information and Systems · doi:10.1587/transinf.2015edl8069
“We employed identifier splitting to extract rules because a common word among identifiers may represent functional commonalities [7], [8].”
MethodAutomatic Summarization on Aggregated Search Results
ArvindChakrapani, R., Balabantaray, R. C., & Verulkar, P. (2015) · International Journal of Computer Applications · doi:10.5120/21288-4240
On Using Domain Knowledge for Advanced Programming Tools
Berariu, A. (2016) · mediaTUM – the media and publications repository of the Technical University Munich (Technical University Munich)
Study on Licensing and Program Understanding for Reuse Support
鹿島, 悠. (2015) · OUKA (Osaka University Knowledge Archive) (Osaka University) · doi:10.18910/52032
Towards generation of annotation for package diagrams
Goto, T., & Tsuchida, K. (2016) · IEEE International Conference on Industrial Technology (ICIT) · doi:10.1109/icit.2016.7475028
“[12], [13], [14] target generating summaries against Java classes or methods based on text retrieval techniques (TR).”
MethodComments recovery approach for Java decompiler
Sateanpattanakul, S. (2016) · IEEE/ACIS International Conference on Computer and Information Science (ICIS) · doi:10.1109/icis.2016.7550827
Three Studies on Model Transformations - Parsing, Generation and Ease of Use
Burden, H. (2012) · Chalmers Research (Chalmers University of Technology)
Automatic summary generating technology of vegetable traceability for information sharing
Zhenxuan, Z., & Minjing, P. (2017) · IOP Conference Series Earth and Environmental Science · doi:10.1088/1755-1315/69/1/012068
“The system is operated based on the Android operating system of smart phones, the SQLITE database and the application server [6,7] .”
MethodCode variants and their retrieval using knowledge discovery based approaches
Vinayakarao, V., & Purandare, R. (2018)
Exploring the Generality of a Java-based Loop Action Model for the Quorum Programming LanguagePreprint
Chatterjee, P. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.00478
“ally examining code. This project is related to generating internal comments for the identified high level actions. Most comment generation work is focused on creating summaries for methods or classes [12] [13]. However, Wong et al. mine question and answer sites for automatic comment generation [15]. They extract code…”
BackgroundMethodMicro Level Source Code Summarization of Optimal Set of Object Oriented Classes
Malhotra, M., & Chhabra, J. K. (2018)
Improving Software Dependability through Documentation Analysis
Wong, E. (2019) · UWSpace (University of Waterloo) · Cited by 1
Constructural Software Documentation
Nassif, M., & Robillard, M. P. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion.2019.00128
“Unlike many other documentation generation approaches [2]–[6], our approach does not infer information from already written code.”
BackgroundTowards a Naming Quality Model
Meester, S., Bouwmeester, S., Oprescu, A., & Bruntink, M. (2019) · UvA-DARE (University of Amsterdam)
Étude de l’impact de différentes sources d’informations sur la synthèse des entités de code logiciel
Hakimi, H. (2017) · Espace ÉTS (ETS)
SolcTrans: Towards machine translation of Solidity smart contract source code.Preprint
Shi, C., Xiang, Y., Yu, J., Sood, K., & Gao, L. (2021) · arXiv (Cornell University)
Exploiting API Description Information to Improve Code Comment Generation
Yang, G., Zhang, Q., Wu, Y., Tianxing, Z., Liu, H., & Feng, W. (2021) · Communications in computer and information science · doi:10.1007/978-3-030-78618-2_32
Commits Analysis for Software Refactoring Documentation and Recommendation
Rebai, S. (2021) · Deep Blue (University of Michigan) · doi:10.7302/2532
Automatic Generation of Diagram Explanation based on an Attribute Graph Grammar
Takaaki, G., Nishino, T., & Tsuchida, K. (2012) · 研究報告数理モデル化と問題解決(MPS)
Code Representation Learning with Prüfer SequencesPreprint
Jinpa, T., & Gao, Y. M. (2021) · arXiv (Cornell University) · doi:10.14288/1.0402946
Zhang, M., & Yin, H. (2016) · SpringerBriefs in computer science · doi:10.1007/978-3-319-47812-8_2
Learning program semantics via exploring program structures with deep learning
Liu, S. (2022) · DR-NTU (Nanyang Technological University) · doi:10.32657/10356/164454
Automatic Generation of Literary Sentences in French
Moreno-Jiménez, L.-G., Torres‐Moreno, J., & Wedemann, R. S. (2023) · Algorithms · doi:10.3390/a16030142
Moreno-Jiménez, L.-G., & Torres‐Moreno, J. (2023) · Proceedings of the ... International Florida Artificial Intelligence Research Society Conference · doi:10.32473/flairs.36.133059
“Automatic Text Generation (ATG) is an area that has been extensively studied by scientists in the Natural Language Processing domain (NLP) (Kumar et al. 2022; Sridhara et al. 2010; Szymanski and Ciota 2002).”
BackgroundG-DCS: GCN-Based Deep Code Summary Generation Model
Du, C. D. C., Du, Y., & Li, M. W. Y. (2023) · 網際網路技術學刊 · doi:10.53106/160792642023072404014 · Cited by 1
“Developers can quickly understand the meaning of code through natural language description [2].”
BackgroundTowards Better ML-Based Software Services: An Investigation of Source Code Engineering Impact
Li, Y., Ye, C., Chen, H., Chen, S., Xue, M., & Shen, J. (2023) · IEEE International Conference on Software Services Engineering (SSE) · doi:10.1109/sse60056.2023.00027
“Some most recent studies have leveraged AST information to facilitate the process to help the developers better understand the program by providing machine learning generated code comments [22]–[24].”
BackgroundProcko, T., & Collins, S. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4571367
Leveraging Deep Learning for Abstractive Code Summarization of Unofficial DocumentationPreprint
Naghshzan, A., Guerrouj, L., & Baysal, O. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.15015
“Sridhara et al. (2010) have used Natural Language Processing to extract information to summarize Java methods.”
MethodStudy on Automatic Code Summary Generation Method based on Graph Neural Network
Du, C., Li, Y., Wang, Y., & Yu, J. (2023) · International Conference on Dependable Systems and Their Applications (DSA) · doi:10.1109/dsa59317.2023.00015
“High-quality code summaries can improve the speed of understanding code, and developers can quickly understand the function and usage of code by reading natural language descriptions [2]; therefore, high-quality code summaries play an important role in software development and maintenance.”
BackgroundThe Source Code Comment Generation based on Abstract Syntax Tree
Ming, D., & Xiong, W. (2023) · Frontiers in Computing and Intelligent Systems · doi:10.54097/fcis.v5i3.13837
“The very high reported BLEU scores in [36] could be explained by overloaded methods with very similar structure – SBT would detect a function in the test set with a very similar AST to an overloaded method in the same project in the training set.”
BackgroundMethodThe Source Code Comment Generation Based on Deep Reinforcement Learning and Hierarchical Attention
Ming, D., & Xiong, W. (2023) · Academic Journal of Science and Technology · doi:10.54097/ajst.v8i1.13993
“Sridhara et al. [36] developed the Software Word Usage Model (SWUM) to capture the occurrences of terms in source code and their linguistic and structural relationships and then defined different templates for different semantic segments in source code to generate readable natural language.”
BackgroundUsing Program Comprehension Models to Teach Comprehensibility
Tempero, E. D., & Tu, Y. (2024) · Australasian Computing Education Conference · doi:10.1145/3636243.3636244
“For example, Sridhara et al. [28] have developed an automatic comment generator to summarise Java methods.”
MethodRevolutionizing API Documentation through SummarizationPreprint
Naghshzan, A., & Ratté, S. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2401.11361
“Shifting the focus to code summarization, Sridhara et al. [6] demonstrated the effectiveness of Natural Language Processing (NLP) in accurately summarizing Java methods, preserving critical information in the process.”
MethodA Code Search Method Incorporating Code Annotations
Li, Q., Liu, J., & Zhang, X. (2024) · Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering · doi:10.1007/978-3-031-54521-4_18
Zhang, D., Lei, G., Xiao, J., Xu, Z., Fan, G., Chen, S., & Cao, Y. (2024) · Lecture notes in computer science · doi:10.1007/978-981-97-0801-7_7
Moreno-Jiménez, L.-G. (2022) · theses.fr (ABES) · doi:10.70675/9d0ad9e6z375az43baza57ez29b0e53cdf60
API comparison based on the non-functional information mined from Stack Overflow
Chen, Z., Liu, Y., Liu, L., Liu, H., Li, R., & Zhang, P. (2024) · Science of Computer Programming · doi:10.1016/j.scico.2024.103228
Code Parameter Summarization Based on Transformer and Fusion Strategy
Zhang, F., Fan, J., Li, W., & Khoo, S. (2024) · IET Software · doi:10.1049/sfw2/3706673
Zhang, Z., Yang, H., Yan, Q., Yan, H., Min, W., Wei, Z., Kuang, L., & Xia, Y. (2025) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc66645.2025.00036 · Cited by 1
“Wong et al. [11] utilized code clone detection techniques to identify similar code, searched for existing code comments for these similar codes, and then generated similar code comments using natural language processing techniques [31]–[33].”
RAPRSUM: Retrieval-Augmented Code Summarization with Advanced Prototype Refinement
Lin, Y., Wang, X., Zhan, S., Wei, D., & Chen, B. (2025) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194025500317
Hybrid Attention Approach for Source Code Comment Generation
Yao, M. (2025) · Information Technology And Control · doi:10.5755/j01.itc.54.2.36699
A Machine Learning Approach to Analyze Patterns and Comments in Java Code using Python
Sharma, K., Gupta, M., Ahuja, R., Prawar, P., & Kumari, M. (2025) · WSEAS Transactions on Information Science and Applications archive · doi:10.37394/23209.2025.22.54
Modeling Structural Features with Structure Position-Aware Attention for Code Summarization
Luo, J. J., Qu, Z., & Cai, B. (2025) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194025500512
ByteCue: Enhancing Bytecode Comment Generation with API Information
Huang, Y., Chen, J., Chen, X., Zhang, N., Yang, C., & Zheng, Z. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3772717
Enhancing textual explanations for Java methods with variable role knowledge
Silva, R. C. D. (2020) · Repositório do ISCTE-IUL · Cited by 1
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.