Improving code readability models with textual features
The DOI matches its Crossref record; 45 of the 46 references it cites were found in a registry or an index, and 1 are not checked yet.
Abstract
Code reading is one of the most frequent activities in software maintenance; before implementing changes, it is necessary to fully understand source code often written by other developers. Thus, readability is a crucial aspect of source code that may significantly influence program comprehension effort. In general, models used to estimate software readability take into account only structural aspects of source code, e.g., line length and a number of comments. However, source code is a particular form of text; therefore, a code readability model should not ignore the textual aspects of source code encapsulated in identifiers and comments. In this paper, we propose a set of textual features aimed at measuring code readability. We evaluated the proposed textual features on 600 code snippets manually evaluated (in terms of readability) by 5K+ people. The results demonstrate that the proposed features complement classic structural features when predicting code readability judgments. Consequently, a code readability model based on a richer set of features, including the ones proposed in this paper, achieves a significantly higher accuracy as compared to all of the state-of-the-art readability models.
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
“Prior works categorize code features into three dimensions: code naming [64], code format [55], and implementation details [13].”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [64]
In the citing paper
“Prior works indicated that identifier names may largely affect code comprehension for both humans and LLMs [8, 64].”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [64]
In the citing paper
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [64]
Citations
Cites
A Simple Sequentially Rejective Multiple Test Procedure
(1979) · Scandinavian Journal of Statistics · doi:10.2307/4615733 · Cited by 21,526
WordNet: a lexical database for English
Miller, G. A. (1995) · Communications of the ACM · doi:10.1145/219717.219748 · Cited by 14,015 · cited 3×
“For each term in the source code, we measure its number of meanings derived from WordNet [35] .”
MethodInfluentialFlesch, R. (1948) · Journal of Applied Psychology · doi:10.1037/h0057532 · Cited by 5,391 · cited 2×
“Thus, we introduced a feature that calculates the readability of comments (CR) using the Flesch-Kincaid [33] index, commonly used to assess readability of natural language texts.”
MethodCohen, J. (1994) · American Psychologist · doi:10.1037/0003-066x.49.12.997 · Cited by 4,003 · cited 2×
“issue of no statistical significance with large effect size is an artifact of the size of the samples used with the test, which has been reported previously by Cohen [44] and Harlow et al.”
Method5.7 The WORDNET lexical database of English
(2019) · Computer Corpus Lexicography · doi:10.1515/9781474471459-050 · Cited by 1,865
Kleinberg, J. M., & Eva Tardos, D. (2005) · Cited by 1,400
Recovering traceability links between code and documentation
Antoniol, G., Canfora, G., Casazza, G., De Lucia, A., & Merlo, E. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1041053 · Cited by 967 · cited 1×
“Consequently, identifiers and comments can be used to measure the conceptual cohesion and coupling of classes [18], [19], and to recover traceability links between documentation artifacts (e.g., requirements) and source code (e.g., [20]).”
BackgroundEffect sizes for research: A broad practical approach.
Grissom, R. J., & Kim, J. J. (2005) · Cited by 732
Classifying Software Changes: Clean or Buggy?
Kim, S., Whitehead, & Zhang, Y. (2008) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2007.70773 · Cited by 672 · cited 1×
“We chose accuracy because it is widely used in the literature [46], and in particular for readability metrics [8].”
MethodWhat If There Were No Significance Tests?
(2013) · Psychology Press eBooks · doi:10.4324/9781315827353 · Cited by 667 · cited 1×
“[45]; in fact, the size of the samples used in our tests for each dataset is 10 measurements (note that we performed 10-fold cross validation).”
Background
Research works printed but not linked: 4
- Martin, 2009, Clean Code: A Handbook of Agile Sofware Craftsmanship
- Takang, 1996, The effects of comments and identifier names on program comprehensibility: an experiential study, Journal of Program Languages, 4, 143
- Collins american dictionary
- 2007, Handbook of Parametric and Nonparametric Statistical Procedures
Cited by
On Learning Meaningful Code Changes Via Neural Machine Translation
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00021 · Cited by 207
“5) Readability: Readable code is easier to understand and maintain [59].”
BackgroundSelf-citationA comprehensive model for code readability
Scalabrino, S., Linares‐Vásquez, M., Oliveto, R., & Poshyvanyk, D. (2018) · Journal of Software: Evolution and Process · doi:10.1002/smr.1958 · Cited by 110
“With respect to our previous study, 18 we increased the “ search termination ” parameter from 5 to 10, in order to search more deeply in the possible features subsets.”
BackgroundMethodResultInfluentialSelf-citationThe effect of poor source code lexicon and readability on developers' cognitive load
Fakhoury, S., Ma, Y., Arnaoudova, V., & Adesope, O. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196347 · Cited by 159
“Table 1 lists method level metrics that have been shown to correlate with readability and comprehensibility [7, 20, 25, 30, 33], The '+' symbol indicates that a feature is positively correlated with high readability and comprehensibility of the code, and the '-' symbol indicates the opposite.”
BackgroundAutomatically Assessing Code Understandability
Scalabrino, S., Bavota, G., Vendome, C., Linares‐Vásquez, M., Poshyvanyk, D., & Oliveto, R. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2901468 · Cited by 126
“Scalabrino et al. [14] define Narrow Meaning Identifiers (NMI), Number of Meanings (NM), Identifiers Terms In Dictionary (ITID) and Textual Coherence (TC) to capture the readability of a code snippet.”
BackgroundMethodInfluentialSelf-citationA Large-Scale Empirical Study on Code-Comment Inconsistencies
Wen, F., Nagy, C., Bavota, G., & Lanza, M. (2019) · 2019 IEEE/ACM 27th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2019.00019 · Cited by 104
“On a similar line of research, Scalabrino et al. [9] used the semantic (textual) consistency between source code and comments to assess code readability, conjecturing that the higher this consistency, the higher the readability of the commented code.”
BackgroundResultShorter identifier names take longer to comprehend
Hofmeister, J., Siegmund, J., & Holt, D. V. (2017) · 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884623 · Cited by 75
Automatically assessing code understandability: How far are we?
Scalabrino, S., Bavota, G., Vendome, C., Linares-Vasquez, M., Poshyvanyk, D., & Oliveto, R. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115654 · Cited by 97
“[14] proposed and evaluated a set of features based entirely on source code lexicon analysis (e.”
BackgroundMethodInfluentialSelf-citationAn empirical investigation on the readability of manual and generated test cases
Grano, G., Scalabrino, S., Gall, H. C., & Oliveto, R. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196363 · Cited by 95
“[21].”
BackgroundMethodInfluentialSelf-citationImproving Code: The (Mis) Perception of Quality Metrics
Pantiuchina, J., Lanza, M., & Bavota, G. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00017 · Cited by 88
“(TC) [24] of the newly introduced methods.”
BackgroundImproving Source Code Readability: Theory and Practice
Fakhoury, S., Roy, D., Hassan, S. A., & Arnaoudova, V. (2019) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2019.00014 · Cited by 83
“[27] perform an extensive evaluation of 121 existing as well as new code-related ([6], [8], [24], [29]), documentation-related ([29] and 2 newly introduced), and developer-related (3 newly introduced) metrics.”
BackgroundA decade of code comment quality assessment: A systematic literature review
Rani, P., Blasi, A., Stulova, N., Panichella, S., Gorla, A., & Nierstrasz, O. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111515 · Cited by 80
Improving code readability classification using convolutional neural networks
Mi, Q., Keung, J., Xiao, Y., Mensah, S., & Gao, Y. (2018) · Information and Software Technology · doi:10.1016/j.infsof.2018.07.006 · Cited by 77
Shorter identifier names take longer to comprehend
Hofmeister, J. C., Siegmund, J., & Holt, D. V. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9621-x · Cited by 68
Impacts of coding practices on readability
dos Santos, R. M., & Gerosa, M. A. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196342 · Cited by 68
“[6, 27].”
BackgroundMethodMaking the most of small Software Engineering datasets with modern machine learning
Prenner, J. A., & Robbes, R. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3135465 · Cited by 65
“A relatively small number of papers [26], [55], [56], [57], [58] examine models for automatic code readability estimation.”
BackgroundMethodFakhoury, S., Roy, D., Ma, Y., Arnaoudova, V., & Adesope, O. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09751-4 · Cited by 63
“Table 1 lists method level metrics that have been shown to correlate with readability and comprehensibility (Halstead 1977; McCabe 1976; Posnett et al. 2011; Buse and Weimer 2010; Scalabrino et al. 2016).”
BackgroundAn Empirical Study Assessing Source Code Readability in Comprehension
Johnson, J., Lubo, S., Yedla, N., Aponte, J., & Sharif, B. (2019) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2019.00085 · Cited by 58
“[8] have been used as the basis for investigating the impact of Java coding practices on the readability perceived by software developers [25].”
BackgroundMethodLightweight Assessment of Test-Case Effectiveness Using Source-Code-Quality Indicators
Grano, G., Palomba, F., & Gall, H. C. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2903057 · Cited by 57
“In this regard, we employed tools which have been shown as effective in previous literature [35], [50], [56].”
BackgroundMethod"Automatically assessing code understandability" reanalyzed: combined metrics matter
Trockman, A., Cates, K., Mozina, M., Nguyen, T. H., Kästner, C., & Vasilescu, B. (2018) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3196398.3196441 · Cited by 48
“Numerous models and metrics have been proposed for a related concept, code readability [6, 8, 9, 13, 16, 18].”
BackgroundMethodLinking Code Readability, Structure, and Comprehension Among Novices: It's Complicated
Wiese, E. S., Rafferty, A. N., & Fox, A. (2019) · IEEE/ACM International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet.2019.00017 · Cited by 47
“Accordingly, researchers are examining additional contextual features to develop more precise readability metrics [22].”
BackgroundHow does code readability change during software evolution?
Piantadosi, V., Fierro, F., Scalabrino, S., Serebrenik, A., & Oliveto, R. (2020) · Empirical Software Engineering · doi:10.1007/s10664-020-09886-9 · Cited by 47
“(2018) with all the Java snippets and these are from the union of three readability datasets currently available (Buse and Weimer 2010; Dorn 2012; Scalabrino et al. 2016), also performing features selection, as suggested in the original paper.”
BackgroundMethodInfluentialSelf-citationToward 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
“We then compute a set of state-of-the-art program readability metrics defined by Scalabrino et al. [42] on the refactoring commits and on their previous commits: in this way, we could precisely quantify how much the refactoring operations modified the program readability metrics.”
BackgroundMethodPizza versus Pinsa: On the Perception and Measurability of Unit Test Code Quality
Grano, G., Iaco, C. D., Palomba, F., & Gall, H. C. (2020) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme46990.2020.00040 · Cited by 43
“In so doing, they relied on the state-of-art model for readability [39]: being trained on both production and test code snippets, it is suitable to analyze test readability as well [40].”
BackgroundMethodRevisiting the debate: Are code metrics useful for measuring maintenance effort?
Chowdhury, S., Holmes, R., Zaidman, A., & Kazman, R. (2022) · Empirical Software Engineering · doi:10.1007/s10664-022-10193-8 · Cited by 40
“User studies are subjective: Much metrics research relies on user studies to understand the impact of metrics on maintenance indicators (Abid et al. 2019; Hofmeister et al. 2017; Scalabrino et al. 2016; Buse and Weimer 2010; Scalabrino et al. 2017; Antinyan et al. 2017; Bauer et al. 2019; Kafura and Reddy 1987; Curtis…”
BackgroundHow do Scratch Programmers Name Variables and Procedures?
Swidan, A., Serebrenik, A., & Hermans, F. (2017) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2017.12 · Cited by 38
“Naming identifiers in software code has been studied extensively in the past decades [1], [2], [3], [4], [5], [6], [7], [8], [21], [22], [23], [24], [25], [26], [27].”
BackgroundAn empirical study on maintainable method size in Java
Chowdhury, S., Uddin, G., & Holmes, R. (2022) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3524842.3527975 · Cited by 36
“This model was later improved by Posnett et al. [63] and Scalabrino et al. [72].”
BackgroundMethodDoes the Introduction of Lambda Expressions Improve the Comprehension of Java Programs?
Lucas, W., Bonifácio, R., Canedo, E. D., Marcílio, D., & Lima, F. (2019) · Brazilian Symposium on Software Engineering · doi:10.1145/3350768.3350791 · Cited by 35
“Finally, we could also have used other models to estimate readability, which have been previously discussed in the literature [21].”
MethodAndroEvolve: automated Android API update with data flow analysis and variable denormalization
Haryono, S. A., Thung, F., Lo, D., Jiang, L., Lawall, J., Kang, H. J., Serrano, L., & Muller, G. (2022) · Empirical Software Engineering · doi:10.1007/s10664-021-10096-0 · Cited by 36
“These features include structural features (e.g. numbers of lines of code, length of each line of code, etc.) and textual features (e.g. name of variables, consistency between comments and variable name, etc.).”
An empirical assessment of best-answer prediction models in technical Q&A sites
Calefato, F., Lanubile, F., & Novielli, N. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9642-5 · Cited by 35
“Furthermore, future replication will seek to improve the performance by leveraging more computationally intensive semantic features (e.g., Jaccard index) to leverage the textual coherence between the content of a question and its answers (Scalabrino et al. 2016).”
BackgroundTowards using visual, semantic and structural features to improve code readability classification
Mi, Q., Hao, Y., Ou, L., & Ma, W. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111454 · Cited by 34
Method-level Bug Prediction: Problems and Promises
Chowdhury, S., Uddin, G., Hemmati, H., & Holmes, R. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3640331 · Cited by 34
“When history data is available, practitioners have two more options for building the training data: They can mix the history data of the test project with other projects’ data, or they can use only the history data of the test project.”
BackgroundThe effectiveness of data augmentation in code readability classification
Mi, Q., Xiao, Y., Cai, Z., & Jia, X. (2020) · Information and Software Technology · doi:10.1016/j.infsof.2020.106378 · Cited by 31
How Does Library Migration Impact Software Quality and Comprehension? An Empirical Study
Alrubaye, H., Alshoaibi, D., AlOmar, E. A., Mkaouer, M. W., & Ouni, A. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-64694-3_15 · Cited by 29
“API migrations do improve code readability, as both BWR [11] and SR [22] readability metrics experience a significant increase when comparing code fragments before and after the migration.”
BackgroundMethodInfluentialReassessing Java Code Readability Models with a Human-Centered Approach
Sergeyuk, A., Lvova, O., Titov, S., Serova, A., Bagirov, F., Kirillova, E., & Bryksin, T. (2024) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3643916.3644435 · Cited by 28
“In academic research, Code Readability is usually defined as a subjective, mostly implicit human judgment of how easy the code is to understand [3, 26, 29].”
BackgroundEvaluating Software Documentation Quality
Tang, H., & Nadi, S. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00023 · Cited by 27
On the relationship between source-code metrics and cognitive load: A systematic tertiary review
Andaloussi, A. A. (2023) · Journal of Systems and Software · doi:10.1016/j.jss.2023.111619 · Cited by 27
A graph-based code representation method to improve code readability classification
Mi, Q., Zhan, Y., Weng, H., Bao, Q., Cui, L., & Ma, W. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10319-6 · Cited by 26
“In order to keep the consistency of the dataset, we retrain and test M1 and M2 models based on Scalabrino et al.’s dataset (Scalabrino et al 2016). For two-class classification, we only train on 100 code snippets in Readable and Unreadable groups as described in Sect. 4.1. For three-class classification, we use all th…”
BackgroundMethodResultInfluentialIs there a correlation between code comments and issues? an exploratory study
Misra, V., Reddy, J. S. K., & Chimalakonda, S. (2020) · ACM Symposium on Applied Computing · doi:10.1145/3341105.3374009 · Cited by 26
“Code comments have been considered as an important factor to assess the quality of code[10, 19].”
BackgroundAutomated 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
“The third measure is the Comments and Identifiers Consistency ( CIC syn ), proposed by Scalabrino et al. [32] to assess code readability.”
BackgroundCan Issues Reported at Stack Overflow Questions be Reproduced? An Exploratory Study
Mondal, S., Rahman, M. M., & Roy, C. K. (2019) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2019.00074 · Cited by 25
“A number of studies investigate the quality of a code segment by measuring its readability [4, 5, 8, 16, 18, 24] and understandability [12, 19, 26].”
BackgroundAn Inception Architecture-Based Model for Improving Code Readability Classification
Mi, Q., Keung, J., Xiao, Y., Mensah, S., & Mei, X. (2018) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3210459.3210473 · Cited by 24
“The results show that: (RQ1) Annotator information is beneficial for classification performance; (RQ2) IncepCRM achieves state-of-the-art accuracy in comparison to previous code readability models [1, 7, 23].”
BackgroundMethodResultInfluentialInvestigating the readability of test code
Winkler, D., Urbanke, P., & Ramler, R. (2024) · Empirical Software Engineering · doi:10.1007/s10664-023-10390-z · Cited by 23
“We identified 12 types of influence factors in the analysis of the gray literature.”
Improving Readability of Scratch Programs with Search-based Refactoring
Adler, F., Fraser, G., Gründinger, E., Körber, N., Labrenz, S., Lerchenberger, J., Lukasczyk, S., & Schweikl, S. (2021) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam52516.2021.00023 · Cited by 23
On Learning Meaningful Code Changes via Neural Machine TranslationPreprint
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.09102 · Cited by 22
“5) Readability: Readable code is easier to understand and maintain [59].”
BackgroundSelf-citationSlice-Based Cognitive Complexity Metrics for Defect Prediction
Alqadi, B. S., & Maletic, J. I. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054836 · Cited by 21
CrowdSummarizer: 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
Feitelson, D. G. (2022) · Empirical Software Engineering · doi:10.1007/s10664-022-10160-3 · Cited by 18
Using Deep Learning to Automatically Improve Code Readability
Vitale, A., Piantadosi, V., Scalabrino, S., & Oliveto, R. (2023) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00112 · Cited by 18
“Given the relevance of the problem, previous work aimed at defining models to automatically assess the code readability [4], [5], [9], [32], [38], [43], [44].”
BackgroundSelf-citationR2I: A Relative Readability Metric for Decompiled Code
Eom, H., Kim, D., Lim, S., Koo, H., & Hwang, S. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3643744 · Cited by 18
“Besides, we study academic contributions to promote code readability [Buse and Weimer 2008; Chen et al. 2010; Dorn 2012; Enders et al. 2023; Posnett et al. 2011; Scalabrino et al. 2018, 2016; Schulte et al. 2018; Yakdan et al. 2015].”
Rani, P., Panichella, S., Leuenberger, M., Ghafari, M., & Nierstrasz, O. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-09981-5 · Cited by 18
“– Comment quality tools : Researchers have provided various heuristics-based approaches to evaluate comment quality (Khamis et al., 2010; Steidl et al., 2013; Scalabrino et al., 2016).”
BackgroundWhat Do We Know About Readability of Test Code? - A Systematic Mapping Study
Winkler, D., Urbanke, P., & Ramler, R. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00135 · Cited by 18
Do Programmers Prefer Predictable Expressions in Code?
Casalnuovo, C., Lee, K., Wang, H., Dévanbu, P., & Morgan, E. (2020) · Cognitive Science · doi:10.1111/cogs.12921 · Cited by 18
“More recently, work on readability, as determined by human subjects beliefs about how difficult it is to understand code, has seen some attention Buse and Weimer (2008, 2009); Posnett et al. (2011); Dorn (2012); Scalabrino et al. (2016).”
BackgroundOn Developers’ Self-Declaration of AI-Generated Code: An Analysis of Practices
Kashif, S. M., Liang, P., & Tahir, A. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3771937 · Cited by 18
“Some participants mentioned that they see AI-generated code similar to finding solutions from code documentation or developer forums, as in 𝑅 87 “ No need [for self-declaring AI-generated code] because it would be like declaring some code that comes from documentation or StackOverflow or a…”
A Model to Detect Readability Improvements in Incremental Changes
Roy, D., Fakhoury, S., Lee, J., & Arnaoudova, V. (2020) · International Conference on Program Comprehension · doi:10.1145/3387904.3389255 · Cited by 19
“The first one was presented by Buse and Weimer et al. [8] and the second metric is the one proposed by Scalabrino et al. [46].”
BackgroundSelected Code-Quality Characteristics and Metrics for Internet of Things Systems
Klima, M., Bureš, M., Frajták, K., Rechtberger, V., Trnka, M., Bellekens, X., Cerny, T., & Ahmed, B. S. (2022) · IEEE Access · doi:10.1109/access.2022.3170475 · Cited by 18
“Despite such a property of code that might be difficult to measure exactly, several attempts have been made for such a quantification [14], [66], [67].”
BackgroundMethodMeasuring code maintainability with deep neural networks
Hu, Y., Jiang, H., & Hu, Z. (2023) · Frontiers of Computer Science · doi:10.1007/s11704-022-2313-0 · Cited by 17
Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassian
Takerngsaksiri, W., Tantithamthavorn, C. K., Fu, M., Pasuksmit, J., Chen, K., & Wu, M. (2025) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme64153.2025.00073 · Cited by 16
“These results indicate that the HULA framework can produce code that closely resembles human-written code in terms of code readability, indicating the promising performance of LLM in production.”
Evidence is All We Need: Do Self-Admitted Technical Debts Impact Method-Level Maintenance?
Chowdhury, S., Kidwai, H., & Asaduzzaman, M. (2025) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr66628.2025.00118 · Cited by 15
An empirical investigation on the trade-off between smart contract readability and gas consumption
Vacca, A., Fredella, M., Sorbo, A. D., Visaggio, C. A., & Canfora, G. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3529157 · Cited by 14
“Other studies [32, 33] proposed to extend the existing source code readability models by also considering textual (or lexical) aspects in addition to structural ones.”
BackgroundAljedaani, W., Mkaouer, M. W., Peruma, A., & Ludi, S. A. (2023) · IEEE/ACM International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet58685.2023.00009 · Cited by 13
“Additionally, the current research discovered that test cases with descriptive names and commented asserts increase their readability [37].”
BackgroundCharacterizing top ranked code examples in Google
Hora, A. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.110971 · Cited by 13
The reproducibility of programming-related issues in Stack Overflow questions
Mondal, S., Rahman, M. M., Roy, C. K., & Schneider, K. A. (2022) · Empirical Software Engineering · doi:10.1007/s10664-021-10113-2 · Cited by 12
“A number of studies investigate the quality of a code segment by measuring its readability (Buse and Weimer 2008; 2010; Daka et al. 2015; Posnett et al. 2011; Scalabrino et al. 2016; Treude and Robillard 2017) and understandability (Lin and Wu 2008; Scalabrino et al. 2017; Trockman et al. 2018).”
BackgroundChowdhury, S. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715006 · Cited by 11
“Figure 1 (a) illustrates that a method’s age is positively correlated with the number of revisions it undergoes.”
Personalized Code Readability Assessment: Are We There Yet?
Vitale, A., Guglielmi, E., Oliveto, R., & Scalabrino, S. (2025) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc66645.2025.00019 · Cited by 11
“We found that about 32% and 23% of the evaluations in the datasets by Buse and Weimer [5] and Scalabrino et al. [21] might contain contradictions, respectively.”
InfluentialSelf-citationiSCREAM: a suite for Smart Contract REAdability assessMent
Canfora, G., Sorbo, A. D., Fredella, M., Vacca, A., & Visaggio, C. A. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme52107.2021.00060 · Cited by 11
Assessing Consensus of Developers' Views on Code ReadabilityPreprint
Sergeyuk, A., Lvova, O., Titov, S., Serova, A., Bagirov, F., & Bryksin, T. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2407.03790 · Cited by 11
“…research (Sergeyuk et al., 2024) explored the potential of existing state-of-the-art Code Readability models (Posnett et al., 2011; Dorn, 2012; Scalabrino et al., 2018, 2016; Mi, Keung, Xiao, Mensah, & Gao, 2018; Mi et al., 2022) to be learning objectives to guide the process of fine-tuning.”
BackgroundTest Case Understandability Model
Setiani, N., Ferdiana, R., & Hartanto, R. (2020) · IEEE Access · doi:10.1109/access.2020.3022876 · Cited by 10
“At present, there are four readability models [28]–[32] have been proposed for predicting whether the program code is readable or unreadable.”
BackgroundDo Subjectivity and Objectivity Always Agreeƒ A Case Study with Stack Overflow Questions
Mondal, S., Rahman, M. M., & Roy, C. K. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00060 · Cited by 10
“Besides text readability, we measure the readability of the code snippets included in the SO questions as suggested by many studies [11, 17, 38, 45, 10, 51].”
MethodAn eye tracking study assessing source code readability rules for program comprehension
Park, K.-I., Johnson, J., Peterson, C. S., Yedla, N., Baysinger, I., Aponte, J., & Sharif, B. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10532-x · Cited by 9
Assessing code readability in Python programming courses using eye‐tracking
Segedinac, M., Savić, G., Željković, I., Сливка, Ј., & Konjović, Z. (2023) · Computer Applications in Engineering Education · doi:10.1002/cae.22685 · Cited by 9
“These models typically rely on the structural and textual features of the code [6, 24, 25].”
MethodReflections on: A Simpler Model of Software Readability
Posnett, D., Hindle, A., & Dévanbu, P. (2021) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/3468744.3468754 · Cited by 9
“Following Buse et al. [1, 2], Posnett et al. [13], and Dorn [3], Scalabrino et al. [15, 14] combined program comprehension topics with readability.”
BackgroundWulff‐Abramsson, A., Ruder, K., Triantafyllou, E., & Bruni, L. E. (2018) · Advances in intelligent systems and computing · doi:10.1007/978-3-319-94866-9_9 · Cited by 9
Liu, J., Sha, C., & Peng, X. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00039 · Cited by 8
“Code Readability Prediction [37] 200 2 Code”
MethodInfluentialUnderstanding the Impact of Introducing Lambda Expressions in Java Programs
Lucas, W., Fortes, J. A. B., da Frota, F. V. L., Marcílio, D., Bonifácio, R., Canedo, E. D., Lima, F., & Saraiva, J. (2020) · Journal of Software Engineering Research and Development · doi:10.5753/jserd.2020.744 · Cited by 8
“Sev eral research studies (Buse and Weimer, 2010; Posnett et al., 2011; Scalabrino et al., 2016) have explored the use of mod els for estimating the readability of the source code—which directly affect program comprehension.”
BackgroundMethodToo Simple? Notions of Task Complexity used in Maintenance-based Studies of Programming Tools
Rein, P., Beckmann, T., Krebs, E., Mattis, T., & Hirschfeld, R. (2023) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc58990.2023.00040 · Cited by 8
“Alternatively, code readability analysis tools may help estimate the clarity [49], [52], [53].”
BackgroundAn Exploratory Study on the Usage and Readability of Messages Within Assertion Methods of Test Cases
Takebayashi, T., Peruma, A., Mkaouer, M. W., & Newman, C. D. (2023) · IEEE/ACM International Workshop on Natural Language-Based Software Engineering (NLBSE) · doi:10.1109/nlbse59153.2023.00015 · Cited by 8
“, comprehending code comments) [11], [26], [27].”
BackgroundAutomating Test Case Identification in Java Open Source Projects on GitHub
Madeja, M., Porubän, J., Bačíková, M., Sulír, M., Juhár, J., Chodarev, S., & Gurbáľ, F. (2021) · Computing and Informatics · doi:10.31577/cai_2021_3_575 · Cited by 8
“The development of automated tests in a software project is a time-consuming and costly process, as it represents more than half of the entire development process [1].”
MethodAn LLM-based Readability Measurement for Unit Tests' Context-aware InputsPreprint
Zhou, Z., Tang, Y., Lin, Y., & He, J. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2407.21369 · Cited by 8
“Grano et al. [37] leveraged the existing code readability model [38] to compare the readability of manual and automated tests.”
MethodSorour, S. E., Abdelkader, H. E., Sallam, K. M., Chakrabortty, R. K., Ryan, M. J., & Abohany, A. A. (2022) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2022.01.013 · Cited by 7
“Furthermore, the model of Scalabrino et al. (2016), ’D_Scalabrino’ introduced a set of textual attributes aimed at identifiers and comments.”
MethodPolyglot AST: Towards Enabling Polyglot Code Analysis
Houdaille, P., Khelladi, D. E., Briend, R., Jongeling, R., & Combemale, B. (2023) · IEEE International Conference on Engineering of Complex Computer Systems (ICECCS) · doi:10.1109/iceccs59891.2023.00023 · Cited by 7
“As modern software applications continuously grow in scale and complexity, software developers face new challenges related to lack of productivity and readability on code bases [1], [2], [3], [4], [5], [6], [7], [8].”
BackgroundOn the Importance and Shortcomings of Code Readability Metrics: A Case Study on Reactive ProgrammingPreprint
Holst, G., & Dobslaw, F. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.15246 · Cited by 7
“The B&W model has been expanded upon by [2], [8], [9], and Scalabrino et al.”
MethodHow Effectively Do Code Language Models Understand Poor-Readability Code?
Hu, C., Chai, Y., Zhou, H., Meng, F., Zhou, J., & Gu, X. (2024) · Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3691620.3695072 · Cited by 6
“Code readability has long been a focal point in the study of software quality and maintenance [3, 18, 27–29].”
InfluentialOn the Evolution of Code Readability
Piantadosi, V. (2022) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme55016.2022.00082 · Cited by 6
“[11], [12] constructed a new model based on textual aspects.”
What makes a readable code? A causal analysis method
Mi, Q., Chen, M., Cai, Z., & Jia, X. (2023) · Software Practice and Experience · doi:10.1002/spe.3192 · Cited by 6
“Scalabrino et al. 29 claimed that datasets provided by Buse and Weimer, and Dorn are not complete code entities, but code fragments that only represented partial implementations.”
BackgroundMethodInfluentialEASE: An Effort-aware Extension of Unsupervised Key Class Identification Approaches
Pan, W., Kessentini, M., Ming, H., & Yang, Z. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3635714 · Cited by 6
“…commonly assumed that code-related metrics (e.g., Cyclomatic Complexity [41] and LOC ), documentation-related metrics (e.g., Comments Readability [61]), and developer-related metrics (e.g., Programming Experience [59]) are possible proxies for effort estimation [4], although they were not…”
BackgroundReadability-Robust Code Summarization via Meta Curriculum LearningPreprint
Zeng, W., Chai, Y., Zhou, H., Meng, F., Zhou, J., & Gu, X. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.05485 · Cited by 5
“To answer these questions, we leverage two datasets: a manually labeled readability dataset (MLRC) [23], [24] and the widely used CodeSearchNet (CSN) dataset [13].”
Simões, I. R. D. S., & Venson, E. (2025) · Simpósio Brasileiro de Engenharia de Software (SBES) · doi:10.5753/sbes.2025.9603 · Cited by 4
Batool, A., Bashir, M. B., Babar, M. A., Sohail, A., & Ejaz, N. (2021) · Foundations of Computing and Decision Sciences · doi:10.2478/fcds-2021-0009 · Cited by 4
Integration of Program Slicing with Cognitive Complexity for Defect Prediction
Alqadi, B. S., & Maletic, J. I. (2020) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme46990.2020.00106 · Cited by 4
“Thus, source code lexicon impacts the psychological complexity of a program [29, 30].”
BackgroundAn Enhanced Data Augmentation Approach to Support Multi-Class Code Readability Classification
Mi, Q. S., Hao, Y., Wu, M., & Ou, L. (2022) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2022-130 · Cited by 4
“Scalabrino et al. [19] enrich Dorn’s model metrics by complementing textual aspects and achieved a better performance than all prior models.”
BackgroundMethodInfluentialCrowdsourced software development and maintenance
Lin, B. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3183440.3183447 · Cited by 4
“and consistent manner likely eases program comprehension and supports developers in building consistent and coherent conceptual models [26].”
BackgroundAn Analysis of the Differences between Unit and Integration Tests
Trautsch, F. (2019) · eDiss (Georg-August-Universität Göttingen) · doi:10.53846/goediss-7393 · Cited by 4
How Does API Migration Impact Software Quality and Comprehension? An Empirical StudyPreprint
Alrubaye, H., Alshoaibi, D., AlOmar, E. A., Mkaouer, M. W., & Ouni, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.07724 · Cited by 4
“API migrations do improve code readability, as both BWR [14] and SR [44] readability metrics experience a significant in-”
BackgroundCharacterizing Readability Issue Patterns and the Role of Prompt Design in LLM-Generated CodePreprint
Ye, H., Ran, F., Xu, W., & Zhou, M. (2026) · arXiv · doi:10.48550/arxiv.2605.13280 · Cited by 4
“To capture semantic and lexical aspect of code readability, we incorporated TF features [21], [22].”
Do AI Agents Really Improve Code Readability?
Horikawa, K., Horikawa, K., Kashiwa, Y., Uwano, H., & Iida, H. (2026) · IEEE Working Conference on Mining Software Repositories · doi:10.1145/3793302.3793590 · Cited by 2
Multilevel Readability Interpretation Against Software Properties: A Data-Centric Approach
Karanikiotis, T., Papamichail, M. D., & Symeonidis, A. L. (2021) · Communications in computer and information science · doi:10.1007/978-3-030-83007-6_10 · Cited by 3
Khomokhoana, P. J., & Nel, L. (2022) · Communications in computer and information science · doi:10.1007/978-3-030-95003-3_9 · Cited by 3
A Decade of Code Comment Quality Assessment: A Systematic Literature Review
Rani, P., Blasi, A., Stulova, N., Panichella, S., Gorla, A., & Nierstrasz, O. (2022) · Zürcher Hochschule für Angewandte Wissenschaften digital collection (Zurich University of Applied Sciences) · doi:10.48550/arxiv.2209.08165 · Cited by 3
Reproducibility of issues reported in stack overflow questions: Challenges, impact & estimation
Mondal, S., & Roy, B. (2024) · Journal of Systems and Software · doi:10.1016/j.jss.2024.112158 · Cited by 3
“Several studies investigate the quality of SO code snippets by measuring their readability [12, 13, 14, 15, 16, 17], and understandability [18, 19, 20].”
BackgroundAutomatically Documenting Software Artifacts
Li, B. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.56 · Cited by 3
“Therefore, unit test code can also exhibit issues such as bad smells [40, 151, 119, 118, 148, 147], poor readability, and textual/syntactic characteristics that impact program understanding [137, 138].”
Metadata
- Authors
- Scalabrino, S., Linares-Vasquez, M., Poshyvanyk, D., & Oliveto, R.
- Affiliations
- University of Molise (IT)
- William & Mary (US)
- Venue
- 2016 IEEE 24th International Conference on Program Comprehension (ICPC)
- Publisher
- IEEE
- Published
- 2016-05
- Pages
- 1-10
- OpenAlex
- W2463537704
- Semantic Scholar
- 2cfbff01dcdda10fc5743daeaf13eb94fc96e33f
- Cited by
- 114
- References
- 45
- Citations by year
- 2026: 6 · 2025: 7 · 2024: 10 · 2023: 14 · 2022: 15 · 2021: 12 · 2020: 17 · 2019: 15 · 2018: 13 · 2017: 3 · 2016: 2
- FWCI
- 9.34
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- IEEE International Conference on Program Comprehension (ICPC) (publishedVersion)
- Archivio Istituzionale della Ricerca - Università degli Studi del Molise (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Social Sciences › Linguistics and Language › Text Readability and Simplification
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Keywords
- code readability, text features, readability prediction, program comprehension, software maintenance, identifiers, structural features
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.