[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3239235.3240495acmconferencesArticle/Chapter ViewAbstractPublication PagesesemConference Proceedingsconference-collections
research-article
Public Access

Simultaneous measurement of program comprehension with fMRI and eye tracking: a case study

Published: 11 October 2018 Publication History

Abstract

Background Researchers have recently started to validate decades-old program-comprehension models using functional magnetic resonance imaging (fMRI). While fMRI helps us to understand neural correlates of cognitive processes during program comprehension, its comparatively low temporal resolution (i.e., seconds) cannot capture fast cognitive subprocesses (i.e., milliseconds).
Aims To increase the explanatory power of fMRI measurement of programmers, we are exploring in this methodological paper the feasibility of adding simultaneous eye tracking to fMRI measurement. By developing a method to observe programmers with two complementary measures, we aim at obtaining a more comprehensive understanding of program comprehension.
Method We conducted a controlled fMRI experiment of 22 student participants with simultaneous eye tracking.
Results We have been able to successfully capture fMRI and eye-tracking data, although with limitations regarding partial data loss and spatial imprecision. The biggest issue that we experienced is the partial loss of data: for only 10 participants, we could collect a complete set of high-precision eye-tracking data. Since some participants of fMRI studies show excessive head motion, the proportion of full and high-quality data on fMRI and eye tracking is rather low. Still, the remaining data allowed us to confirm our prior hypothesis of semantic recall during program comprehension, which was not possible with fMRI alone.
Conclusions Simultaneous measurement of program comprehension with fMRI and eye tracking is promising, but with limitations. By adding simultaneous eye tracking to our fMRI study framework, we can conduct more fine-grained fMRI analyses, which in turn helps us to understand programmer behavior better.

References

[1]
Roman Bednarik and Markku Tukiainen. 2006. An Eye-Tracking Methodology for Characterizing Program Comprehension Processes. In Proc. Symposium on Eye Tracking Research & Applications (ETRA). ACM, 125--132.
[2]
Anja Bethmann, Claus Tempelmann, Ria De Bleser, Henning Scheich, and André Brechmann. 2007. Determining Language Laterality by fMRI and Dichotic Listening. Brain Research 1133, 1 (2007), 145--157.
[3]
Francis A. Billson. 2003. Strabismus. BMJ Books.
[4]
Rolf Brickenkamp, Lothar Schmidt-Atzert, and Detlev Liepmann. 2010. Test d2--Revision: Aufmerksamkeits-und Konzentrationstest. Hogrefe Göttingen.
[5]
Korbinian Brodmann. 2006. Brodmann's Localisation in the Cerebral Cortex. Springer.
[6]
Ruven Brooks. 1983. Towards a Theory of the Comprehension of Computer Programs. Int'l Journal of Man-Machine Studies 18, 6 (1983), 543--554.
[7]
Teresa Busjahn, Roman Bednarik, Andrew Begel, Martha Crosby, James H. Paterson, Carsten Schulte, Bonita Sharif, and Sascha Tamm. 2015. Eye Movements in Code Reading: Relaxing the Linear Order. In Proc. Int'l Conf. Program Comprehension (ICPC). IEEE, 255--265.
[8]
João Castelhano, Isabel C. Duarte, Carlos Ferreira, João Duraes, Henrique Madeira, and Miguel Castelo-Branco. 2018. The Role of the Insula in Intuitive Expert Bug Detection in Computer Code: An fMRI Study. Brain Imaging and Behavior (May 2018).
[9]
B. Chance, Z. Zhuang, C. UnAh, C. Alter, and Lipton L. 1993. Cognition-Activated Low-Frequency Modulation of Light Absorption in Human Brain. Proc. Nat'l Academy Sciences of the United States of America (PNAS) 90, 8 (1993), 3770--3774.
[10]
Andrew L. Cohen. 2013. Software for the Automatic Correction of Recorded Eye Fixation Locations in Reading Experiments. Behavior Research Methods 45, 3 (2013), 679--683.
[11]
Andrew T. Duchowski. 2017. Eye Tracking Methodology - Theory and Practice, Third Edition. Springer.
[12]
João Duraes, Henrique Madeira, João Castelhano, Isabel C. Duarte, and Miguel Castelo-Branco. 2016. WAP: Understanding the Brain at Software Debugging. In Proc. Int'l Symposium Software Reliability Engineering (ISSRE). IEEE, 87--92.
[13]
Wolfgang Einhäuser, Ueli Rutishauser, and Christof Koch. 2008. Task-Demands Can Immediately Reverse the Effects of Sensory-Driven Saliency in Complex Visual Stimuli. Journal of Vision 8 (2008), 2--2.
[14]
Christopher Exton. 2002. Constructivism and Program Comprehension Strategies. In Proc. Int'l Workshop Program Comprehension (IWPC). IEEE, 281--284.
[15]
Sarah Fakhoury, Yuzhan Ma, Venera Arnaoudova, and Olusola Adesope. 2018. The Effect of Poor Source Code Lexicon and Readability on Developers' Cognitive Load. In Proc. Int'l Conf. Program Comprehension (ICPC). IEEE, 11 pages.
[16]
Benjamin Floyd, Tyler Santander, and Westley Weimer. 2017. Decoding the Representation of Code in the Brain: An fMRI Study of Code Review and Expertise. In Proc. Int'l Conf. Software Engineering (ICSE). IEEE, 175--186.
[17]
Thomas Fritz, Andrew Begel, Sebastian C. Müller, Serap Yigit-Elliott, and Manuela Züger. 2014. Using Psycho-Physiological Measures to Assess Task Difficulty in Software Development. In Proc. Int'l Conf. Software Engineering (ICSE). ACM, 402--413.
[18]
Michael S. Gazzaniga, Richard B. Ivry, and George R. Mangun. 2013. Cognitive Neuroscience: The Biology of the Mind. Norton & Company.
[19]
Kenneth Holmqvist, Marcus Nyström, Richard Andersson, Richard Dewhurst, Halszka Jarodzka, and Joost Van de Weijer. 2011. Eye Tracking: A Comprehensive Guide to Methods and Measures. OUP Oxford.
[20]
Anthony J. Hornof and Tim Halverson. 2002. Cleaning Up Systematic Error in Eye-Tracking Data by Using Required Fixation Locations. Behavior Research Methods, Instruments, & Computers 34, 4 (2002), 592--604.
[21]
Scott Huettel, Allen Song, and Gregory McCarthy. 2014. Functional Magnetic Resonance Imaging. Vol. 3. Sinauer Associates.
[22]
Jürgen Koenemann and Scott Robertson. 1991. Expert Problem Solving Strategies for Program Comprehension. In Proc. Conf. Human Factors in Computing Systems (CHI). ACM, 125--130.
[23]
Thomas D. LaToza, Gina Venolia, and Robert DeLine. 2006. Maintaining Mental Models: A Study of Developer Work Habits. In Proc. Int'l Conf. Software Engineering (ICSE). ACM, 492--501.
[24]
Seolhwa Lee, Danial Hooshyar, Hyesung Ji, Kichun Nam, and Heuiseok Lim. 2017. Mining Biometric Data to Predict Programmer Expertise and Task Difficulty. Cluster Computing (2017), 1--11.
[25]
Russell Mosemann and Susan Wiedenbeck. 2001. Navigation and Comprehension of Programs by Novice Programmers. In Proc. Int'l Workshop Program Comprehension (IWPC). IEEE, 79--88.
[26]
Christopher Palmer and Bonita Sharif. 2016. Towards Automating Fixation Correction for Source Code. In Proc. Symposium on Eye Tracking Research & Applications. ACM, 65--68.
[27]
Norman Peitek, Janet Siegmund, and André Brechmann. 2017. Enhancing fMRI Studies of Program Comprehension with Eye-Tracking. In Proc. Int'l Workshop on Eye Movements in Programming. Freie Universität Berlin, 22--23.
[28]
Norman Peitek, Janet Siegmund, Chris Parnin, Sven Apel, and André Brechmann. 2018. Toward Conjoint Analysis of Simultaneous Eye-Tracking and fMRI Data for Program-Comprehension Studies. In Proc. Int'l Workshop on Eye Movements in Programming. ACM, 1:1--1:5.
[29]
Nancy Pennington. 1987. Stimulus Structures and Mental Representations in Expert Comprehension of Computer Programs. Cognitive Psychology 19, 3 (1987), 295--341.
[30]
Kathrin Pollmann, Mathias Vukelić, Niels Birbaumer, Matthias Peissner, Wilhelm Bauer, and Sunjung Kim. 2016. fNIRS as a Method to Capture the Emotional User Experience: A Feasibility Study. In Human-Computer Interaction. Novel User Experiences. Springer International Publishing, 37--47.
[31]
Bonita Sharifand Johnathon Maletic. 2010. An Eye Tracking Study on camelCase and under_score Identifier Styles. In Proc. Int'l Conf. Program Comprehension (ICPC). IEEE, 196--205.
[32]
Ben Shneiderman and Richard Mayer. 1979. Syntactic/Semantic Interactions in Programmer Behavior: A Model and Experimental Results. Int'l J. Parallel Programming 8, 3 (1979), 219--238.
[33]
Janet Siegmund, André Brechmann, Sven Apel, Christian Kästner, Jörg Liebig, Thomas Leich, and Gunter Saake. 2012. Toward Measuring Program Comprehension with Functional Magnetic Resonance Imaging. In Proc. Int'l Symposium Foundations of Software Engineering-New Ideas Track (FSE-NIER). ACM, 24:1--24:4.
[34]
Janet Siegmund, Christian Kästner, Sven Apel, Chris Parnin, Anja Bethmann, Thomas Leich, Gunter Saake, and André Brechmann. 2014. Understanding Understanding Source Code with Functional Magnetic Resonance Imaging. In Proc. Int'l Conf. Software Engineering (ICSE). ACM, 378--389.
[35]
Janet Siegmund, Christian Kästner, Jörg Liebig, Sven Apel, and Stefan Hanenberg. 2014. Measuring and Modeling Programming Experience. Empirical Softw. Eng. 19, 5 (2014), 1299--1334.
[36]
Janet Siegmund, Norman Peitek, Chris Parnin, Sven Apel, Johannes Hofmeister, Christian Kästner, Andrew Begel, Anja Bethmann, and André Brechmann. 2017. Measuring Neural Efficiency of Program Comprehension. In Proc. Europ. Software Engineering Conf./Foundations of Software Engineering (ESEC/FSE). ACM, 140--150.
[37]
Janet Siegmund, Norbert Siegmund, and Sven Apel. 2015. Views on Internal and External Validity in Empirical Software Engineering. In Proc. Int'l Conf. Software Engineering (ICSE), Vol. 1. IEEE, 9--19.
[38]
Elliot Soloway and Kate Ehrlich. 1984. Empirical Studies of Programming Knowledge. IEEE Trans. Softw. Eng. 10, 5 (1984), 595--609.
[39]
Thomas Standish. 1984. An Essay on Software Reuse. IEEE Trans. Softw. Eng. SE-10, 5 (1984), 494--497.
[40]
Adrian Voßkühler, Volkhard Nordmeier, Lars Kuchinke, and Arthur M. Jacobs. 2008. OGAMA (Open Gaze and Mouse Analyzer): Open-Source Software Designed to Analyze Eye and Mouse Movements in Slideshow Study Designs. Behavior Research Methods 40, 4 (2008), 1150--1162.
[41]
Susan Wiedenbeck. 1991. The Initial Stage of Program Comprehension. International Journal of Man-Machine Studies 35, 4 (1991), 517--540.

Cited By

View all
  • (2024)Eye Tracking Post Processing to Detect Visual Artifacts and Quantify Visual Attention under Cognitive Task Activity during fMRISensors10.3390/s2415491624:15(4916)Online publication date: 29-Jul-2024
  • (2024)EEG as a potential ground truth for the assessment of cognitive state in software development activities: A multimodal imaging studyPLOS ONE10.1371/journal.pone.029910819:3(e0299108)Online publication date: 7-Mar-2024
  • (2024)What Do Developers Feel About Fast-Growing Programming Languages? An Exploratory StudyProceedings of the 32nd IEEE/ACM International Conference on Program Comprehension10.1145/3643916.3644422(178-189)Online publication date: 15-Apr-2024
  • Show More Cited By

Index Terms

  1. Simultaneous measurement of program comprehension with fMRI and eye tracking: a case study

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      ESEM '18: Proceedings of the 12th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement
      October 2018
      487 pages
      ISBN:9781450358231
      DOI:10.1145/3239235
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      In-Cooperation

      • IEEE CS

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 11 October 2018

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. eye tracking
      2. functional magnetic resonance imaging
      3. program comprehension

      Qualifiers

      • Research-article

      Funding Sources

      Conference

      ESEM '18
      Sponsor:

      Acceptance Rates

      Overall Acceptance Rate 130 of 594 submissions, 22%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)163
      • Downloads (Last 6 weeks)22
      Reflects downloads up to 13 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Eye Tracking Post Processing to Detect Visual Artifacts and Quantify Visual Attention under Cognitive Task Activity during fMRISensors10.3390/s2415491624:15(4916)Online publication date: 29-Jul-2024
      • (2024)EEG as a potential ground truth for the assessment of cognitive state in software development activities: A multimodal imaging studyPLOS ONE10.1371/journal.pone.029910819:3(e0299108)Online publication date: 7-Mar-2024
      • (2024)What Do Developers Feel About Fast-Growing Programming Languages? An Exploratory StudyProceedings of the 32nd IEEE/ACM International Conference on Program Comprehension10.1145/3643916.3644422(178-189)Online publication date: 15-Apr-2024
      • (2024)On current limitations of online eye-tracking to study the visual processing of source codeInformation and Software Technology10.1016/j.infsof.2024.107502174:COnline publication date: 1-Oct-2024
      • (2024)An Explorative Study on Code Comprehension: Issues and ChallengesThe Smart IoT Blueprint: Engineering a Connected Future10.1007/978-3-031-63103-0_21(201-210)Online publication date: 14-Aug-2024
      • (2023)Modeling the Visual Landscape: A Review on Approaches, Methods and TechniquesSensors10.3390/s2319813523:19(8135)Online publication date: 28-Sep-2023
      • (2023)Assessing the Effect of Programming Language and Task Type on Eye Movements of Computer Science StudentsACM Transactions on Computing Education10.1145/363253024:1(1-38)Online publication date: 14-Nov-2023
      • (2023)40 Years of Designing Code Comprehension Experiments: A Systematic Mapping StudyACM Computing Surveys10.1145/362652256:4(1-42)Online publication date: 9-Nov-2023
      • (2023)Dataset Discovery and Exploration: A SurveyACM Computing Surveys10.1145/362652156:4(1-37)Online publication date: 9-Nov-2023
      • (2023)Economic Systems in the Metaverse: Basics, State of the Art, and ChallengesACM Computing Surveys10.1145/362631556:4(1-33)Online publication date: 9-Nov-2023
      • Show More Cited By

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Login options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media