Evaluating source code summarization techniques: Replication and expansion
The DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.
Abstract
During software evolution a developer must investigate source code to locate then understand the entities that must be modified to complete a change task. To help developers in this task, Haiduc et al. proposed text summarization based approaches to the automatic generation of class and method summaries, and via a study of four developers, they evaluated source code summaries generated using their techniques. In this paper we propose a new topic modeling based approach to source code summarization, and via a study of 14 developers, we evaluate source code summaries generated using the proposed technique. Our study partially replicates the original study by Haiduc et al. in that it uses the objects, the instruments, and a subset of the summaries from the original study, but it also expands the original study in that it includes more subjects and new summaries. The results of our study both support the findings of the original and provide new insights into the processes and criteria that developers use to evaluate source code summaries. Based on our results, we suggest future directions for research on source code summarization.
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 [17]
Citations
Cites
(2003) · Journal of Machine Learning Research · doi:10.5555/944919.944937 · Cited by 32,337
Indexing by latent semantic analysis
Deerwester, S., Dumais, S. T., Furnas, G. W., Landauer, T. K., & Harshman, R. (1990) · Journal of the American Society for Information Science · doi:10.1002/(sici)1097-4571(199009)41:6<391::aid-asi1>3.0.co;2-9 · Cited by 12,751
A vector space model for automatic indexing
Salton, G., Wong, A., & Yang, C. S. (1975) · Communications of the ACM · doi:10.1145/361219.361220 · Cited by 7,521 · cited 2×
“1) Vector Space Model: In VSM [7] each document in a corpus is represented as a vector of length V, where V is the number of unique terms occurring in the corpus.”
BackgroundMethod(2000) · CrossRef Listing of Deleted DOIs · doi:10.1162/jmlr.2003.3.4-5.993 · Cited by 3,024
Mani, I. (2001) · Natural Language Processing · doi:10.1075/nlp.3 · Cited by 834
Ko, 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×
“Despite efforts to reduce the time and effort required to make informed decisions about which entities to investigate closely, recent studies find that developers spend more time reading and navigating source code than writing it [2], [3].”
BackgroundMaintaining mental models: a study of developer work habits
LaToza, T. D., Venolia, G., & DeLine, R. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134355 · Cited by 628 · cited 1×
“Despite efforts to reduce the time and effort required to make informed decisions about which entities to investigate closely, recent studies find that developers spend more time reading and navigating source code than writing it [2], [3].”
BackgroundPachinko allocation: DAG-structured mixture models of topic correlations
Li, W., & McCallum, A. (2006) · Proceedings of the 23rd international conference on Machine learning - ICML '06 · doi:10.1145/1143844.1143917 · Cited by 609 · cited 1×
“The pachinko allocation model (PAM) [12] is a family of generative topic models that build on LDA.”
MethodAn information retrieval approach to concept location in source code
Marcus, A., Sergeyev, A., Rajlich, V., & Maletic, J. I. (2005) · 11th Working Conference on Reverse Engineering · doi:10.1109/wcre.2004.10 · Cited by 455 · cited 1×
“Common transformations [13], [14] include:”
On 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 · cited 10×
“[5] observe that skimming source code and reading source code are extreme tactics.”
BackgroundMethodInfluential
Cited by
Hu, 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 works are replicated and expanded by Eddy et al. [11] which exploit a hierarchical topic model.”
Learning natural coding conventions
Allamanis, M., Barr, E. T., Bird, C., & Sutton, C. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635883 · Cited by 376
Suggesting 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
“For more work in this area, Eddy et al. provide a survey of code summarization methods [20].”
BackgroundImproved Code Summarization via a Graph Neural Network
LeClair, A., Haque, S., Wu, L., & McMillan, C. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389268 · Cited by 312
“ation” was coined around ten years ago [19] and since that time the •eld has proliferated. At •rst, the dominant strategy was based on sentence templates and heuristics derived from empirical studies [15, 36, 40, 44, 50, 51]. Starting around 2016, data-driven strategies based on neural networks came to the forefront,…”
BackgroundMethodInfluentialA 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
“Research into generation of natural language descriptions of code has come to be known as “source code summa-rization” [9], with significant effort focused on generation of summaries of subroutines: For several years, significant progress was made based on content selection and sentence templates…”
Background
Metadata
- Authors
- Eddy, B. P., Robinson, J. A., Kraft, N. A., & Carver, J. C.
- Affiliations
- University of Alabama (US)
- Venue
- 2013 21st International Conference on Program Comprehension (ICPC)
- Publisher
- IEEE
- Published
- 2013-05
- Pages
- 13-22
- OpenAlex
- W2018844270
- Semantic Scholar
- 092b276f3411c9f8070411492129750231845682
- Cited by
- 144
- References
- 27
- Citations by year
- 2026: 4 · 2025: 15 · 2024: 12 · 2023: 16 · 2022: 17 · 2021: 18 · 2020: 10 · 2019: 8 · 2018: 8 · 2017: 11 · 2016: 9 · 2015: 11 · 2014: 4 · 2013: 1
- FWCI
- 6.70
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- International Conference on Program Comprehension (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 › Model-Driven Software Engineering Techniques
- Keywords
- source code summarization, topic modeling, software evolution, text summarization
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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Evaluating source code summarization techniques: Replication and expansion. https://app.cochat.ai/papers/10.1109/icpc.2013.6613829
- The paper
- Eddy, B. P., Robinson, J. A., Kraft, N. A., & Carver, J. C. (2013). Evaluating source code summarization techniques: Replication and expansion. 2013 21st International Conference on Program Comprehension (ICPC). https://doi.org/10.1109/icpc.2013.6613829
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.