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 条
  • [1] 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
  • [2] Use of Eye-Tracking Technology to Investigate Cognitive Load Theory
    Zu, Tianlong
    Hutson, John
    Loschky, Lester C.
    Rebello, N. Sanjay
    2017 PHYSICS EDUCATION RESEARCH CONFERENCE, 2017, : 472 - 475
  • [3] 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
  • [4] Using Eye-Tracking Measures to Predict Reading Comprehension
    Meziere, Diane C.
    Yu, Lili
    Reichle, Erik D.
    von Der Malsburg, Titus
    McArthur, Genevieve
    READING RESEARCH QUARTERLY, 2023, 58 (03) : 425 - 449
  • [5] 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
  • [6] Eye-Tracking Analysis for Cognitive Load Estimation in Wearable Mixed Reality
    Lopez, Paula
    Maria Bernardos, Ana
    Ramon Casar, Jose
    PROCEEDINGS OF THE 2024 ACM SYMPOSIUM ON SPATIAL USER INTERACTION, SUI 2024, 2024,
  • [8] Comparison of Eye-Tracking Data with Physiological Signals for Estimating Level of Understanding
    Omata, Masaki
    Iuchi, Masaya
    Sakiyama, Megumi
    PROCEEDINGS OF THE 30TH AUSTRALIAN COMPUTER-HUMAN INTERACTION CONFERENCE (OZCHI 2018), 2018, : 563 - 567
  • [9] FingerIO: Using Active Sonar for Fine-Grained Finger Tracking
    Nandakumar, Rajalakshmi
    Iyer, Vikram
    Tan, Desney
    Gollakota, Shyamnath
    34TH ANNUAL CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, CHI 2016, 2016, : 1515 - 1525
  • [10] 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