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
来源
30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022) | 2022年
关键词
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 条
  • [21] Optimizing Scatterplot-Matrices for Decision-Support: An Experimental Eye-Tracking Study Assessing Situational Cognitive Load
    Perkhofer, Lisa
    Hofer, Peter
    INFORMATION SYSTEMS AND NEUROSCIENCE (NEUROIS RETREAT 2021), 2021, 52 : 63 - 76
  • [22] Testing the level of consistency between choices and beliefs in games using eye-tracking
    Polonio, Luca
    Coricelli, Giorgio
    GAMES AND ECONOMIC BEHAVIOR, 2019, 113 : 566 - 586
  • [23] Psychophysiological indices of cognitive style: A triangulated study incorporating neuroimaging, eye-tracking, psychometric and behavioral measures
    Bendall, Robert C. A.
    Lambert, Sarah
    Galpin, Adam
    Marrow, Lynne P.
    Cassidy, Simon
    PERSONALITY AND INDIVIDUAL DIFFERENCES, 2019, 144 : 68 - 78
  • [24] Exploring the Cognitive Load of Expert and Novice Map Users Using EEG and Eye Tracking
    Keskin, Merve
    Ooms, Kristien
    Dogru, Ahmet Ozgur
    De Maeyer, Philippe
    ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION, 2020, 9 (07)
  • [25] Measuring Cognitive Load with Eye-Tracking During Mental Rotation with 2D and 3D Visualization in AR
    Suzuki, Yuko
    Wild, Fridolin
    Scanlon, Eileen
    IMMERSIVE LEARNING RESEARCH NETWORK, ILRN 2024, PT I, 2025, 2271 : 34 - 48
  • [26] Measuring Cognition Load Using Eye-Tracking Parameters Based on Algorithm Description Tools
    Katona, Jozsef
    SENSORS, 2022, 22 (03)
  • [27] 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
  • [28] Minimizing Cognitive Overload in Cybersecurity Learning Materials: An Experimental Study Using Eye-Tracking
    Bernard, Leon
    Raina, Sagar
    Taylor, Blair
    Kaza, Siddharth
    INFORMATION SECURITY EDUCATION FOR CYBER RESILIENCE, WISE 2021, 2021, 615 : 47 - 63
  • [29] 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
  • [30] Exploring cognitive load through neuropsychological features: an analysis using fNIRS-eye tracking
    Yu, Kaiwei
    Chen, Jiafa
    Ding, Xian
    Zhang, Dawei
    MEDICAL & BIOLOGICAL ENGINEERING & COMPUTING, 2025, 63 (01) : 45 - 57