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 条
  • [31] 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
  • [32] 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
  • [33] Measuring Cognition Load Using Eye-Tracking Parameters Based on Algorithm Description Tools
    Katona, Jozsef
    SENSORS, 2022, 22 (03)
  • [34] Design Eye-Tracking Augmented Reality Headset to Reduce Cognitive Load in Repetitive Parcel Scanning Task
    Yan, Zihan
    Wu, Yufei
    Li, Yiyang
    Shan, Yifei
    Li, Xiangdong
    Hansen, Preben
    IEEE TRANSACTIONS ON HUMAN-MACHINE SYSTEMS, 2022, 52 (04) : 578 - 590
  • [35] CHED 346-Use of an eye-tracking technique to measure cognitive load in chemistry education research
    VandenPlas, Jessica R.
    Yekovich, Frank R.
    Bunce, Diane M.
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2009, 238
  • [36] Fine-grained transaction-level verification: Using a variable transactor for improved coverage at the signal level
    Ara, K
    Suzuki, K
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2005, 24 (08) : 1234 - 1240
  • [37] Measuring Cognitive Load using Eye Tracking Technology in Visual Computing
    Zagermann, Johannes
    Pfeil, Ulrike
    Reiterer, Harald
    BEYOND TIME AND ERRORS: NOVEL EVALUATION METHODS FOR VISUALIZATION, BELIV 2016, 2016, : 78 - 85
  • [38] 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
  • [39] Capturing Cognitive Events Embedded in the Real World Using Mobile Electroencephalography and Eye-Tracking
    Ladouce, Simon
    Mustile, Magda
    Ietswaart, Magdalena
    Dehais, Frederic
    JOURNAL OF COGNITIVE NEUROSCIENCE, 2022, 34 (12) : 2237 - 2255
  • [40] Using Eye-Tracking to Examine the Cognitive Process of Hazard Recognition in Construction VR Scenarios
    Luo, Yanfang
    Seo, JoonOh
    Hasanzadeh, Sogand
    COMPUTING IN CIVIL ENGINEERING 2023-RESILIENCE, SAFETY, AND SUSTAINABILITY, 2024, : 541 - 548