English

40 Years of Designing Code Comprehension Experiments: A Systematic Mapping Study

Software Engineering 2024-06-27 v2 Human-Computer Interaction

Abstract

The relevance of code comprehension in a developer's daily work was recognized more than 40 years ago. Consequently, many experiments were conducted to find out how developers could be supported during code comprehension and which code characteristics contribute to better comprehension. Today, such studies are more common than ever. While this is great for advancing the field, the number of publications makes it difficult to keep an overview. Additionally, designing rigorous code comprehension experiments with human participants is a challenging task, and the multitude of design options can make it difficult for researchers, especially newcomers to the field, to select a suitable design. We therefore conducted a systematic mapping study of 95 source code comprehension experiments published between 1979 and 2019. By structuring the design characteristics of code comprehension studies, we provide a basis for subsequent discussion of the huge diversity of design options in the face of a lack of basic research on their consequences and comparability. We describe what topics have been studied, as well as how these studies have been designed, conducted, and reported. Frequently chosen design options and deficiencies are pointed out to support researchers of all levels of domain expertise in designing their own studies.

Keywords

Cite

@article{arxiv.2206.11102,
  title  = {40 Years of Designing Code Comprehension Experiments: A Systematic Mapping Study},
  author = {Marvin Wyrich and Justus Bogner and Stefan Wagner},
  journal= {arXiv preprint arXiv:2206.11102},
  year   = {2024}
}

Comments

Accepted for publication at ACM Computing Surveys

R2 v1 2026-06-24T12:00:13.238Z