kirancodes.me
To Proof Maintenance & Beyond!

Measuring neural efficiency of program comprehension

Janet Siegmund, Norman Peitek, Chris Parnin, Sven Apel, Johannes C. Hofmeister, Christian Kästner, Andrew Begel, Anja Bethmann, André Brechmann

Abstract

Most modern software programs cannot be understood in their entirety by a single programmer. Instead, programmers must rely on a set of cognitive processes that aid in seeking, filtering, and shaping relevant information for a given programming task. Several theories have been proposed to explain these processes, such as ``beacons,' for locating relevant code, and ``plans,'' for encoding cognitive models. However, these theories are decades old and lack validation with modern cognitive-neuroscience methods. In this paper, we report on a study using functional magnetic resonance imaging (fMRI) with 11 participants who performed program comprehension tasks. We manipulated experimental conditions related to beacons and layout to isolate specific cognitive processes related to bottom-up comprehension and comprehension based on semantic cues. We found evidence of semantic chunking during bottom-up comprehension and lower activation of brain areas during comprehension based on semantic cues, confirming that beacons ease comprehension.

BibTeX
@inproceedings{Siegmund-al:FSE17,
  author    = {Janet Siegmund and
               Norman Peitek and
               Chris Parnin and
               Sven Apel and
               Johannes C. Hofmeister and
               Christian K{\"{a}}stner and
               Andrew Begel and
               Anja Bethmann and
               Andr{\'{e}} Brechmann},
  title     = {Measuring neural efficiency of program comprehension},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {140--150},
  publisher = {{ACM}},
  year      = {2017},
}

Related papers