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 条
  • [1] Towards a Fine-grained Analysis of Cognitive Load During Program Comprehension
    Sorg, Thierry
    Abbad-Andaloussi, Amine
    Weber, Barbara
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 748 - 752
  • [2] Classification of Driver Cognitive Load: Exploring the Benefits of Fusing Eye-Tracking and Physiological Measures
    He, Dengbo
    Wang, Ziquan
    Khalil, Elias B.
    Donmez, Birsen
    Qiao, Guangkai
    Kumar, Shekhar
    TRANSPORTATION RESEARCH RECORD, 2022, 2676 (10) : 670 - 681
  • [3] An eye-tracking study of website complexity from cognitive load perspective
    Wang, Qiuzhen
    Yang, Sa
    Liu, Manlu
    Cao, Zike
    Ma, Qingguo
    DECISION SUPPORT SYSTEMS, 2014, 62 : 1 - 10
  • [4] Measuring and Explaining Cognitive Load During Design Activities: A Fine-Grained Approach
    Weber, Barbara
    Neurauter, Manuel
    Burattin, Andrea
    Pinggera, Jakob
    Davis, Christopher
    INFORMATION SYSTEMS AND NEUROSCIENCE, NEUROIS 2017, 2018, 25 : 47 - 53
  • [5] Eye-Tracking Technology for Estimation of Cognitive Load After Traumatic Brain Injury
    Safford, Ashley
    Kegel, Jessica
    Hershaw, Jamie
    Girard, Doug
    Ettenhofer, Mark
    FOUNDATIONS OF AUGMENTED COGNITION, AC 2015, 2015, 9183 : 136 - 143
  • [7] Relationship between the cognitive load and the learning success in applying force diagrams: eye-tracking study
    Omarbakiyeva, Yultuz
    Hahn, Larissa
    Klein, Pascal
    Krumphals, Ingrid
    Watzka, Bianca
    FRONTIERS IN EDUCATION, 2025, 10
  • [8] Using Eye Tracking Technology to Analyse Cognitive Load in Multichannel Activities in University Students
    Saiz-Manzanares, Maria Consuelo
    Marticorena-Sanchez, Raul
    Martin Anton, Luis J.
    Gonzalez-Diez, Irene
    Carbonero Martin, Miguel Angel
    INTERNATIONAL JOURNAL OF HUMAN-COMPUTER INTERACTION, 2024, 40 (12) : 3263 - 3281
  • [9] 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
  • [10] Recognizing Fine-Grained Home Contexts Using Multiple Cognitive APIs
    Chen, Sinan
    Saiki, Sachio
    Nakamura, Masahide
    2019 INTERNATIONAL CONFERENCE ON CYBER-ENABLED DISTRIBUTED COMPUTING AND KNOWLEDGE DISCOVERY (CYBERC), 2019, : 360 - 366