CoChat

Descriptive compound identifier names improve source code comprehension

Schankin, Andrea, Berger, Annika, Holt, Daniel V., Hofmeister, Johannes C., Riedel, Till, Beigl, Michael · 2018 · Proceedings of the 26th Conference on Program Comprehension

The DOI matches its Crossref record; 25 of the 26 references it cites were found in a registry or an index.

Abstract

Reading and understanding source code is a major task in software development. Code comprehension depends on the quality of code, which is impacted by code structure and identifier naming. In this paper we empirically investigated whether longer but more descriptive identifier names improve code comprehension compared to short names, as they represent useful information in more detail. In a web-based study 88 Java developers were asked to locate a semantic defect in source code snippets. With descriptive identifier names, developers spent more time in the lines of code before the actual defect occurred and changed their reading direction less often, finding the semantic defect about 14% faster than with shorter but less descriptive identifier names. These effects disappeared when developers searched for a syntax error, i.e., when no in-depth understanding of the code was required. Interestingly, the style of identifier names had a clear impact on program comprehension for more experienced developers but not for less experienced developers.

Overview

Integrity signals

Registry

Crossref · 10.1145/3196321.3196332

Cites

25 of 25 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 25 references

Research works printed but not linked: 2

  1. Richard K. Fjeldstad. 1983. Application program maintenance study: Report to our respondents. Proceedings GUIDE 48, 1983 (1983).
  2. 10.5555/975442 · doi:10.5555/975442

Cited by

See all 73

Metadata

Authors
Schankin, A., Berger, A., Holt, D. V., Hofmeister, J. C., Riedel, T., & Beigl, M.
Affiliations
  • Karlsruhe Institute of Technology (DE)
  • Heidelberg University (DE)
  • University of Passau (DE)
Venue
Proceedings of the 26th Conference on Program Comprehension
Publisher
ACM
Published
2018-05-28
Pages
31-40
OpenAlex
W2883301371
Cited by
73
References
26
Citations by year
2026: 4 · 2025: 7 · 2024: 17 · 2023: 9 · 2022: 8 · 2021: 11 · 2020: 8 · 2019: 9
FWCI
5.49
Type
conference paper
Language
en
Open access
closed
Locations
IEEE International Conference on Program Comprehension (ICPC) (publishedVersion)
Funders
  • FP7 Information and Communication Technologies (610510)
  • Deutsche Forschungsgemeinschaft (SI 2045/2-1)
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 › Computer Science Applications › Teaching and Learning Programming
Keywords
identifier naming, source code comprehension, program comprehension, syntactic errors, reading direction, developer experience, Java, code quality

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.