• Home
  • Search
  • Descriptive compound identifier names improve source code comprehension
  • Cite Icon69
  • https://doi.org/10.1145/3196321.3196332Copy DOI Icon

Descriptive compound identifier names improve source code comprehension

  • May 28, 2018
  • Andrea Schankin +5 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
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.

Similar Papers
  • Conference Article
  • Citations16

Visually analyzing eye movements on natural language texts and source code snippets

  • Jun 25, 2019
  • Tanja Blascheck +1
  • Conference Article
  • Citations13

Employing source code information to improve question-answering in stack overflow

  • May 16, 2015
  • Themistoklis Diamantopoulos +1
  • Research Article
  • Citations15

Big Code Search: A Bibliography

  • Aug 26, 2023
  • ACM Computing Surveys
  • Kisub Kim +7
  • PDF
  • Research Article
  • Citations6

Crowdsourcing in Software Development: Empirical Support for Configuring Contests

  • Jan 01, 2020
  • IEEE Access
  • Stamatia Bibi +5
  • Conference Article
  • Citations3

Empirically Examining the Quality of Source Code in Engineering Software Systems

  • May 01, 2018
  • Jens K Carter +2
  • Research Article
  • Citations12

Early prediction of quality of service using interface-level metrics, code-level metrics, and antipatterns

  • May 19, 2020
  • Information and Software Technology
  • Chaima Abid +2
  • Book Chapter

Fuzzy Logic Based Computational Technique for Analyzing Software Bug Repository

  • Jan 03, 2023
  • Rama Ranjan Panda +1
  • Research Article
  • Citations18

Eye-movement indices of reading while debugging Python source code

  • Dec 31, 2024
  • Journal of Cognitive Psychology
  • Jack Dempsey +4
  • Conference Article
  • Citations4

Studying the Relation between Anti-Patterns in Design Models and in Source Code

  • Mar 01, 2016
  • Bilal Karasneh +3
  • Book Chapter
  • Citations2

An Online Developer Profiling Tool Based on Analysis of GitLab Repositories

  • Jan 01, 2019
  • Jing Wang +3
  • PDF
  • Research Article
  • Citations28

Combining Machine Learning and Logical Reasoning to Improve Requirements Traceability Recovery

  • Oct 16, 2020
  • Applied Sciences
  • Tong Li +3
  • Research Article
  • Citations1

A generic BASIC program for data communications

  • May 01, 1985
  • Behavior Research Methods, Instruments, & Computers
  • Collin T Ballance +2
  • Conference Article
  • Citations30

Teaching software quality via source code inspection tool

  • Oct 01, 2017
  • Pedro Henrique De Andrade Gomes +5
  • Conference Article
  • Citations1

Providing a tailored overview of program source code

  • Apr 21, 2006
  • J Louise Finlayson
  • Conference Article
  • Citations172

An empirical analysis of the distribution of unit test smells and their impact on software maintenance

  • Sep 01, 2012
  • Gabriele Bavota +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.