Improving automated source code summarization via an eye-tracking study of programmers
The DOI matches its Crossref record; 65 of the 65 references it cites were found in a registry or an index.
Abstract
Source Code Summarization is an emerging technology for automatically generating brief descriptions of code. Current summarization techniques work by selecting a subset of the statements and keywords from the code, and then including information from those statements and keywords in the summary. The quality of the summary depends heavily on the process of selecting the subset: a high-quality selection would contain the same statements and keywords that a programmer would choose. Unfortunately, little evidence exists about the statements and keywords that programmers view as important when they summarize source code. In this paper, we present an eye-tracking study of 10 professional Java programmers in which the programmers read Java methods and wrote English summaries of those methods. We apply the findings to build a novel summarization tool. Then, we evaluate this tool and provide evidence to support the development of source code summarization systems.
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 [56]
Citations
Cites
Lecture Notes in Computer Science 1205
(1999) · Industrial Robot: An International Journal · doi:10.1108/ir.1999.04926fae.001 · Cited by 38,662
Nonparametric Statistical Methods
(1999) · Technometrics · doi:10.1080/00401706.1999.10485954 · Cited by 6,090
(2003) · doi:10.5555/644108.644113 · Cited by 762
A comparison of statistical significance tests for information retrieval evaluation
Smucker, M. D., Allan, J., & Carterette, B. (2007) · Proceedings of the sixteenth ACM conference on Conference on information and knowledge management · doi:10.1145/1321440.1321528 · Cited by 718 · cited 1×
“To compare these lists, we use a two-tailed Mann-Whitney statistical test [53].”
Method"Constant, constant, multi-tasking craziness": managing multiple working spheres
González, V. M., & Mark, G. (2004) · Proceedings of the SIGCHI Conference on Human Factors in Computing Systems · doi:10.1145/985692.985707 · Cited by 715 · cited 1×
“At the same time, programmers are often interrupted with requests for help with understanding source code [23], and written notes assist developers in answering these questions [24].”
BackgroundKo, 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 3×
“4.2.1 Data Collection The eye-tracker logged the time and location (on the screen) of the participants’ eye gaze.”
BackgroundInfluentialMaintaining 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 2×
“This section will cover related work on program comprehension and eye-tracking studies in software engineering, as well as source code summarization techniques.”
BackgroundInfluentialTowards automatically generating summary comments for Java methods
Sridhara, G., Hill, E., Muppaneni, D., Pollock, L., & Vijay-Shanker, K. (2010) · Proceedings of the IEEE/ACM international conference on Automated software engineering · doi:10.1145/1858996.1859006 · Cited by 514 · cited 3×
“Categories and Subject Descriptors D.2 [Software]: Software Engineering; D.2.9 [Software Engineering]: Management—Productivity General Terms Algorithms, Documentation Keywords Source code summaries, program comprehension”
BackgroundMethodInfluentialOn 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 6×
“Categories and Subject Descriptors D.2 [Software]: Software Engineering; D.2.9 [Software Engineering]: Management—Productivity General Terms Algorithms, Documentation Keywords Source code summaries, program comprehension”
BackgroundMethodInfluentialHow software engineers use documentation: the state of the practice
Lethbridge, T. C., Singer, J., & Forward, A. (2003) · IEEE Software · doi:10.1109/ms.2003.1241364 · Cited by 343
Research works printed but not linked: 2
- R. K. Fjeldstad and W. T. Hamlen . Application Program Maintenance Study: Report to Our Respondents . In Proceedings GUIDE 48, Apr. 1983 . R. K. Fjeldstad and W. T. Hamlen. Application Program Maintenance Study: Report to Our Respondents. In Proceedings GUIDE 48, Apr. 1983.
- J.-P. Krämer , J. Kurz , T. Karrer , and J. Borchers . Blaze. In Proceedings of the 2012 International Conference on Software Engineering, ICSE 2012 , pages 1457– 1458 , Piscataway, NJ, USA , 2012 . IEEE Press. J.-P. Krämer, J. Kurz, T. Karrer, and J. Borchers. Blaze. In Proceedings of the 2012 International Conference on Software Engineering, ICSE 2012, pages 1457–1458, Piscataway, NJ, USA, 2012. IEEE Press.
Cited by
Retrieval-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
“[46] improve the process of selecting terms by eye-tracking and modify the weights of VSM for better code summarization.”
BackgroundMethodInfluentialLearning to Generate Pseudo-Code from Source Code Using Statistical Machine Translation
Oda, Y., Fudaba, H., Neubig, G., Hata, H., Sakti, S., Toda, T., & Nakamura, S. (2015) · 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.36 · Cited by 250
“1 is one example of the type of parallel corpus targeted in this study, in which have one-by-one correspondences between each line in the source code and pseudo-code.”
Software Documentation Issues Unveiled
Aghajani, E., Nagy, C., Vega-Marquez, O. L., Linares-Vasquez, M., Moreno, L., Bavota, G., & Lanza, M. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00122 · Cited by 195
Eye Movements in Code Reading: Relaxing the Linear Order
Busjahn, T., Bednarik, R., Begel, A., Crosby, M., Paterson, J. H., Schulte, C., Sharif, B., & Tamm, S. (2015) · 2015 IEEE 23rd International Conference on Program Comprehension · doi:10.1109/icpc.2015.36 · Cited by 176
“[21] found that 10 developers looked more at a method’s signature than its body when they were asked to summarize Java methods while being recorded by an eye tracker.”
Geng, M., Wang, S., Dong, D., Wang, H., Li, G., Jin, Z., Mao, X., & Liao, X. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3608134 · Cited by 155
“For instance, information retrieval techniques, which focus on extracting some important tokens from the code, are used in the early stage [25, 58], followed by some recent works applying advanced deep learning techniques on this task, such as the neural machine translation (NMT) model [5, 28].”
MethodA Survey on the Usage of Eye-Tracking in Computer Programming
Obaidellah, U., Al Haek, M., & Cheng, P. C.-H. (2019) · ACM Computing Surveys · doi:10.1145/3145904 · Cited by 162
“—[62] and [61]: A more comprehensive analysis of the data from the same experiment was reported in [RLMM15].”
BackgroundMulti-document Summarization via Deep Learning Techniques: A Survey
Ma, C., Zhang, W. E., Guo, M., Wang, H., & Sheng, Q. Z. (2022) · ACM Computing Surveys · doi:10.1145/3529754 · Cited by 230
“Datasets with documents of rich diversity, with minimal positional and extractive biases, are desperately required to promote and accelerate MDS research, as are datasets for other applications such as summarization of medical records or dialogue [111], email [154, 176], code [106, 135], software project activities [3…”
BackgroundA practical guide on conducting eye tracking studies in software engineering
Sharafi, Z., Sharif, B., Guéhéneuc, Y., Begel, A., Bednarik, R., & Crosby, M. E. (2020) · Empirical Software Engineering · doi:10.1007/s10664-020-09829-4 · Cited by 176
“Rodeghero et al. (2014) developed a code summarization tool based on eye movements of ten developers, asked to read Java code and wrote English summaries of Java meth-ods in the snippets.”
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
“Source code summarization has received special attention, ranging from the use of information retrieval techniques to the addition of physiological features such as eye tracking (Rodeghero et al., 2014).”
BackgroundResultSoftware 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
“…techniques that provide abstractive and/or extractive summaries of software artifacts such as bug reports [36, 37, 52], classes and methods [19, 34, 38– 40, 44, 58, 63], unit tests [29, 30, 48], code changes [9, 24, 32, 46, 47], user reviews [12], code snippets [72], and user stories [28].”
MethodUsing (bio)metrics to predict code quality online
Muller, S. C., & Fritz, T. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884803 · Cited by 142
“Besides these studies, most research in software engineering using biometric measurements focused on eye tracking technology ( e.g. [7, 19, 63]) or developers’ brain activities ( e.g. [34,66]) to gain a better understanding of program comprehension.”
BackgroundAutomatic 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.”
BackgroundEye Movements in Code Reading: Relaxing the Linear Order
Busjahn, T., Bednarik, R., Begel, A., Crosby, M. E., Paterson, J. H., Schulte, C., Sharif, B., & Tamm, S. (2016) · Cited by 111
Automatic Generation of Text Descriptive Comments for Code Blocks
Liang, Y., & Zhu, K. (2018) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v32i1.11963 · Cited by 106
“[24] presented an eye-tracking study of programmers during source code summarization, a tool for selecting keywords based on the findings of the eye-tracking study.”
MethodTracing 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
“[34] focused on using eye-tracking to summarize whole methods.”
BackgroundMethodATOM: 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
ARENA: An Approach for the Automated Generation of Release Notes
Moreno, L., Bavota, G., Penta, M. D., Oliveto, R., Marcus, A., & Canfora, G. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2591536 · Cited by 108
Do Developers Read Compiler Error Messages?
Barik, T., Smith, J., Lubick, K., Holmes, E., Feng, J., Murphy-Hill, E., & Parnin, C. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.59 · Cited by 86
“Rodeghero and colleagues used eye tracking to understand how developers summarize code; the results of their experiment were used to improve algorithms that automatically summarize code [30].”
MethodTracking Students’ Cognitive Processes During Program Debugging—An Eye-Movement Approach
Lin, Y.-T., Wu, C.-C., Hou, T.-Y., Lin, Y.-C., Yang, F.-Y., & Chang, C.-H. (2016) · IEEE Transactions on Education · doi:10.1109/te.2015.2487341 · Cited by 85
“A recent study [46] discussed how programmers summarized the programs by analyzing their visual focus on statements and keywords in the programs.”
BackgroundA 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].”
BackgroundMethodSummarizing 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
“Rodeghero et al.[16-17] employed Mann-Whitney 36 ○ and Wilcoxon Signed Rank tests for evaluating summaries distributions.”
InfluentialImproving 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
Shaffer, T., Wise, J., Walters, B. M., Muller, S. C., Falcone, M., & Sharif, B. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2803188 · Cited by 77
“The use of eye trackers has become increasingly popular in the software engineering (SE) community, as evidenced by the increasing number of publications in mainstream conferences and journals [2, 3, 5, 7].”
BackgroundA 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
“[64] introduce an eye-tracking technique into comment generation researches.”
MethodHow programmers read regular code: a controlled experiment using eye tracking
Jbara, A., & Feitelson, D. G. (2016) · Empirical Software Engineering · doi:10.1007/s10664-016-9477-x · Cited by 90
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 selection and presentation of source code summaries have been explored through developer interviews [63] and eye tracking experiment [64].”
BackgroundCodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Models
Jha, A., & Reddy, C. K. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i12.26739 · Cited by 61
Revisit of automatic debugging via human focus-tracking analysis
Xie, X., Liu, Z., Song, S., Chen, Z., Xuan, J., & Xu, B. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884834 · Cited by 69
“[23] tracked developers’ focus of attention to provide evidence on how humans chose the keywords of a program for source code summarization.”
BackgroundStudy 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
“The dataset is needed for evaluation of summarization task and compare it with other summarization system to check the applicability of best one (Rodeghero et al. 2014).”
MethodWhy 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
“Most code summarization approaches are learning-based [2, 8, 9, 20, 22, 24, 63] or retrievalbased [11, 44, 53, 68], which build models on a large dataset often consisting of method-level source code snippets and the corresponding comments [3, 8, 20, 21, 63].”
BackgroundMethodPractitioners' expectations on automated code comment generation
Hu, X., Xia, X., Lo, D., Wan, Z., Chen, Q., & Zimmermann, T. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510152 · Cited by 86
“44 [38][29] [30][31] Example cases [M4] 3.”
Developer Reading Behavior While Summarizing Java Methods: Size and Context Matters
Abid, N. J., Sharif, B., Dragan, N., Alrasheed, H., & Maletic, J. I. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00052 · Cited by 77
“The same study [17] was further analyzed in [28] to find reading patterns of programmers during summarization.”
BackgroundMethodResultInfluentialAutofolding 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
“This is not true of other summarization approaches to source code [10], [11], [14], [15], [16], [17], [35].”
BackgroundActionNet: Vision-Based Workflow Action Recognition From Programming Screencasts
Zhao, D., Xing, Z., Chen, C., Xia, X., & Li, G. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00049 · Cited by 59
“Observational data can be collected by using eyetracker and fMRI [41]–[43], software instrumentation [5], [44], [45], or screencasting [11], [26].”
MethodDetecting speech act types in developer question/answer conversations during bug repair
Wood, A., Rodeghero, P., Armaly, A., & McMillan, C. (2018) · Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3236024.3236031 · Cited by 46
“Physical processes include taking of notes [3] and paerns of movements of the eyes [73, 80].”
BackgroundSelf-citationProject-Level Encoding for Neural Source Code Summarization of Subroutines
Bansal, A., Haque, S., & McMillan, C. (2021) · 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00032 · Cited by 46
Self-citationImproving 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
“We felt a participant not knowing how to correctly interact and interpret the interface would be a larger threat to validity than the possible bias created by an experts presence.”
BackgroundSelf-citationRahman, M., Palani, D., & Rigby, P. C. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00022 · Cited by 62
“For example, developers focus on method signatures [49] and following beacons [13] in the code.”
Using stereotypes in the automatic generation of natural language summaries for C++ methods
Abid, N. J., Dragan, N., Collard, M. L., & Maletic, J. I. (2015) · 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME) · doi:10.1109/icsm.2015.7332514 · Cited by 45
Leveraging Biometric Data to Boost Software Developer Productivity
Fritz, T., & Muller, S. C. (2016) · IEEE International Conference on Software Analysis, Evolution, and Reengineering · doi:10.1109/saner.2016.107 · Cited by 42
Understanding 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
“and structural summaries of source code [21], [39], [40], [41], [42], [43], [44], [45], [46], [74], [75], [76].”
M2TS: 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.-S., Fang, C., Chen, Y., Zhang, Q.-J., Tao, G.-H., You, Y., Han, T.-X., Ge, Y.-F., Hu, Y., Luo, B., et al. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3632742 · Cited by 59
“Considering that the quality of the summaries generated by extractive methods depends heavily on the process of extracting the subset, Paige Rodeghero et al. [81] present an eye-tracking study of programmers and propose a tool for selecting keywords based on the findings of the eye-tracking study.”
MethodCode to comment "translation": data, metrics, baselining & evaluation
Gros, D., Sezhiyan, H., Devanbu, P., & Yu, Z. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416546 · Cited by 43
“Other approaches used keywords which programmers seem to attend to in eye-tracking studies [47].”
BackgroundMethodDiet 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
“Our empirical findings are in agreement with a previous human study on how programmers summarize source code [37], which shows that developers usually start by reading the function name.”
BackgroundResultMining Unstructured Data in Software Repositories: Current and Future Trends
Bavota, G. (2016) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2016.47 · Cited by 54
“, bag of words) [65], [66], [67], [68], [69] or textbased [62], [64] summaries.”
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
Source Code Summarization with Structural Relative Position Guided Transformer
Gong, Z., Gao, C., Wang, Y., Gu, W., Peng, Y., & Xu, Z. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00013 · Cited by 54
Begel, A., & Vrzáková, H. (2018) · doi:10.1145/3216723.3216727 · Cited by 42
“processes that engineers experience when reading through code for some kind of review, rather than general program comprehension [Fritz et al. 2014b; Kevic et al. 2015; Rodeghero et al. 2014; Sharif et al. 2012; Uwano et al. 2006].”
BackgroundSelection and presentation practices for code example summarization
Ying, A. T. T., & Robillard, M. P. (2014) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2635868.2635877 · Cited by 45
An Empirical Study on the Patterns of Eye Movement during Summarization Tasks
Rodeghero, P., & McMillan, C. (2015) · 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.2015.7321188 · Cited by 45
“determine if a specific section of the method was considered more helpful for overall comprehension [8].”
BackgroundMethodInfluentialSelf-citationOpiner: 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 selection and presentation of source code summaries were investigated through developer interviews [28] and eye tracking experiment [29].”
BackgroundEye 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
AudioHighlight: 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
“[3] found that programmers prioritized method signatures over method”
BackgroundMethodSelf-citationObserving and predicting knowledge worker stress, focus and awakeness in the wild
Soto, M., Satterfield, C., Fritz, T., Murphy, G. C., Shepherd, D. C., & Kraft, N. A. (2020) · International Journal of Human-Computer Studies · doi:10.1016/j.ijhcs.2020.102560 · Cited by 34
Project-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
Content Aware Source Code Change Description Generation
Loyola, P., Marrese-Taylor, E., Balazs, J., Matsuo, Y., & Satoh, F. (2018) · International Conference on Natural Language Generation · doi:10.18653/v1/w18-6513 · Cited by 30
“Source code summarization has received special attention, ranging from the use of information retrieval techniques to the addition of physiological features such as eye tracking (Rodeghero et al., 2014).”
BackgroundTowards 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
“Rodeghero et al. [62] would later modify Haiduc et al. ’s VSM approach based on the results of a programmer eye tracking study.”
MethodSelf-citationUsing developer eye movements to externalize the mental model used in code summarization tasks
Abid, N. J., Maletic, J. I., & Sharif, B. (2019) · ACM Symposium on Eye Tracking Research and Applications (ETRA) · doi:10.1145/3314111.3319834 · Cited by 34
“conducted a study of programmers during summarization [Rodeghero et al. 2014].”
BackgroundMethodResultInfluentialA 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
“[83] conducted an eye-tracking study on 10 Java programmers.”
Variability through the Eyes of the Programmer
Melo, J., Narcizo, F. B., Hansen, D. W., Brabrand, C., & Wąsowski, A. (2017) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.34 · Cited by 27
“[36] conducted an eye-tracking study of ten JAVA programmers.”
Eyes on Code: A Study on Developers’ Code Navigation Strategies
Sharafi, Z., Bertram, I., Flanagan, M., & Weimer, W. R. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3032064 · Cited by 31
“Rodeghero et al. [13] performed an eye-tracking study to analyze the eye movements of ten developers performing code summarization manually to improve current information retrieval algorithms that automatically summarize code.”
Enriching in-IDE process information with fine-grained source code history
Proksch, S., Nadi, S., Amann, S., & Mezini, M. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884626 · Cited by 29
“, which code fragments they looked at [57].”
BackgroundEye tracking analysis of computer program comprehension in programmers with dyslexia
McChesney, I., & Bond, R. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9649-y · Cited by 27
“In their work, Rodeghero et al. (2014) seek ways to augment automated code summarization tools by using data from the programmer’s gaze when performing summarization tasks (gaze time, number of fixations and regressions).”
BackgroundAction Word Prediction for Neural Source Code Summarization
Haque, S., Bansal, A., Wu, L., & McMillan, C. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00038 · Cited by 31
Self-citationA Comparison of Program Comprehension Strategies by Blind and Sighted Programmers
Armaly, A., Rodeghero, P., & McMillan, C. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2729548 · Cited by 28
Self-citationA Survey on Research of Code Comment
Bai, Y., Liping, Z., & Zhao, F. (2019) · International Conference on Management Engineering, Software Engineering and Service Sciences (ICMSS) · doi:10.1145/3312662.3312710 · Cited by 35
Statistical errors in software engineering experiments: a preliminary literature review
Ch., R. P. R., Dieste, Ó., Fonseca, E. R., & Juristo, N. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3180155.3180161 · Cited by 26
Applicability of Emotion Recognition and Induction Methods to Study the Behavior of Programmers
Wróbel, M. R. (2018) · Applied Sciences · doi:10.3390/app8030323 · Cited by 25
EyeTrans: 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
“In these scenarios, we assigned the most meaningful labels, based on the semantics of Java, the structural context of the literal, and prior code summarization and comprehension research [12, 13, 51].”
InfluentialSelf-citationTASSAL: 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
“[16], who also consider the problem of summarizing source code, particularly methods and classes, but in their work code fragments are summarized by a short list of keywords.”
Automated Documentation of Android Apps
Aghajani, E., Bavota, G., Linares‐Vásquez, M., & Lanza, M. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2890652 · Cited by 25
“Previous automatic documentation approaches rely on summarization techniques [14], [41], stereotypes[42], [43], [44], and mining of repositories with developers communications and Q&A Websites [45], [46].”
Aljehane, S. D., Sharif, B., & Maletic, J. I. (2023) · Proceedings of the ACM on Human-Computer Interaction · doi:10.1145/3591135 · Cited by 23
“Other studies use eye-tracking technologies to study the effect of expertise levels on comprehension during code reading [15], reviewing [65], summarization [51], and differences between the expertise and professional status of software developers in class diagram comprehension [61].”
BackgroundSummarizing Complex Development Artifacts by Mining Heterogeneous Data
Ponzanelli, L., Mocci, A., & Lanza, M. (2015) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2015.49 · Cited by 28
Summarizing complex development artifacts by mining heterogeneous data
Ponzanelli, L., Mocci, A., & Lanza, M. (2015) · Mining Software Repositories · doi:10.5555/2820518.2820571 · Cited by 20
“Here the developer has to deal with documents whose size and complexity is not negligible.”
BackgroundEndres, 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
“found that, when possible, programmers use keywords to capture high-level program information rather than reading code details [54].”
BackgroundDeveloper Behaviors in Validating and Repairing LLM-Generated Code Using IDE and Eye Tracking
Tang, N., Chen, M., Ning, Z., Bansal, A., Huang, Y., McMillan, C., & Li, T. J.-J. (2024) · 2024 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc60511.2024.00015 · Cited by 18
“This provides an important indicator of programmers’ mental model [26], [27].”
BackgroundSelf-citationA 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
How statically-typed functional programmers write code
Lubin, J., & Chasins, S. E. (2021) · Proceedings of the ACM on Programming Languages · doi:10.1145/3485532 · Cited by 18
“…2012, Lewis, 2012), program comprehension (Bednarik and Tukiainen, 2006, Guéhéneuc, 2006, Letovsky, 1987, Yusuf et al., 2007), and code summarization (Rodeghero et al., 2015, Rodeghero and McMillan, 2015, Rodeghero et al., 2014) rather than program authoring, but some findings overlap with our own.”
ResultCheng, W., Hu, P., Wei, S., & Mo, R. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.106987 · Cited by 19
Aljehane, S., Sharif, B., & Maletic, J. I. (2021) · ACM Symposium on Eye Tracking Research and Applications (ETRA) · doi:10.1145/3448018.3457424 · Cited by 20
“…common categories that have multiple efforts to address the use of eye tracking technology are code comprehension [Sharif and Maletic, 2010b], model comprehension [Sharif, 2011] [Sharif and Maletic, 2010a], debugging, and code summarization [Rodeghero et al., 2014] [Rodeghero and McMillan, 2015].”
BackgroundResultTracking Developers' Eyes in the IDE
Sharif, B., Shaffer, T., Wise, J., & Maletic, J. I. (2016) · IEEE Software · doi:10.1109/ms.2016.84 · Cited by 21
Zhu, 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
“Early template-based approaches extract terms from the source code to fill in the manually crafted templates [61, 64, 74, 83].”
BackgroundTaub, M., Mudrick, N. V., Azevedo, R., Millar, G. C., Rowe, J., & Lester, J. C. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-39583-8_24 · Cited by 19
“These environments have been developed to afford opportunities to engage in scientific reasoning and problem solving [4], and studies have found that GBLEs are often more effective than traditional teaching methods, in terms of learning and retention [6].”
BackgroundAutomated feature discovery via sentence selection and source code summarization
McBurney, P. W., Liu, C., & McMillan, C. (2016) · Journal of Software Evolution and Process · doi:10.1002/smr.1768 · Cited by 22
Self-citationEye movements in software traceability link recovery
Sharif, B., Meinken, J., Shaffer, T., & Kagdi, H. (2016) · Empirical Software Engineering · doi:10.1007/s10664-016-9486-9 · Cited by 20
A 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 revised their approaches and attempted to find the key words or phrases within code that summaries should include [70, 82].”
InfluentialSelf-citationCrowdSummarizer: Automated Generation of Code Summaries for Java Programs through Crowdsourcing
Badihi, S., & Heydarnoori, A. (2017) · IEEE Software · doi:10.1109/ms.2017.45 · Cited by 20
Detecting Vague Words & Phrases in Requirements Documents in a Multilingual Environment
Cruz, B. D., Jayaraman, B., Dwarakanath, A., & McMillan, C. (2017) · IEEE International Requirements Engineering Conference (RE) · doi:10.1109/re.2017.24 · Cited by 15
“[28].”
Self-citationCodeAttention: translating source code to comments by exploiting the code constructs
Zheng, W., Zhou, H.-Y., Li, M., & Wu, J. (2018) · Frontiers of Computer Science · doi:10.1007/s11704-018-7457-6 · Cited by 36
“There are also retrieval methods which generate summaries for source code based on automatic text summarization [11], topic modeling [12], or integrating with the physical actions of expert engineers [13].”
MethodSparseCoder: 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].”
MethodOn Eye Tracking in Software Engineering
Grabinger, L., Häuser, F., Wolff, C. G., & Mottok, J. (2024) · SN Computer Science · doi:10.1007/s42979-024-03045-3 · Cited by 22
“…is that almost all papers use this visualization method to compare different distributions (e.g., one variable within different groups); only three papers [61, 106, 107] show a single box plot, with the former two [106, 107] also using multiple box plots within one plot elsewhere in the paper.”
VulAdvisor: Natural Language Suggestion Generation for Software Vulnerability Repair
Zhang, J., Wang, C., Li, A., Wang, W., Li, T., & Liu, Y. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695555 · Cited by 38
“Similarly, researchers also found that programmers usually focus on a list of keywords when reading and understanding code [41].”
Using biometric data in software engineering: a systematic mapping study
Menzen, J. P., Farias, K., & Bischoff, V. (2020) · Behaviour and Information Technology · doi:10.1080/0144929x.2020.1734086 · Cited by 18
Program Comprehension in Virtual Reality
Dominic, J., Tubre, B., Houser, J. A., Ritter, C., Kunkel, D., & Rodeghero, P. (2020) · International Conference on Program Comprehension · doi:10.1145/3387904.3389287 · Cited by 17
“We designed a research methodology based on related work in program comprehension [19, 41].”
MethodSelf-citationGenerating 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
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
“Rodeghero et al. [71] further improve the performance by improving the subset selection process by modifying the weights of the keywords from the codes based on the result of an eye-tracking study.”
MethodStudying Developer Reading Behavior on Stack Overflow during API Summarization Tasks
Saddler, J. A., Peterson, C. S., Sama, S., Nagaraj, S., Baysal, O., Guerrouj, L., & Sharif, B. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054848 · Cited by 14
“[16] for code summarization tasks on large Java open source systems and found that developers tend to look at calls the most compared to method signatures (as previous reported in smaller snippets).”
Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarization
Bansal, A., Sharif, B., & McMillan, C. (2023) · Proceedings of the ACM on Human-Computer Interaction · doi:10.1145/3591136 · Cited by 29
“6, to be consistent with the original dataset [49]) to predictions by eye-gnn for each of the four methods in the original paper’s test set.”
BackgroundMethodInfluentialSelf-citationFactors influencing dwell time during source code reading: a large-scale replication experiment
Peterson, C. S., Abid, N. J., Bryant, C. A., Maletic, J. I., & Sharif, B. (2019) · ACM Symposium on Eye Tracking Research and Applications (ETRA) · doi:10.1145/3314111.3319833 · Cited by 15
“One study [Rodeghero et al. 2014] that looked at similar distributions found that Method Signatures are the most important type of element for comprehension and code summarization tasks while we found that Method Signatures only accounted for 6.1% of the total dwell time of our subjects and other…”
BackgroundResultInfluential
Metadata
- Authors
- Rodeghero, P., McMillan, C., McBurney, P. W., Bosch, N., & D'Mello, S.
- Affiliations
- University of Notre Dame (US)
- University of Notre Dame, USA
- Venue
- Proceedings of the 36th International Conference on Software Engineering
- Publisher
- ACM
- Published
- 2014-05-31
- Pages
- 390-401
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2113610359
- Semantic Scholar
- 67649d6e32fcf7573da91e685cfda173775708d5
- Cited by
- 198
- References
- 65
- Citations by year
- 2026: 8 · 2025: 12 · 2024: 19 · 2023: 21 · 2022: 16 · 2021: 17 · 2020: 17 · 2019: 15 · 2018: 19 · 2017: 14 · 2016: 22 · 2015: 16 · 2014: 2
- FWCI
- 15.36
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
- Funders
- National Science Foundation
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Software › Advanced Software Engineering Methodologies
- Keywords
- source code summarization, eye tracking, programmer behavior, Java methods
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.