Automatically assessing code understandability: How far are we?
The DOI matches its Crossref record; 41 of the 41 references it cites were found in a registry or an index.
Abstract
Program understanding plays a pivotal role in software maintenance and evolution: a deep understanding of code is the stepping stone for most software-related activities, such as bug fixing or testing. Being able to measure the understandability of a piece of code might help in estimating the effort required for a maintenance activity, in comparing the quality of alternative implementations, or even in predicting bugs. Unfortunately, there are no existing metrics specifically designed to assess the understandability of a given code snippet. In this paper, we perform a first step in this direction, by studying the extent to which several types of metrics computed on code, documentation, and developers correlate with code understandability. To perform such an investigation we ran a study with 46 participants who were asked to understand eight code snippets each. We collected a total of 324 evaluations aiming at assessing the perceived understandability, the actual level of understanding, and the time needed to understand a code snippet. Our results demonstrate that none of the (existing and new) metrics we considered is able to capture code understandability, not even the ones assumed to assess quality attributes strongly related with it, such as code readability and complexity.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
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
“The complexity of code is a critical factor influencing code readability, maintainability, and overall quality [56], [24], [57].”
From No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPT (2024) · cites this paper as [57]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Statistical Power Analysis for the Behavioral Sciences
Muller, K. (1989) · Technometrics · doi:10.1080/00401706.1989.10488618 · Cited by 99,167
Statistical Power Analysis for the Behavioral Sciences (2nd ed.).
Lachenbruch, P. A., & Cohen, J. (1989) · Journal of the American Statistical Association · doi:10.2307/2290095 · Cited by 37,395
David, F. N., & Tukey, J. W. (1977) · Biometrics · doi:10.2307/2529486 · Cited by 12,708
A NEW MEASURE OF RANK CORRELATION
KENDALL, M. G. (1938) · Biometrika · doi:10.1093/biomet/30.1-2.81 · Cited by 7,269
McCabe, T. J. (1976) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1976.233837 · Cited by 6,059
Tukey, J. W. (1977) · International Linear Collider · Cited by 2,155
Kleinberg, J. M., & Eva Tardos, D. (2005) · Cited by 1,400
Osborn, J. F., & Tukey, J. W. (1978) · Journal of the Royal Statistical Society. Series A (General) · doi:10.2307/2344492 · Cited by 1,190
A hierarchical model for object-oriented design quality assessment
Bansiya, J., & Davis, C. G. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.979986 · Cited by 1,020
Evaluating software complexity measures
Weyuker, E. J. (1988) · IEEE Transactions on Software Engineering · doi:10.1109/32.6178 · Cited by 847
Cited by
Items 101–141 of 141
Dantas, C. E. C., & Maia, M. D. A. (2021) · IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW) · doi:10.1109/asew52652.2021.00034 · Cited by 2
On the Reliability of Code Comprehension Proxies
Arvan, E., Silva, N. D., Chaparro, O., & Kellogg, M. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834425 · Cited by 2
Mi, Q., Wang, L., Hu, L., Ou, L., & Yu, Y. (2022) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194022500656 · Cited by 2
Interpersonal Conflicts During Code Review
Gonçalves, P. W., Çalıklı, G., & Bacchelli, A. (2022) · Zurich Open Repository and Archive (University of Zurich) · doi:10.48550/arxiv.2201.05425 · Cited by 2
Put The “Code” Back in “Code Comprehension Study”
Chin, K. D., & Holmes, R. (2026) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3794763.3794806 · Cited by 2
Striffs: Architectural Component Diagrams for Code Reviews
Fadhel, M., & Sekerinski, E. (2021) · International Conference on Code Quality (ICCQ) · doi:10.1109/iccq51190.2021.9392939 · Cited by 2
Synthesising Linear API Usage Examples for API Documentation
Alharbi, S., Kolovos, D. S., & Matragkas, N. (2022) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme55016.2022.00084 · Cited by 2
Towards the Readability of LLM-Generated Codes through Multitask Representation EngineeringPreprint
Gao, H., He, L., Pan, Y., Yu, S., Zeng, Y., Qin, S., & Sun, W. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.06214 · Cited by 1
What can program repair learn from code review?
Endres, M., Reiter, P., Forrest, S., & Weimer, W. R. (2022) · IEEE/ACM International Workshop on Automated Program Repair (APR) · doi:10.1145/3524459.3527352 · Cited by 1
Ranković, N., Ranković, D., Ivanović, M. D., & Lazić, L. (2024) · Artificial intelligence-enhanced software and systems engineering · doi:10.1007/978-3-031-76572-8_9 · Cited by 1
A First Look at the Self-Admitted Technical Debt in Test Code: Taxonomy and DetectionPreprint
Islam, M. S., Opu, M. N. I., Wang, S., & Chowdhury, S. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.22409 · Cited by 1
Chen, C., & Shoga, M. (2021) · Advances in Science Technology and Engineering Systems Journal · doi:10.25046/aj060219 · Cited by 1
Investigating the Impact of Vocabulary Difficulty and Code Naturalness on Program ComprehensionPreprint
Lin, B., & Robles, G. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2308.13429 · Cited by 1
Medeiros, J. (2019) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT) · Cited by 1
CIDRe: A Reference-Free Multi-Aspect Criterion for Code Comment Quality MeasurementPreprint
Dziuba, M., & Malykh, V. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2505.19757 · Cited by 1
TranspileJS, an Intelligent Framework for Transpiling JavaScript to WebAssembly
Ferreira, J. P., Bispo, J., & Lima, S. M. D. S. (2025) · ACM SIGPLAN International Conference on Software Language Engineering (SLE) · doi:10.1145/3732771.3742714 · Cited by 1
What Makes In-Context Examples Effective for Code Generation?
Li, D., Chen, S., Cao, J., & Cheung, S.-C. (2026) · Proceedings of the ACM on Software Engineering · doi:10.1145/3832275
Experimental investigation of the consequences of expected source code understandability
Merz, L. (2020) · OPUS Publication Server of the University of Stuttgart (University of Stuttgart) · doi:10.18419/opus-11187
To GOTO or Not to GOTO: Measuring Structural Complexity of (Decompiled) Code
Enders, S., Behner, E.-M. C., & Padilla, E. (2026) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3794763.3794827
Investigating the Quality Aspects of Crowd-Sourced Developer Forum: A Case Study of Stack Overflow
Mondal, S. (2020) · HARVEST (University of Saskatchewan)
Subjective Code Preferences in Experts and Large Language ModelsPreprint
Mokhova, A., Dutta, S., Gurevych, I., & Balloccu, S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2605.25296
Narrowing the Complexity Gap in the Evaluation of Large Language ModelsPreprint
Chen, Y., Liu, S., & Jabbarvand, R. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2602.18928
The limits and promise of software-metric-based prediction: from method-level bugs to app popularity
Opu, M. N. I. (2026) · Mspace (University of Manitoba)
Automating Issue Report Labeling and Source Code Comment Generation using Large Language Models
Johnston, L. (2026) · QSpace (Queen's University Library)
Métricas de legibilidad del software: una revisión sistemática de literatura
Flórez, E., & Sofía, Í. (2020)
OSAGE: A Framework for Obfuscated Sample Generation and Evaluation
Schrittwieser, S., Kochberger, P., Lienhart, F., & Weippl, E. R. (2025) · Communications in computer and information science · doi:10.1007/978-3-032-09598-5_2
Understanding Code Understandability
Oliveira, D. H. S. (2023) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Sentinel : processo para remoção automática de test smells
Pizzini, A., Malucelli, A., & Reinehr, S. (2024) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Chou, Y.-H., Jiang, B., Jain, V., Min, Y., Wang, A. Y., & Jones, J. A. (2026) · Empirical Software Engineering · doi:10.1007/s10664-026-10988-z
Urbanke, P. (2022) · reposiTUm (TU Wien) · doi:10.34726/hss.2022.103606
The Impact of Test Case Clustering on Comprehending Automatically Generated Test Suites
Lin, L. (. (2023) · Research Repository (Delft University of Technology)
Heiler, E. J., & Ladeira, R. D. L. R. (2026) · Anais do Computer on the Beach · doi:10.14210/cotb.v17.p458-464
Improving our understanding of test code: technical debt and evolution
Islam, M. S. (2026) · Mspace (University of Manitoba)
Crowdsourced documentation and code snippets
Geremia, S. (2020) · Archivio Istituzionale della Ricerca - Università degli Studi del Molise
Investigating Whether Clean Code Helps Developers in Understanding a New Project
Bottema, R. (2019) · Research Repository (Delft University of Technology)
Towards Understanding Programs by Counting Objects
Tempero, E. D., & Ralph, P. (2018) · Australasian Software Engineering Conference (ASWEC) · doi:10.1109/aswec.2018.00009
Medeiros, J. (2019) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT)
Agents as Architecture Evaluators: Automating ATAM and SAAM for Continuous Assessment
Anonymous, Miryala, S., & Vaidhyanathan, K. (2026) · International Workshop on Agentic AI for Next-Generation Software Development · doi:10.1145/3843282.3844431
Predicting Change-Proneness with a Deep Learning Model: Incorporating Structural Dependencies
Hu, Y., & Jiang, H. (2024) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac61105.2024.00162
Static Analysis of Code Quality in Open-Source Python Projects
Ali, B. A. A. (2025) · doi:10.64589/juri/215034
Toward Reliable Automatic Proxies for Code Comprehensibility
Arvan, E. (2026) · ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH) · doi:10.1145/3837729.3842150
Metadata
- Authors
- Scalabrino, S., Bavota, G., Vendome, C., Linares-Vasquez, M., Poshyvanyk, D., & Oliveto, R.
- Venue
- 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE)
- Publisher
- IEEE
- Published
- 2017-10
- Pages
- 417-427
- OpenAlex
- W2749460454
- Cited by
- 97
- References
- 41
- FWCI
- 5.93
- Type
- conference paper
- Language
- en
- Open access
- closed
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.