Estimating Developers' Cognitive Load at a Fine-grained Level Using Eye-tracking Measures

被引:13
|
作者
Abbad-Andaloussi, Amine [1 ]
Sorg, Thierry [1 ]
Weber, Barbara [1 ]
机构
[1] Univ St Gallen, Inst Comp Sci, St Gallen, Switzerland
关键词
Program comprehension; source code; cognitive load; eye-tracking; machine learning; SEARCH;
D O I
10.1145/3524610.3527890
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The comprehension of source code is a task inherent to many software development activities. Code change, code review and debugging are examples of these activities that depend heavily on developers' understanding of the source code. This ability is threatened when developers' cognitive load approaches the limits of their working memory, which in turn affects their understanding and makes them more prone to errors. Measures capturing humans' behavior and changes in their physiological state have been proposed in a number of studies to investigate developers' cognitive load. However, the majority of the existing approaches operate at a coarse-grained task level estimating the difficulty of the source code as a whole. Hence, they cannot be used to pinpoint the mentally demanding parts of it. We address this limitation in this paper through a non-intrusive approach based on eye-tracking. We collect users' behavioral and physiological features while they are engaging with source code and train a set of machine learning models to estimate the mentally demanding parts of code. The evaluation of our models returns F1, recall, accuracy and precision scores up to 85.65%, 84.25%, 86.24% and 88.61%, respectively, when estimating the mental demanding fragments of code. Our approach enables a fine-grained analysis of cognitive load and allows identifying the parts challenging the comprehension of source code. Such an approach provides the means to test new hypotheses addressing the characteristics of specific parts within the source code and paves the road for novel techniques for code review and adaptive e-learning.
引用
收藏
页码:111 / 121
页数:11
相关论文
共 50 条
  • [41] Getting at the Cognitive Complexity of Linguistic Metadata Annotation - A Pilot Study Using Eye-Tracking
    Lohmann, Steffen
    Tomanek, Katrin
    Ziegler, Juergen
    Hahn, Udo
    COGNITION IN FLUX, 2010, : 2146 - 2151
  • [42] Tracking Large Class Projects in Real-Time Using Fine-Grained Source Control
    Rodriguez-Rivera, Gustavo
    Turkstra, Jeff
    Buckmaster, Jordan
    LeClainche, Killian
    Montgomery, Shawn
    Reed, William
    Sullivan, Ryan
    Lee, Jarett
    PROCEEDINGS OF THE 53RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE 2022), VOL 1, 2022, : 565 - 570
  • [43] Exploring Learners' Cognitive Behavior Using E-dictionaries: An Eye-Tracking Approach
    Zhai, Xuesong
    Meng, Nanxi
    Yuan, Jing
    Yang, Yalong
    Lin, Lin
    INNOVATIVE TECHNOLOGIES AND LEARNING, ICITL 2018, 2018, 11003 : 165 - 171
  • [44] Towards a Cognitive Model of Feature Model Comprehension: An Exploratory Study using Eye-Tracking
    Sepasi, Elmira Rezaei
    Balouchi, Kambiz Nezami
    Mercier, Julien
    Lopez-Herrejon, Roberto Erick
    26TH ACM INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, SPLC 2022, VOL A, 2022, : 21 - 31
  • [45] SwiftTrack plus : Fine-Grained and Robust Fast Hand Motion Tracking Using Acoustic Signal
    Zhang, Yongzhao
    Pan, Hao
    Ding, Dian
    Pan, Yue
    Chen, Yi-Chao
    Qiu, Lili
    Xue, Guangtao
    Chen, Ting
    Zhang, Xiaosong
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2024,
  • [46] Assessment of piles' resistance driven sequentially in fine-grained soils using pile load tests
    Bilgin, Omer
    Alzahrani, Saeed
    Narsavage, Peter
    Nusairat, Jamal
    Dettloff, Alexander
    Merklin, Christopher
    CANADIAN GEOTECHNICAL JOURNAL, 2025, 62 : 23 - 23
  • [47] Measuring and classifying students' cognitive load in pen-based mobile learning using handwriting, touch gestural and eye-tracking data
    Li, Qingchuan
    Luximon, Yan
    Zhang, Jiaxin
    Song, Yao
    BRITISH JOURNAL OF EDUCATIONAL TECHNOLOGY, 2024, 55 (02) : 625 - 653
  • [48] A cognitive style dataset including functional near-infrared spectroscopy, eye-tracking, psychometric and behavioral measures
    Bendall, R. C. A.
    Lambert, S.
    Galpin, A.
    Marrow, L. P.
    Cassidy, S.
    DATA IN BRIEF, 2019, 26
  • [49] Processing differences between descriptions and experience: a comparative analysis using eye-tracking and physiological measures
    Gloeckner, Andreas
    Fiedler, Susann
    Hochman, Guy
    Ayal, Shahar
    Hilbig, Benjamin E.
    FRONTIERS IN PSYCHOLOGY, 2012, 3
  • [50] Orchestration Load Indicators and Patterns: n-the-Wild Studies Using Mobile Eye-Tracking
    Prieto, Luis P.
    Sharma, Kshitij
    Kidzinski, Lukasz
    Dillenbourg, Pierre
    IEEE TRANSACTIONS ON LEARNING TECHNOLOGIES, 2018, 11 (02): : 216 - 229