Table of Contents
Fetching ...

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

Marvin Wyrich, Justus Bogner, Stefan Wagner

TL;DR

A systematic mapping study of 95 source code comprehension experiments published between 1979 and 2019 provides 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.

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.

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

TL;DR

A systematic mapping study of 95 source code comprehension experiments published between 1979 and 2019 provides 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.

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.
Paper Structure (39 sections, 12 figures, 6 tables)

This paper contains 39 sections, 12 figures, 6 tables.

Figures (12)

  • Figure 1: Schematic representation of the research methodology
  • Figure 2: Number of publications per year and venue
  • Figure 3: Most popular study themes (assigned to at least 4 papers)
  • Figure 4: Evolution of the four most popular study categories according to their number of occurrences
  • Figure 5: Names for the central construct in our primary studies
  • ...and 7 more figures