CoChat

Improving code readability models with textual features

Scalabrino, Simone, Linares-Vasquez, Mario, Poshyvanyk, Denys, Oliveto, Rocco · 2016 · 2016 IEEE 24th International Conference on Program Comprehension (ICPC)

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

Crossref · 10.1109/icpc.2016.7503707

Cites

45 of 46 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

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?

Citations

Cites

Show all 46 references

Research works printed but not linked: 4

  1. Martin, 2009, Clean Code: A Handbook of Agile Sofware Craftsmanship
  2. Takang, 1996, The effects of comments and identifier names on program comprehensibility: an experiential study, Journal of Program Languages, 4, 143
  3. Collins american dictionary
  4. 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-citation
  • A 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-citation
  • The 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.”
    Background
  • Automatically 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-citation
  • A 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 105

    “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.”
    BackgroundResult

See all 159

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
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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Improving code readability models with textual features. https://app.cochat.ai/papers/10.1109/icpc.2016.7503707
The paper
Scalabrino, S., Linares-Vasquez, M., Poshyvanyk, D., & Oliveto, R. (2016). Improving code readability models with textual features. 2016 IEEE 24th International Conference on Program Comprehension (ICPC). https://doi.org/10.1109/icpc.2016.7503707

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.