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
Summarizing Source Code using a Neural Attention Model
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1195 · Cited by 701
“There is also work on improving program comprehension (Haiduc et al., 2010), identifying cross-cutting source code concerns (Rastkar et al., 2011), and summarizing software bug reports (Rastkar et al., 2010).”
BackgroundMethodHu, X., Li, G., Xia, X., Lo, D., & Jin, Z. (2018) · Proceedings of the 26th Conference on Program Comprehension · doi:10.1145/3196321.3196334 · Cited by 621
“Their techniques vary from the use of manually-crafted [25] to Information Retrieval (IR) [14, 15].”
A Novel Neural Source Code Representation Based on Abstract Syntax Tree
Zhang, J., Wang, X., Zhang, H., Sun, H., Wang, K., & Liu, X. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00086 · Cited by 655
“Many software engineering methods, such as source code classification [1], [2], code clone detection [3], [4], [5], [6], defect prediction [7], [8] and code summarization [9], [10] have been proposed to improve software development and maintenance.”
MethodOn the Use of Automated Text Summarization Techniques for Summarizing Source Code
Haiduc, S., Aponte, J., Moreno, L., & Marcus, A. (2010) · 2010 17th Working Conference on Reverse Engineering · doi:10.1109/wcre.2010.13 · Cited by 408
“The TR based approaches for source code summarization, first introduced in [24], which we evaluate in this study, focus on summarizing whole software artifacts, with the purpose of aiding developers in comprehension tasks.”
MethodSelf-citationSuggesting accurate method and class names
Allamanis, M., Barr, E. T., Bird, C., & Sutton, C. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786849 · Cited by 369
“They later developed summaries that are used to improve comprehension [22].”
BackgroundAutomatic generation of natural language summaries for Java classes
Moreno, L., Aponte, J., Sridhara, G., Marcus, A., Pollock, L., & Vijay-Shanker, K. (2013) · 2013 21st International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2013.6613830 · Cited by 331
“Previous work on summarizing classes (and methods) investigated the use of TR techniques [5, 17] and found that they are not very well suited for this problem.”
BackgroundSelf-citationA Neural Model for Generating Natural Language Summaries of Program Subroutines
LeClair, A., Jiang, S., & McMillan, C. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00087 · Cited by 294
“2) Heuristic/Template-based: Haiduc et al. [11], [36] is often cited as the first attempt to create text summaries of code, and indeed is the first to introduce the term “source code summarization.””
BackgroundDeep code comment generation with hybrid lexical and syntactical information
Hu, X., Li, G., Xia, X., Lo, D., & Jin, Z. (2020) · Empirical Software Engineering · doi:10.1007/s10664-019-09730-9 · Cited by 278
“…code summarization approaches vary from manually-crafted template (Sridhara et al. 2011; Sridhara et al. 2010; McBurney and McMillan 2014), IR (Wong et al. 2013; Haiduc et al. 2010a, b) to learning-based approaches (Iyer et al. 2016; Movshovitz-Attias and Cohen 2013; Allamanis et al. 2016).”
MethodRetrieval-based neural source code summarization
Zhang, J., Wang, X., Zhang, H., Sun, H., & Liu, X. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380383 · Cited by 275
“As described above, IR-based methods can effectively leverage the existing terms of the original code or summaries of similar code snippets [13, 18, 19, 46, 60, 61], while NMT-based methods generate summaries word-by-word from the whole corpus by directly maximizing the likelihood of the next word…”
BackgroundMethodInfluentialCodeHow: Effective Code Search Based on API Understanding and Extended Boolean Model (E)
Lv, F., Zhang, H., Lou, J.-G., Wang, S., Zhang, D., & Zhao, J. (2015) · 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.42 · Cited by 251
Identifying self-admitted technical debt in open source projects using text mining
Huang, Q., Shihab, E., Xia, X., Lo, D., & Li, S. (2018) · Empirical Software Engineering · doi:10.1007/s10664-017-9522-4 · Cited by 194
Information Retrieval Based Nearest Neighbor Classification for Fine-Grained Bug Severity Prediction
Tian, Y., Lo, D., & Sun, C. (2012) · 2012 19th Working Conference on Reverse Engineering · doi:10.1109/wcre.2012.31 · Cited by 180
“propose a method to summarize source code to support program comprehension [10].”
MethodEvaluating source code summarization techniques: Replication and expansion
Eddy, B. P., Robinson, J. A., Kraft, N. A., & Carver, J. C. (2013) · 2013 21st International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2013.6613829 · Cited by 144
“[19] first introduced TR based approaches for source code summarization.”
MethodA Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
Loyola, P., Marrese-Taylor, E., & Matsuo, Y. (2017) · Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/p17-2045 · Cited by 128
“One of these attempts is automatic summarization, which aims to generate a compact representation of the source code in a portion of natural language (Haiduc et al., 2010).”
BackgroundAutomatic Defect Categorization
Thung, F., Lo, D., & Jiang, L. (2012) · 2012 19th Working Conference on Reverse Engineering · doi:10.1109/wcre.2012.30 · Cited by 124
“produce succinct and informative text to characterize software code [17].”
BackgroundSoftware documentation: the practitioners' perspective
Aghajani, E., Nagy, C., Linares-Vásquez, M., Moreno, L., Bavota, G., Lanza, M., & Shepherd, D. C. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380405 · Cited by 124
“It also supports the importance of research fields such as code summarization [18, 19, 39, 40] and the automatic generation of code examples [45].”
BackgroundRecommendations for Datasets for Source Code Summarization
LeClair, A., & McMillan, C. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-1394 · Cited by 111
“Work by Haiduc et al. (Haiduc et al., 2010a,b) in 2010 coined the term “source code summarization”, and several heuristic/template-based techniques followed including work by Sridhara et al. (Sridhara et al., 2010, 2011), McBurney et al. (McBurney and McMillan, 2016), and Rodeghero et al. (Rodeghero et al., 2015).”
MethodLearning to Spot and Refactor Inconsistent Method Names
Liu, K., Kim, D., Bissyandé, T. F., Kim, T.-Y., Kim, K., Koyuncu, A., Kim, S., & Traon, Y. L. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00019 · Cited by 144
“[83] used natural language summarization techniques and the lexical and structural context in code to improve code comprehension [84].”
MethodCode Structure–Guided Transformer for Source Code Summarization
Gao, S., Gao, C., He, Y., Zeng, J., Nie, L., Xia, X., & Lyu, M. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3522674 · Cited by 113
“1 Source Code Summarization There have been extensive research in source code summarization, including template-based approaches [41, 43, 52], information-retrieval-based approaches [24, 44, 62] and deep-learning-based-approaches [4, 27, 31].”
BackgroundTracing software developers' eyes and interactions for change tasks
Kevic, K., Walters, B. M., Shaffer, T. R., Sharif, B., Shepherd, D. C., & Fritz, T. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786864 · Cited by 106
“Existing techniques to summarize code have mainly focused on summarizing whole methods [17, 18] rather than only summarizing the parts relevant for a given task.”
MethodChatGPT vs SBST: A Comparative Assessment of Unit Test Suite Generation
Tang, Y., Liu, Z., Zhou, Z., & Luo, X. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3382365 · Cited by 95
“…as text generation, language translation, and question answering, large language models are also been adopted and used to cope with software engineering (SE) tasks, such as, code generation [8], [9], [10], code summarization [11], [12], [13], document and comments generation [14], [15], and more.”
MethodUsing IR methods for labeling source code artifacts: Is it worthwhile?
De Lucia, A., Di Penta, M., Oliveto, R., Panichella, A., & Panichella, S. (2012) · 2012 20th IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2012.6240488 · Cited by 94
“the purpose of aiding developers in comprehension tasks [39].”
BackgroundATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Ranking
Liu, S., Gao, C., Chen, S., Nie, L. Y., & Liu, Y. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3038681 · Cited by 93
Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)
Ahmed, T., Pai, K. S., Devanbu, P., & Barr, E. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3639183 · Cited by 112
“Initially, template-based approaches were popular [17, 26, 27, 56, 61]; however, creating a list of templates with good coverage is very challenging.”
Background(2023) · doi:10.1145/3510003.3510060 · Cited by 88
“In the early stage of automatic source code summarization, templatebased approaches [14, 20, 21, 51, 56] are widely used.”
BackgroundMethodA Human Study of Comprehension and Code Summarization
Stapleton, S., Gambhir, Y., LeClair, A., Eberhart, Z., Weimer, W., Leach, K., & Huang, Y. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389258 · Cited by 77
“When baseline summaries are not readily available, researchers may first perform a human study in which programmers are asked to generate summaries to serve as baselines [22, 54].”
BackgroundSummarizing Software Artifacts: A Literature Review
Nazar, N., Hu, Y. Z., & Jiang, H. (2016) · Journal of Computer Science and Technology · doi:10.1007/s11390-016-1671-1 · Cited by 95
“Haiduc et al. [9,14] applied VSM and LSI models to generate term-based summaries for classes and methods .”
Content classification of development emails
Bacchelli, A., Sasso, T. D., D’Ambros, M., & Lanza, M. (2012) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2012.6227177 · Cited by 102
Detecting API usage obstacles: A study of iOS and Android developer questions
Wang, W., & Godfrey, M. W. (2013) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624006 · Cited by 77
“…our approach has the potential to direct researchers to “obstacle hotspots” by using forum-based input contributed by a multitude of developers, so that more resource-demanding techniques — such as natural language processing [17] and field studies — become feasible to pinpoint concrete issues.”
BackgroundImproving Code Summarization with Block-wise Abstract Syntax Tree Splitting
Lin, C., Ouyang, Z., Zhuang, J., Chen, J., Li, H., & Wu, R. (2021) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00026 · Cited by 100
Assessing the Generalizability of Code2vec Token Embeddings
Kang, H. J., Bissyandé, T. F., & Lo, D. (2019) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00011 · Cited by 90
“Techniques developed for this task can produce a wide range of benefits for developers, including helping in software reuse, re-documentation and concept location [33].”
BackgroundMethodA Multi-Modal Transformer-based Code Summarization Approach for Smart Contracts
Yang, Z., Keung, J., Yu, X., Gu, X., Wei, Z., Ma, X., & Zhang, M. (2021) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00010 · Cited by 96
A Survey of Automatic Generation of Source Code Comments: Algorithms and Techniques
Song, X., Sun, H., Wang, X., & Yan, J. (2019) · IEEE Access · doi:10.1109/access.2019.2931579 · Cited by 70
“The achievements have been presented in the literature [25], [26], [77], [86].”
BackgroundMethodContent Classification of Development Emails
Bacchelli, A., Sasso, T. D., & Lanza, M. (2013) · Cited by 72
Automatic summarization of API reviews
Uddin, G., & Khomh, F. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115629 · Cited by 83
“The summarization of source code element names (types, methods) has been investigated [56], [57], [62].”
MethodYing, A. T. T., & Robillard, M. P. (2013) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2491411.2494587 · Cited by 71
“Several efforts have investigated reduced representations of software artifacts, including summarizing bug reports [15, 12] and producing a succinct set of textual keywords [8] or textual summary [18, 19] given the source code of a method.”
BackgroundEffects of Variable Names on Comprehension: An Empirical Study
Avidan, E., & Feitelson, D. G. (2017) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.27 · Cited by 88
“Haiduc et al. found that when summarizing code, developers tend to include in the summary practically all the terms that appear in method names, and the vast majority of terms in parameter types [14].”
BackgroundA Survey of Automatic Source Code Summarization
Zhang, C., Wang, J., Zhou, Q., Xu, T. X., Tang, K., Gui, H., & Liu, F. (2022) · Symmetry · doi:10.3390/sym14030471 · Cited by 105
Source Code Summarization in the Era of Large Language Models
Sun, W., Miao, Y., Li, Y., Zhang, H., Fang, C., Liu, Y., Deng, G., Liu, Y., & Chen, Z. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00034 · Cited by 215
AST-trans: code summarization with efficient tree-structured attention
Tang, Z. J., Shen, X., Li, C., Ge, J., Huang, L., Zhu, Z., & Luo, B. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510224 · Cited by 93
“Some used Information Retrieval (IR) techniques [13, 14] to mine summaries from similar existing code banks which, unfortunately, cannot generalize to unseen code snippets with different functions.”
MethodStudy of automatic text summarization approaches in different languages
Kumar, Y., Kaur, K., & Kaur, S. (2021) · Artificial Intelligence Review · doi:10.1007/s10462-021-09964-4 · Cited by 76
“Summarization let experts to rapidly comprehend entirety the company has previously prepared in a given theme, and quickly gather information that include diverse viewpoints (Haiduc et al. 2010).”
BackgroundWhy My Code Summarization Model Does Not Work: Code Comment Improvement with Category Prediction
Chen, Q., Xia, X., Hu, H., Lo, D., & Li, S. (2021) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3434280 · Cited by 87
“The early works for code summarization are rule-based [17, 18, 57, 58].”
BackgroundMethodAUGER: automatically generating review comments with pre-training models
Li, L., Yang, L., Jiang, H., Yan, J., Luo, T., Hua, Z., Liang, G., & Zuo, C. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549099 · Cited by 57
“The early methods focused on information retrieval, such as VSM algorithms [22, 23], clone detection [63], and LDA algorithms [40].”
MethodUnderstanding Log Lines Using Development Knowledge
Shang, W., Nagappan, M., Hassan, A. E., & Jiang, Z. M. (2014) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2014.24 · Cited by 67
“[30], [31] used automated text summarization techniques, such as LSI and VSM to create summarized descriptions for source code.”
MethodMining Version Control System for Automatically Generating Commit Comment
Huang, Y., Zheng, Q., Chen, X., Xiong, Y., Liu, Z., & Luo, X. (2017) · 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM) · doi:10.1109/esem.2017.56 · Cited by 56
“[21], [22] applied information retrieval techniques to generate term-based summaries for classes and methods, and they also investigated the suitability of several source code summarization techniques.”
CORE: Automating Review Recommendation for Code Changes
Siow, J. K., Gao, C., Fan, L., Chen, S., & Liu, Y. (2020) · 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054794 · Cited by 56
“Much earlier works, such as Haiduc [64], implemented summarization by text mining and text retrieval methods.”
MethodRetrieve and Refine: Exemplar-Based Neural Comment Generation
Wei, B. (2019) · 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00152 · Cited by 25
“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.”
BackgroundAutofolding for Source Code Summarization
Fowkes, J., Chanthirasegaran, P., Ranca, R., Allamanis, M., Lapata, M., & Sutton, C. A. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2664836 · Cited by 63
“[14], [15] and the follow up work by Eddy et al.”
BackgroundAn empirical investigation of how and why developers rename identifiers
Peruma, A., Mkaouer, M. W., Decker, M. J., & Newman, C. D. (2018) · doi:10.1145/3242163.3242169 · Cited by 61
“Manytechniques to support comprehension rely on the analysis of identifiers [16, 17, 31, 32].”
BackgroundCCGIR: Information retrieval-based code comment generation method for smart contracts
Yang, G., Liu, K., Chen, X., Zhou, Y., Yu, C., & Lin, H. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107858 · Cited by 52
Generating query-specific class API summaries
Liu, M., Peng, X., Marcus, A., Xing, Z., Xie, W., Xing, S., & Liu, Y. (2019) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3338906.3338971 · Cited by 61
“Haiduc et al. [19, 20] proposed the use of text retrieval techniques (in particular, vector space model and latent semantic indexing) to select descriptive terms for methods and classes.”
MethodSelf-citationFeitelson, D. G., Mizrahi, A., Noy, N., Shabat, A. B., Eliyahu, O., & Sheffer, R. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.2976920 · Cited by 63
“found that when summarizing code, developers tend to include in the summary practically all the terms that appear in method names, and the vast majority of terms in parameter types [18].”
BackgroundMethodShi, E., Wang, Y., Du, L., Zhang, H., Han, S., Zhang, D., & Sun, H. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.332 · Cited by 86
“Traditional approaches such as rule-based and information retrieval-based approaches regard source code as plain text (Haiduc et al., 2010a,b) without considering the complex grammar rules and syntactic structures exhibited in source code.”
MethodImproving topic model source code summarization
McBurney, P. W., Liu, C., McMillan, C., & Weninger, T. (2014) · International Conference on Program Comprehension · doi:10.1145/2597008.2597793 · Cited by 52
“The expert did not interact with the user other than to briefly explain the interface, nor did the expert monitor the participants’ progress in the survey.”
BackgroundFret: Functional Reinforced Transformer With BERT for Code Summarization
Wang, R., Zhang, H., Lu, G., Lyu, L., & Lyu, C. (2020) · IEEE Access · doi:10.1109/access.2020.3011744 · Cited by 49
“[37] proposed a text retrieval (TR) technique for lexical and structural information in code to solve the code summarization problem.”
MethodUnderstanding How and Why Developers Seek and Analyze API-Related Opinions
Uddin, G., Baysal, O., Guerrouj, L., & Khomh, F. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2903039 · Cited by 55
On the Significance of Category Prediction for Code-Comment Synchronization
Yang, Z., Keung, J., Yu, X., Xiao, Y., Jin, Z. G., & Zhang, J. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3534117 · Cited by 48
“comment generation) aims to generate a natural language description of source code for code comprehension [29, 55, 69].”
BackgroundM2TS: multi-scale multi-modal approach based on transformer for source code summarization
Gao, Y., & Lyu, C. (2022) · Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension · doi:10.1145/3524610.3527907 · Cited by 43
An Extractive-and-Abstractive Framework for Source Code Summarization
Sun, W., Fang, C., Chen, Y., Zhang, Q., Tao, G., You, Y., Han, T., Ge, Y., Hu, Y., Luo, B., et al. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3632742 · Cited by 69
“TR-based [32] is an extractive method based on text retrieval (TR) .”
BackgroundMethodInfluentialLabeling source code with information retrieval methods: an empirical study
Lucia, A. D., Penta, M. D., Oliveto, R., Panichella, A., & Panichella, S. (2013) · Empirical Software Engineering · doi:10.1007/s10664-013-9285-5 · Cited by 53
“[18,19].”
CPC: automatically classifying and propagating natural language comments via program analysis
Zhai, J., Xu, X., Shi, Y., Tao, G., Pan, M., Ma, S., Xu, L., Zhang, W., Tan, L., & Zhang, X. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380427 · Cited by 67
“There are eforts of generating comments from source code/code changes, based on manually crafted templates [13, 19, 47, 48, 53, 54, 66, 71ś73], information retrieval [27, 28, 32, 84, 85], and machine translation [14, 31, 33, 35, 62].”
MethodSeCNN: A semantic CNN parser for code comment generation
Li, Z., Wu, Y., Peng, B., Chen, X., Sun, Z., Liu, Y., & Yu, D. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111036 · Cited by 48
Diet code is healthy: simplifying programs for pre-trained models of code
Zhang, Z., Zhang, H., Shen, B., & Gu, X. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549094 · Cited by 41
“They are the most widely used software engineering tasks to demonstrate the capacity of NL-PL understanding [17, 22, 23, 31, 41, 46].”
MethodSource code fragment summarization with small-scale crowdsourcing based features
Nazar, N., Jiang, H., Gao, G., Zhang, T., Li, X., & Ren, Z. (2016) · Frontiers of Computer Science · doi:10.1007/s11704-015-4409-2 · Cited by 43
Yang, G., Chen, X., Cao, J., Xu, S., Cui, Z., Yu, C., & Liu, K. (2021) · International Conference on Dependable Systems and Their Applications (DSA) · doi:10.1109/dsa52907.2021.00013 · Cited by 44
A noun-based approach to feature location using time-aware term-weighting
Zamani, S., Lee, S. P., Shokripour, R., & Anvik, J. (2014) · Information and Software Technology · doi:10.1016/j.infsof.2014.03.007 · Cited by 45
“Also, using only the noun terms can summarize the source code data and enhance MSR tasks [50].”
MethodAutomatic Segmentation of Method Code into Meaningful Blocks to Improve Readability
Wang, X., Pollock, L., & Vijay‐Shanker, K. (2011) · Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2011.15 · Cited by 47
“A major time-consuming activity during software maintenance is reading source code [2]–[4] to gain understanding adequate to identify potential improvements and make desired modifications.”
BackgroundAutomatic source code summarization with graph attention networks
Zhou, Y., Shen, J., Zhang, X., Yang, W., Han, T., & Chen, T. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111257 · Cited by 48
SeTransformer: A Transformer-Based Code Semantic Parser for Code Comment Generation
Li, Z., Wu, Y., Peng, B., Chen, X., Sun, Z., Liu, Y., & Doyle, P. (2022) · IEEE Transactions on Reliability · doi:10.1109/tr.2022.3154773 · Cited by 47
BashExplainer: Retrieval-Augmented Bash Code Comment Generation based on Fine-tuned CodeBERT
Yu, C., Yang, G., Chen, X., Liu, K., & Zhou, Y. (2022) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme55016.2022.00016 · Cited by 54
“For example, Haiduc et al. [16] first used VSM (Vector Space Model) and LSI (Latent Semantic Index) to retrieve relevant terms from the corpus to construct code comments.”
MethodDeepCommenter: a deep code comment generation tool with hybrid lexical and syntactical information
Li, B., Yan, M., Xia, X., Hu, X., Li, G., & Lo, D. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417926 · Cited by 35
“Traditional approaches generate comment manually or simply use the IR-based approach [7, 8].”
MethodTowards Automatic Tagging for Web Services
Fang, L., Wang, L., Li, M., Zhao, J., Zou, Y., & Shao, L. (2012) · IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws.2012.99 · Cited by 35
Developer-Intent Driven Code Comment Generation
Mu, F., Chen, X., Shi, L., Wang, S., & Wang, Q. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00073 · Cited by 65
Opiner: An opinion search and summarization engine for APIs
Uddin, G., & Khomh, F. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115715 · Cited by 47
“The summarization of source code has been investigated by combining structural with lexical information of the source code [25], by correlating code contents with the call graphs in Java classes [23], by analyzing the identifier and variable names in methods [26], and by automatically documenting source code [27].”
MethodCorrelating Automated and Human Evaluation of Code Documentation Generation Quality
Hu, X., Chen, Q., Wang, H., Xia, X., Lo, D., & Zimmermann, T. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3502853 · Cited by 33
“Earlier works usually exploit manually-crafted templates [36] and Information Retrieval techniques [16, 17] to assemble key terms into the documentation.”
MethodEye gaze and interaction contexts for change tasks – Observations and potential
Kevic, K., Walters, B. M., Shaffer, T., Sharif, B., Shepherd, D. C., & Fritz, T. (2016) · Journal of Systems and Software · doi:10.1016/j.jss.2016.03.030 · Cited by 39
“Existing techniques to summarize code have mainly focused on summarizing whole methods [56, 57] rather than only summarizing the parts relevant for a given task.”
MethodAugmenting Java method comments generation with context information based on neural networks
Zhou, Y., Yan, X. C., Yang, W., Chen, T., & Huang, Z. (2019) · Journal of Systems and Software · doi:10.1016/j.jss.2019.07.087 · Cited by 34
On the Naming of Methods: A Survey of Professional Developers
Alsuhaibani, R. S., Newman, C. D., Decker, M. J., Collard, M. L., & Maletic, J. I. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse43902.2021.00061 · Cited by 57
“Furthermore, this quality information can be leverage in current research for automated code summarization [20-23], part-ofspeech tagging [24,25], topic modeling [26], feature location [27, 28], concept location [29], code search tools [30-32] identifier splitting [33, 34] and other natural language analysis tools suc…”
BackgroundLearning Human-Written Commit Messages to Document Code Changes
Huang, Y., Jia, N., Zhou, H.-J., Chen, X., Zheng, Z., & Tang, M. (2020) · Journal of Computer Science and Technology · doi:10.1007/s11390-020-0496-0 · Cited by 43
“Haiduc et al. [ 32,33] generated term-based summaries for classes and methods by employing information retrieval techniques, and they also compared the suitability of several summarization techniques.”
Source code indexing for automated tracing
Mahmoud, A., & Niu, N. (2011) · International Workshop on Traceability in Emerging Forms of Software Engineering (TEFSE) · doi:10.1145/1987856.1987859 · Cited by 30
“Finally, stemming is used to remove morphological and inflexion endings [5, 16-18].”
MethodAudioHighlight: Code Skimming for Blind Programmers
Armaly, A., Rodeghero, P., & McMillan, C. (2018) · 2018 IEEE International Conference on Software Maintenance and Evolution (ICSME) · doi:10.1109/icsme.2018.00030 · Cited by 29
“Code skimming has been shown to be integral to the code comprehension process [2], [1], [3].”
BackgroundProject-specific code summarization with in-context learning
Yun, S. M., LIN, S.-J., Gu, X., & Shen, B. (2024) · Journal of Systems and Software · doi:10.1016/j.jss.2024.112149 · Cited by 34
Towards Prioritizing Documentation Effort
McBurney, P. W., Jiang, S., Kessentini, M., Kraft, N. A., Armaly, A., Mkaouer, M. W., & McMillan, C. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2716950 · Cited by 39
A Review on Source Code Documentation
Rai, S., Belwal, R. C., & Gupta, A. (2022) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3519312 · Cited by 27
“Initial works [39, 40, 90, 91] were totally based on either templatebased or IR techniques.”
MethodMethod name suggestion with hierarchical attention networks
Xu, S., Zhang, S., Wang, W., Cao, X., Guo, C., & Xu, J. (2019) · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · doi:10.1145/3294032.3294079 · Cited by 30
“[15] selected a subset of keywords from source code to form a text corpus, upon which they built a text retrieval (TR) model, and attached struchtrual information to the model.”
BackgroundAutomatic Defect Categorization Based on Fault Triggering Conditions
Xia, X., Lo, D., Wang, X., & Zhou, B. (2014) · IEEE International Conference on Engineering of Complex Computer Systems (ICECCS) · doi:10.1109/iceccs.2014.14 · Cited by 26
“Haiduc et al. use automated text summarization to produce succinct and informative text to comprehend software code [33] IX.”
BackgroundEvery build you break: developer-oriented assistance for build failure resolution
Vassallo, C., Proksch, S., Zemp, T., & Gall, H. C. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09765-y · Cited by 38
“During their regular work, developers have to cope with a large amount of external data (Haiduc et al. 2010), e.g., bug reports or source code, which is produced during software development.”
BackgroundToward Understanding the Impact of Refactoring on Program Comprehension
Sellitto, G., Iannone, E., Codabux, Z., Lenarduzzi, V., Lucia, A. D., Palomba, F., & Ferrucci, F. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00090 · Cited by 42
Leveraging Informal Documentation to Summarize Classes and Methods in Context
Guerrouj, L., Bourque, D., & Rigby, P. C. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.212 · Cited by 35
“position of terms in the source document and others relying on text retrieval [8].”
BackgroundFunction Call Graph Context Encoding for Neural Source Code Summarization
Bansal, A., Eberhart, Z., Karas, Z., Huang, Y., & McMillan, C. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3279774 · Cited by 33
“3279774 of documentation has become known as source code summarization [2], and has been a holy grail of software engineering research for decades [3], [4].”
BackgroundUn-break my build: assisting developers with build repair hints
Vassallo, C., Proksch, S., Zemp, T., & Gall, H. C. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196350 · Cited by 32
“During their regular work, developers have to cope with a large amount of external data [8], e.g., bug reports or source code, which is produced during software development.”
BackgroundInterpretation-based Code Summarization
Geng, M., Wang, S., Dong, D., Wang, H., Cao, S., Zhang, K., & Jin, Z. G. (2023) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc58990.2023.00026 · Cited by 29
“Therefore, information retrieval (IR) based approaches [13], [23], [24] are proposed, with the basic idea to retrieve terms from source code to generate term-based summarization or to retrieve similar source code and reuse its”
MethodEyeTrans: Merging Human and Machine Attention for Neural Code Summarization
Zhang, Y., Li, J., Karas, Z., Bansal, A., Li, T. J.-J., McMillan, C., Leach, K., & Huang, Y. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3643732 · Cited by 42
“When documenting or summarizing source code, programmers’ attention will focus on different parts of the code to formulate a general idea about it, eventually establishing a comprehensive understanding [24].”
TASSAL: autofolding for source code summarization
Fowkes, J., Chanthirasegaran, P., Ranca, R., Allamanis, M., Lapata, M., & Sutton, C. A. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2889160.2889171 · Cited by 24
Code to Comment Translation: A Comparative Study on Model Effectiveness & Errors
Mahmud, J., Faisal, F., Arnob, R. I., Anastasopoulos, A., & Moran, K. (2021) · doi:10.18653/v1/2021.nlp4prog-1.1 · Cited by 30
Park, Y.-M., Park, A., & Kim, C. (2023) · IEEE Access · doi:10.1109/access.2023.3268638 · Cited by 28
“[17] used a text retrieval technique and vector space model for code”
MethodImpact of structural weighting on a latent Dirichlet allocation–based feature location technique
Eddy, B. P., Kraft, N. A., & Gray, J. (2017) · Journal of Software Evolution and Process · doi:10.1002/smr.1892 · Cited by 24
Automatic Detection of Five API Documentation Smells: Practitioners’ Perspectives
Khan, J. Y., Khondaker, M. T. I., Uddin, G., & Iqbal, A. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00037 · Cited by 45
“A large body of research is devoted to automatically produce natural lanugage summary description of source code method [44], [47], [65], [71].”
Endres, M., Fansher, M., Shah, P., & Weimer, W. R. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3468583 · Cited by 27
“Techniques for automatically generating prose summaries of code reduce time spent writing documentation, keep up with rapidly changing code bases, and aid developer comprehension [27, 42].”
BackgroundSnippet Comment Generation Based on Code Context Expansion
Guo, H., Chen, X., Huang, Y., Wang, Y., Ding, X., Zheng, Z., Zhou, X., & Dai, H. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3611664 · Cited by 31
“Haiduc et al. [11] utilized Latent Semantic Indexing (LSI) to construct Java class comments.”
Background
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
- 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.