• DocumentCode
    732089
  • Title

    Eye Movements in Code Reading: Relaxing the Linear Order

  • Author

    Busjahn, Teresa ; Bednarik, Roman ; Begel, Andrew ; Crosby, Martha ; Paterson, James H. ; Schulte, Carsten ; Sharif, Bonita ; Tamm, Sascha

  • fYear
    2015
  • fDate
    18-19 May 2015
  • Firstpage
    255
  • Lastpage
    265
  • Abstract
    Code reading is an important skill in programming. Inspired by the linearity that people exhibit while natural language text reading, we designed local and global gaze-based measures to characterize linearity (left-to-right and top-to-bottom) in reading source code. Unlike natural language text, source code is executable and requires a specific reading approach. To validate these measures, we compared the eye movements of novice and expert programmers who were asked to read and comprehend short snippets of natural language text and Java programs. Our results show that novices read source code less linearly than natural language text. Moreover, experts read code less linearly than novices. These findings indicate that there are specific differences between reading natural language and source code, and suggest that non-linear reading skills increase with expertise. We discuss the implications for practitioners and educators.
  • Keywords
    Atmospheric measurements; Gaze tracking; Java; Linearity; Natural languages; Particle measurements; code reading; expert; eye movements; eye tracking; novice;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension (ICPC), 2015 IEEE 23rd International Conference on
  • Conference_Location
    Florence, Italy
  • Type

    conf

  • DOI
    10.1109/ICPC.2015.36
  • Filename
    7181454