Eye-tracking analysis of source code reading on a line-by-line basis

被引:0
|
作者
Beelders, Tanya [1 ]
机构
[1] Univ Free State, Comp Sci & Informat, Bloemfontein, South Africa
来源
TENTH INTERNATIONAL WORKSHOP ON EYE MOVEMENTS IN PROGRAMMING (EMIP 2022) | 2022年
关键词
Code reading; eye tracking; transitions; scanpaths; ALGORITHMS;
D O I
10.1145/3524488.3527364
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code reading differs from natural language reading in that it is often not a linear reading process. As such, novices may not have already acquired all the skills necessary to read code in an optimal and efficient way. This study illustrates that novices read method signatures with less processing than code lines in the method body. Furthermore, they transition between all lines of code, rarely recognizing that some lines are irrelevant to the current line being read. An informal comparison with experts shows that experts are skilled at disregarding irrelevant lines to the current line being read. Furthermore, when reading a loop, novices will continuously read each line contained in the loop while experts will avoid re-reading simpler lines in successive iterations of the loop, rather concentrating on lines that contain higher computational complexity. This paper therefore shows additional differences between novices and experts and identifies some novel idiosyncrasies of novice code readers that should be taken into account during teaching.
引用
收藏
页码:1 / 7
页数:7
相关论文
共 50 条
  • [1] On-Line effects of musical environment on text reading: Eye-tracking investigation
    Drai-Zerbib, V.
    Baccino, T.
    PSYCHOLOGIE FRANCAISE, 2017, 62 (03): : 233 - 247
  • [2] GENSPECT: a line-by-line code with selectable interpolation error tolerance
    Quine, BA
    Drummond, JR
    JOURNAL OF QUANTITATIVE SPECTROSCOPY & RADIATIVE TRANSFER, 2002, 74 (02): : 147 - 165
  • [3] Conducting Qualitative Data Analysis: Reading Line-by-Line, but Analyzing by Meaningful Qualitative Units
    Chenail, Ronald J.
    QUALITATIVE REPORT, 2012, 17 (01) : 266 - 269
  • [4] Strategy use on the number line task analyzed with eye-tracking
    Schot, W. D.
    van Viersen, S.
    van't Noordende, J. E.
    Slot, E. M.
    Kroesbergen, E. H.
    PEDAGOGISCHE STUDIEN, 2015, 92 (01): : 55 - 69
  • [5] An Eye-Tracking Study of Java']Java Programmers and Application to Source Code Summarization
    Rodeghero, Paige
    Liu, Cheng
    McBurney, Paul W.
    McMillan, Collin
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (11) : 1038 - 1054
  • [6] On current limitations of online eye-tracking to study the visual processing of source code
    Thilderkvist, Eva
    Dobslaw, Felix
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 174
  • [7] Improving Automated Source Code Summarization via an Eye-Tracking Study of Programmers
    Rodeghero, Paige
    McMillan, Collin
    McBurney, Paul W.
    Bosch, Nigel
    D'Mello, Sidney
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, : 390 - 401
  • [8] Strategies in unbounded number line estimation? Evidence from eye-tracking
    Reinert, Regina M.
    Huber, Stefan
    Nuerk, Hans-Christoph
    Moeller, Korbinian
    COGNITIVE PROCESSING, 2015, 16 : S359 - S363
  • [9] Strategies in unbounded number line estimation?-Evidence from eye-tracking
    Reinert, Regina M.
    Huber, Stefan
    Nuerk, Hans-Christoph
    Moeller, Korbinian
    COGNITIVE PROCESSING, 2015, 16 : S52 - S52
  • [10] Impact of Leading Line Composition on Visual Cognition: An Eye-Tracking Study
    Chuang, Hsien-Chih
    Tseng, Han-Yi
    Chiang, Chia-Yun
    JOURNAL OF EYE MOVEMENT RESEARCH, 2024, 17 (05):