Supporting program comprehension with source code summarization
The DOI matches its Crossref record; 12 of the 12 references it cites were found in a registry or an index.
Abstract
One of the main challenges faced by today's developers is keeping up with the staggering amount of source code that needs to be read and understood. In order to help developers with this problem and reduce the costs associated with it, one solution is to use simple textual descriptions of source code entities that developers can grasp easily, while capturing the code semantics precisely. We propose an approach to automatically determine such descriptions, based on automated text summarization technology.
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 [26]
Citations
Cites
An introduction to latent semantic analysis
Landauer, T. K., Foltz, P. W., & Laham, D. (1998) · Discourse Processes · doi:10.1080/01638539809545028 · Cited by 4,880 · cited 1×
“We used Latent Semantic Indexing (LSI) as the TR technique, as it is one of the most commonly used techniques in automatic natural language summarization [5].”
MethodKo, A. J., Myers, B. A., Coblenz, M. J., & Aung, H. H. (2006) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2006.116 · Cited by 685 · cited 1×
“Two of the most common activities when dealing with such a large amount of data are searching and browsing [3] the source code.”
BackgroundEvaluating Content Selection in Summarization: The Pyramid Method
Nenkova, A., & Passonneau, R. (2004) · Columbia University · doi:10.7916/d80r9xvd · Cited by 527 · cited 2×
“We plan to evaluate our automatic summaries using several of these measures, but in this paper we focus on describing only the Pyramid method [7], which we used in our preliminary study, described in Section 5.”
MethodSemantic clustering: Identifying topics in source code
Kuhn, A., Ducasse, S., & Gîrba, T. (2007) · Information and Software Technology · doi:10.1016/j.infsof.2006.10.017 · Cited by 496 · cited 1×
“The closest is the work in [4], where LSI is used to cluster source code and then relevant terms from each cluster are extracted to form labels.”
BackgroundProgram understanding: Challenge for the 1990s
Corbi, T. A. (1989) · IBM Systems Journal · doi:10.1147/sj.282.0294 · Cited by 388 · cited 1×
“software evolution, accounting for more than half the time spent on software maintenance [ 1 ].”
MethodAutomatic summarising: The state of the art
Spärck Jones, K. (2007) · Information Processing & Management · doi:10.1016/j.ipm.2007.03.009 · Cited by 353 · cited 2×
“The approach is inspired by automated summarization [ 9 ], which is the creation of a shortened version of a text by a computer program.”
BackgroundMethodCombining Formal Concept Analysis with Information Retrieval for Concept Location in Source Code
Poshyvanyk, D., & Marcus, A. (2007) · 15th IEEE International Conference on Program Comprehension (ICPC '07) · doi:10.1109/icpc.2007.13 · Cited by 235 · cited 1×
“A similar approach is used in [8], where LSI is also used to extract the most relevant set of terms to a group of methods returned as results to a search.”
MethodSelf-citationShared waypoints and social tagging to support collaboration in software development
Storey, M.-A., Cheng, L.-T., Bull, I., & Rigby, P. (2006) · Proceedings of the 2006 20th anniversary conference on Computer supported cooperative work · doi:10.1145/1180875.1180906 · Cited by 108 · cited 1×
“Another related research thread is on source code tagging and annotations [12].”
BackgroundSearching and skimming: An exploratory study
Starke, J., Luce, C., & Sillito, J. (2009) · 2009 IEEE International Conference on Software Maintenance · doi:10.1109/icsm.2009.5306335 · Cited by 74 · cited 1×
“During these activities developers often only skim the source code [10] (e.”
BackgroundLightweight structural summarization as an aid to software evolution
Murphy, G. C., & Borning, A. H. (1996) · Cited by 62
Cited by
Items 101–200 of 290
Holistic recommender systems for software engineering
Ponzanelli, L. (2014) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2591062.2591081 · Cited by 19
“ICSE Comp ion’14, May 31 – June 7, 2014, Hyderabad, India Copyright 2014 ACM 978-1-4503-2768-8/14/05...$15.00 htt ://dx.doi.org/10.1145/2591062.2591081 they are considered as single elements and proposed together to the developer.”
BackgroundInfluentialAl-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
“A technique for automatically summarizing source code by leveraging the lexical and structural information in the code is proposed in Haiduc et al. [9].”
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
Cheng, W., Hu, P., Wei, S., & Mo, R. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.106987 · Cited by 19
Interactive 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
“[38] used Latent Semantic Indexing (LSI) [39], to generate source code entities descriptions.”
MethodDigitally annexing desk space for software development (NIER track)
Hardy, J., Bull, C., Kotonya, G., & Whittle, J. (2011) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1985793.1985910 · Cited by 17
“Combining recent attempts at maximising spatial memory [2] [3] with source code summaries [14] and simple visualisation creates an environment where developers grow the workspace into an appropriate reflection of what they are working on.”
BackgroundThe forgotten role of search queries in IR-based bug localization: an empirical study
Rahman, M. M., Khomh, F., Yeasmin, S., & Roy, C. K. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-10022-4 · Cited by 20
“In fact, similar disagreements among the human experts were also observed in various other text processing tasks such as search keyword selection (Furnas et al. 1987) or textual summary generation (Nenkova and Passonneau 2004; Haiduc et al. 2010).”
BackgroundLow-Resources Project-Specific Code Summarization
Xie, R., Hu, T., Ye, W., & Zhang, S. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3556909 · Cited by 23
“3556909 and serve as one of the most common support to help developers understand programs [8].”
BackgroundZhu, 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
“IR approaches [20, 30, 95, 96] were widely studied in the early stage from 2010 to 2016.”
MethodDit, B., Moritz, E., Linares‐Vásquez, M., Poshyvanyk, D., & Cleland‐Huang, J. (2014) · Empirical Software Engineering · doi:10.1007/s10664-014-9339-3 · Cited by 17
Lexical categories for source code identifiers
Newman, C. D., Alsuhaibani, R. S., Collard, M. L., & Maletic, J. I. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884624 · Cited by 21
“It has been used in a number of software maintenance tasks including identifier naming [5], code summarization [6, 7], reformulation of source-code queries [8], concept location [9], traceability-link recovery [10], and bug fixing [11].”
MethodMethod 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
“A simple summarization approach is to extract meaningful keywords as labels from the comments and identifier names contained in the source code [2], [3].”
MethodA 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 initially attempted to treat source code as natural language and applied text summarization techniques to code [38, 57].”
Summarizing 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
Abstracting and Narrating Novice Programs Using Regular Expressions
Ade-Ibijola, A., Ewert, S., & Sanders, I. D. (2014) · South African Institute of Computer Scientists and Information Technologists · doi:10.1145/2664591.2664601 · Cited by 16
“A tool to support the program comprehension process via source code summarization was developed and presented by Haiduc et al in 2010 [8].”
MethodAutomatic 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
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].”
MethodDit, B., Moritz, E., Linares‐Vásquez, M., & Poshyvanyk, D. (2013) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2013.44 · Cited by 14
“Haiduc [45] 27 ✓ ✓ ✓ ✓ .”
Syntactic Generation of Practice Novice Programs in Python
Ade-Ibijola, A. (2018) · Communications in computer and information science · doi:10.1007/978-3-030-05813-5_11 · Cited by 14
Learning 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
Understanding large-scale software systems – structure and flows
Levy, O., & Feitelson, D. G. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-09938-8 · Cited by 23
“Several tools that generate such summaries automatically have been proposed (Alon et al. 2019; Haiduc et al. 2010; Rodeghero et al. 2015).”
BackgroundAutomatic 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 IR-based approaches [13, 14, 18, 19, 34, 42, 54, 55] aim to use IR techniques to extract keywords from the source code and compose them into term-based comments for a given code snippet.”
MethodHeuristic-based part-of-speech tagging of source code identifiers and comments
Alsuhaibani, R. S., Newman, C. D., Collard, M. L., & Maletic, J. I. (2015) · IEEE Workshop on Mining Unstructured Data (MUD) · doi:10.1109/mud.2015.7327960 · Cited by 17
“In the end our hope is that this mark-up could help to support research in identifier naming [33], code summarization [34, 35], and bug fixing [36].”
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
“For instance, exploiting knowledge of the crowd [2, 4, 5, 6, 7], information retrieval [8, 9, 10], machine learning [11, 12, 13, 14, 15], neural networks [16, 17, 18], or even tracking eye-movements of developers [19] are among the approaches for addressing this issue.”
BackgroundA Hidden Markov Model to detect coded information islands in free text
Cerulo, L., Ceccarelli, M., Penta, M. D., & Canfora, G. (2013) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2013.6648197 · Cited by 16
ATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid RankingPreprint
Liu, S., Gao, C., Chen, S., Nie, L. Y., & Liu, Y. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.02972 · Cited by 14
“Code summarization aims to generate brief natural language descriptions for code snippet and it evolves from rule-based [62] [63] [64], retrieval-based [65] [66] [67] to learning-based [68] [69] [70] approaches.”
BackgroundMethodTowards 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
“Early approaches to code summarization are mainly based on information retrieval (IR) [2], [8], [9], [10] and templates”
BackgroundMethodInfluentialCodeQA: A Question Answering Dataset for Source Code Comprehension
Liu, C., & Wan, X. (2021) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2021.findings-emnlp.223 · Cited by 49
Improving 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
“Within the software engineering field, researchers have investigated whether it is possible and useful to summarize software artifacts automatically and help developers offering them an exact and concise representation of the content of the originals [3,4,5,12,14,15,17].”
BackgroundSelf-citationSurvey on Artificial Intelligence Approaches for Visualization Data.Preprint
Wu, A., Wang, Y., Shu, X., Moritz, D., Cui, W., Zhang, H., Zhang, D., & Qu, H. (2021) · arXiv (Cornell University) · Cited by 13
Effective 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
“2,37 Clone detection techniques can also be used to find similar codes for summarization.”
MethodInvestigating Novice Developers’ Code Commenting Trends Using Machine Learning Techniques
Niazi, T., Das, T., Ahmed, G., Waqas, S. M., Khan, S., Khan, S., Abdelatif, A. A., & Wasi, S. (2023) · Algorithms · doi:10.3390/a16010053 · Cited by 15
Building Implicit Vector Representations of Individual Coding Style
Kovalenko, V., Bogomolov, E., Bryksin, T., & Bacchelli, A. (2020) · doi:10.1145/3387940.3391494 · Cited by 12
“Machine learning (ML) has lately been having more impact in soware engineering by improving over state of the art in problems such as code summarization [6, 18] and program synthesis [16].”
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
“Early approaches mainly relied on information retrieval (IR) and templates [1–6].”
MethodTransformer-based networks over tree structures for code classification
Hua, W., & Liu, G. (2021) · Applied Intelligence · doi:10.1007/s10489-021-02894-2 · Cited by 14
“Code classification [6], code summarization, code clone detection [9, 23, 25], and code retrieval [18] have been proposed to promote the quality of the quality of software development and maintenance.”
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
“In earlier studies, scholars tend to use templatebased approaches [6, 11, 12].”
BackgroundBCGen: a comment generation method for bytecode
Huang, Y., Huang, J., Chen, X., He, K., & Zhou, X. (2022) · Automated Software Engineering · doi:10.1007/s10515-022-00374-6 · Cited by 13
“…from the open-source website and processed to form a dataset, and then the comments are generated by the methods such as heuristic templates(Haiduc et al. 2010a; Rodeghero et al. 2015 2015), information retrieval(Wong et al. 2013; Rodeghero et al. 2017) and deep learning(Alon et al. 2018;…”
BackgroundMethodSurfClipse: Context-Aware Meta-search in the IDE
Rahman, M. M., & Roy, C. K. (2014) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2014.109 · Cited by 12
“We then compare the recommended queries by our tool with those queries for the same exception using pyramid score [4].”
MethodSCAN: 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
Ade-Ibijola, A. (2016) · South African Institute of Computer Scientists and Information Technologists · doi:10.1145/2987491.2987518 · Cited by 11
“Other EIM applications in this space are Microsoft Exchange IM, Oracle Beehive, and Thomson Reuters Messenger.”
BackgroundMethodSummarization 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
“In a different token, term-based summaries of methods and classes were automatically generated by using TR techniques [7, 8], but they were found not very well suited for this problem.”
MethodMining Source Code Topics Through Topic Model and Words Embedding
Zhang, W. E., Sheng, Q. Z., Abebe, E., Babar, M. A., & Zhou, A. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-49586-6_47 · Cited by 10
Supporting 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
“Moreover, Suncode exploits textual and structural information (Haiduc et al., 2010a) to summarize software classes and methods.”
MethodInfluentialSCAN: 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
“[55, 56] applied and combined several automatic summarization techniques.”
MethodOn 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
“In that sense, the term-based summaries generated by [6] from source code using information-retrieval techniques were evaluated using the Pyramid method.”
MethodSelf-citationVisualizing Object-oriented Software for Understanding and DocumentationPreprint
Al-Msie’deen, R. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1601.07742 · Cited by 11
Context-aware code summary generation
Su, C.-Y., 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 10
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
“For method or functions, Hill et al. [43, 44] use text retrieval (TR) methods, to capture source code semantics and generate summaries.”
MethodEnhancing 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
A Language Model of Java Methods with Train/Test Deduplication
Su, C., Bansal, A., Jain, V., Ghanavati, S., & McMillan, C. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3613090 · Cited by 21
“In this section, we demonstrate one application of our tool for the problem of code summarization, which is the task of writing comments that describe code [14].”
MethodA Framework for Examining Topical Locality in Object-Oriented Software
Niu, N., Savolainen, J. E., Bhowmik, T., Mahmoud, A., & Reddivari, S. (2012) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2012.32 · Cited by 9
“We survey 1The term is adopted from Davison’s work on “topical locality” in the Web [10], where he showed that most webpages are linked to others with related content.”
MethodTowards 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
Automatically 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
“Summary descriptions of subroutines are short (usually one-sentence) natural language explanations of a subroutine’s behavior and purpose in a program [1], [2].”
BackgroundInfluentialPOSIT: simultaneously tagging natural and programming languages
Pârţachi, P.-P., Dash, S. K., Treude, C., & Barr, E. T. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380440 · Cited by 14
“In software engineering research, part-of-speech tagging has been directly applied for identifier naming [7], code summarisation [12, 13], concept localisation [5], traceability-link recovery [9], and bug fixing [27].”
MethodCoCoSum: Contextual Code Summarization with Multi-Relational Graph Neural NetworkPreprint
Wang, Y.-L., Shi, E.-S., Du, L., Yang, X.-D., Hu, Y., Han, S., Zhang, H.-Y., & Zhang, D.-M. (2021) · arXiv.org · doi:10.48550/arxiv.2107.01933 · Cited by 33
“The basic ideas of IR approaches are retrieving terms from source code for generating term-based summaries or retrieving similar source code and using its summary as the target summary [Eddy et al. 2013; Haiduc et al. 2010a,b; Rodeghero et al. 2014].”
BackgroundMethodInfluentialProgrammer Visual Attention During Context-Aware Code Summarization
Wallace, R., Bansal, A., Karas, Z., Tang, N., Huang, Y., Li, T. J.-J., & McMillan, C. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3554990 · Cited by 8
“Early work in source code summarization used Information-Retrieval techniques [26], [27].”
DescribeCtx: 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].”
MethodWang, C., Peng, X., Xing, Z., & Meng, X. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3250029 · Cited by 8
“[10] proposed a code summarization approach based on text summarization.”
BackgroundMethodBash comment generation via data augmentation and semantic-aware CodeBERT
Shen, Y., Ju, X., Chen, X., & Yang, G. (2024) · Automated Software Engineering · doi:10.1007/s10515-024-00431-2 · Cited by 13
“…Yu et al. (2022), as well as state-of-the-art base-lines from the source code summarization research domain including information retrieval methods (Haiduc et al. 2010a, b; Zhang et al. 2020; Liu et al. 2018), deep learning methods (Ahmad et al. 2020; Iyer et al. 2016; Feng et al. 2020; Guo et al.…”
InfluentialCan 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
“In the last decade, researchers have developed various methods for generating code documentation [7], including template-based [58], [59], information retrieval [60], and, more recently, deep learning techniques [49], [61]–[66].”
Re_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
“[3, 17] analyzed source code using the VSM and LSI methods, producing natural language description of the classes or methods.”
MethodClass 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 [17], extractive summaries are generated with the help of vector space model.”
MethodMethod 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
“According to Haiduc et al.[6], text summaries for code should have following four properties – (1) summaries should be significantly shorter than the source code, (2) summaries should capture the semantics, as well as the structure of the source code, (3) summaries must have their own structure, representing important…”
BackgroundCoSS: leveraging statement semantics for code summarization
Shi, C., Cai, B., Zhao, Y., Gao, L., Sood, K., & Xiang, Y. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3256362 · Cited by 22
“[2], [6], who first attempted to generate code summaries using information retrieval (IR)”
BackgroundImproving Code Summarization With Tree Transformer Enhanced by Position-Related Syntax Complement
Song, J., Zhang, Z., Tang, Z., Feng, S., & Gu, Y. (2024) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2024.3395231 · Cited by 8
“Promoted by the development of neural networks, data-driven strategies [4], [6], [7] replaced the previous heuristic approaches derived from empirical research [8] as the mainstream method of code summarization.”
MethodCLG-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
An data augmentation method for source code summarization
Song, Z., Zeng, H., Shang, X., Li, G., Li, H., & Guo, S. (2023) · Neurocomputing · doi:10.1016/j.neucom.2023.126385 · Cited by 9
EnCoSum: 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
Preprocessing of Metrics Measurement Based on Simplifying Program Structures
Sasaki, Y., Ishihara, T., Hotta, K., Hata, H., Higo, Y., Igaki, H., & Kusumoto, S. (2012) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec.2012.59 · Cited by 8
“A fundamental task in software maintenance is reading and understanding source code [13], [14], [15].”
BackgroundSemantic-based extraction approach for generating source code summary towards program comprehension
Kadar, R., Syed-Mohamad, S. M., & Rashid, N. A. (2015) · Malaysian Software Engineering Conference (MySEC) · doi:10.1109/mysec.2015.7475208 · Cited by 8
“Source code summary is another representation that is used to represent the extracted information as in [16], [21] .”
MethodFrom Code to Natural Language: Type-Aware Sketch-Based Seq2Seq Learning
Deng, Y., Huang, H., Chen, X., Liu, Z., Wu, S., Xuan, J., & Li, Z. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-59410-7_25 · Cited by 7
Context-aware code summarization with multi-relational graph neural network
Wang, Y., Shi, E., Du, L., Yang, X., Hu, Y., Wang, Y., Guo, D., Han, S., Zhang, H., & Zhang, D. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00490-z · Cited by 45
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].”
BackgroundToward 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
“Prior approaches have utilized linguistic information in source code to generate summaries for classes [9], methods [5], [15], and parameters [17].”
MethodEvaluating 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
Multistaging to understand: Distilling the essence of java code examples
Sanchez, H. A., Whitehead, J., & Schäf, M. (2016) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2016.7503708 · Cited by 7
Configuring and Assembling Information Retrieval Based Solutions for Software Engineering Tasks
Dit, B. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.85 · Cited by 5
“Haiduc [76] 32 ✓ ✓ ✓ ✓ .”
Land of Lost Knowledge: An Initial Investigation into Projects Lost Knowledge
Lima, M. H. T. D. F., Ahmed, I., Conte, T. U., Nascimento, E., de Oliveira, E. C. C., & Gadelha, B. (2019) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2019.8870171 · Cited by 9
“Applying text summarization algorithm in natural language requires data pre-processing in order to optimize the algorithms execution [4], [17], [20].”
MethodReflective feature location: knowledge in mind meets information in system
Peng, X., Xing, Z., Pan, S., Qian, W., Rajlich, V., & Zhao, W. (2017) · Science China Information Sciences · doi:10.1007/s11432-015-0860-9 · Cited by 6
“It can also be facilitated by extracting conceptual descriptions from source code by using source code summarization techniques [25].”
BackgroundRetrieve and Refine: Exemplar-based Neural Comment GenerationPreprint
Wei, B. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1910.10419 · Cited by 6
“The traditional IR-based comment generation are based on this idea [7]–[10] and treat the retrieved comments directly as comments for a given code.”
BackgroundC2B: A Semantic Source Code Retrieval Model Using CodeT5 and Bi-LSTM
Bibi, N., Maqbool, A., Rana, T. A., Afzal, F., & Khan, A. A. (2024) · Applied Sciences · doi:10.3390/app14135795 · Cited by 5
APIContext2Com: 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
“Several studies have adopted rule-based approaches such as template generating [3] and Information retrieval (IR) [7, 8, 9, 10, 11] techniques for code comment generation.”
BackgroundLiang, H.-M., & Huang, C. (2024) · IEEE Access · doi:10.1109/access.2024.3354390 · Cited by 6
Biegel, B., Beck, F., Lesch, B., & Diehl, S. (2014) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2014.64 · Cited by 5
Effect 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
“Haiduc et al. [11,12] applied latent semantic indexing (LSI) and vector space modeling (VSM) to extract method and class level summary words.”
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
Neural Code Summarization: How Far Are We?Preprint
Shi, E., Wang, Y., Du, L., Chen, J., Han, S., Zhang, H., Zhang, D., & Sun, H. (2021) · arXiv (Cornell University) · Cited by 5
A Holistic Approach to Design Understanding Through Concept Explanation
Fang, H., Cai, Y., Tempero, E. D., Kazman, R., Tu, Y., Lefever, J., & Pisch, E. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3522973 · Cited by 7
Bash command comment generation via multi-scale heterogeneous feature fusion
Zhang, J., Zhu, Y., Lu, A., Yan, Y., & Wan, Y. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00494-9 · Cited by 5
“Kuhn et al. (2007) employed the Latent Semantic Indexing (LSI) technique to search for language information such as identifiers, names, and comments within the source code, and clustered the source code accordingly.”
InfluentialMining structured data in natural language artifacts with island parsing
Bacchelli, A., Mocci, A., Cleve, A., & Lanza, M. (2017) · Science of Computer Programming · doi:10.1016/j.scico.2017.06.009 · Cited by 4
“, code [14], NL documents [15]) and cannot be applied to documents that includes 135”
BackgroundYet 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
Summarizing Source Code from Structure and Context
Hou, S., Chen, L., & Ye, Y. (2022) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn55064.2022.9892013 · Cited by 5
“IR techniques focus on selecting appropriate terms from the original code snippets to generate term-based summaries (e.g., latent semantic indexing and vector space model) [8], [14], [25], [37], or cloning comments from similar code snippets [19], [20], [34].”
Supporting comprehension of unfamiliar programs by modeling an expert's perception
Kulkarni, N., & Varma, V. (2014) · International Workshop on Realizing Artificial Intelligence Synergies in Software Engineering (RAISE) · doi:10.1145/2593801.2593805 · Cited by 6
“Summarization is suggested to be an effective technique to aid program comprehension [7, 17, 6].”
BackgroundMethodResultInfluentialSpotting familiar code snippet structures for program comprehension
Vinayakarao, V. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2807560 · Cited by 4
“Spotting topics in source code has been researched under the titles of Feature Location [7], Topic Modeling [5], Code Summarization [9], and Annotation [11].”
MethodYuan, B., Murali, V., & Jermaine, C. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133882 · Cited by 4
“…aid developers 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.…”
BackgroundComment 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
“Program comprehension is time-consuming and cost most of developers’ time [11, 27, 12, 7, 33, 34].”
BackgroundIntroducing Code Adviser: A DFA-driven Electronic Programming Tutor
Ade-Ibijola, A., Ewert, S., & Sanders, I. D. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-22360-5_25 · Cited by 3
Summarization 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
Are duplicates really harmful? An empirical study on bug report summarization techniques
Hao, R., Li, Y., Feng, Y., & Chen, Z. (2022) · Journal of Software Evolution and Process · doi:10.1002/smr.2424 · Cited by 3
“The existing methods to evaluate code snippets mainly include manual evaluation, 25,26 statistical analysis, 26 – 28 extrinsic evaluation, 26,29 and so on.”
MethodEmploying Source Code Quality Analytics for Enriching Code Snippets Data
Karanikiotis, T., Diamantopoulos, T., & Symeonidis, A. L. (2023) · Data · doi:10.3390/data8090140 · Cited by 4
Metadata
- Authors
- Haiduc, S., Aponte, J., & Marcus, A.
- Affiliations
- Wayne State University (US)
- Universidad Nacional de Colombia (CO)
- Venue
- Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 2
- Publisher
- ACM
- Published
- 2010-05
- Pages
- 223-226
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2136296681
- Semantic Scholar
- ef44c3316ddd9c8ab19a73b99b69161944e269b1
- Cited by
- 291
- References
- 12
- Citations by year
- 2026: 8 · 2025: 24 · 2024: 19 · 2023: 30 · 2022: 37 · 2021: 30 · 2020: 19 · 2019: 23 · 2018: 15 · 2017: 17 · 2016: 11 · 2015: 10 · 2014: 18 · 2013: 12 · 2012: 10
- FWCI
- 6.74
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
- Funders
- Division of Computing and Communication Foundations (CCF-0820133CCF-0845706)
- 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 › Model-Driven Software Engineering Techniques
- Keywords
- source code summarization, program comprehension, automated text summarization, program semantics, developer productivity
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.