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 条
  • [31] 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
  • [32] True or false? Cognitive load when reading COVID-19 news headlines: an eye-tracking study
    Shi, Li
    Bhattacharya, Nilavra
    Das, Anubrata
    Gwizdka, Jacek
    PROCEEDINGS OF THE 2023 CONFERENCE ON HUMAN INFORMATION INTERACTION AND RETRIEVAL, CHIIR 2023, 2023, : 107 - 116
  • [33] An Eye-Tracking Approach to Evaluating Decision-Makers' Cognitive Load and Need-for-Cognition in Response with Rational and Emotional Advertising Stimuli
    Hahn, Min Hee
    Lee, Kun Chang
    Chae, Seong Wook
    HCI INTERNATIONAL 2016 - POSTERS' EXTENDED ABSTRACTS, PT I, 2016, 617 : 209 - 215
  • [34] 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
  • [35] Evaluation Model of Cognitive Distraction State Based on Eye-Tracking Data using Neural Networks
    Harada, Taku
    Iwasaki, Hirotoshi
    Mori, Kazuaki
    Yoshizawa, Akira
    Mizoguchi, Fumio
    PROCEEDINGS OF THE 2013 12TH IEEE INTERNATIONAL CONFERENCE ON COGNITIVE INFORMATICS & COGNITIVE COMPUTING (ICCI CC 2013), 2013, : 428 - 434
  • [36] Advancing Real-Time Remote Learning: A Novel Paradigm for Cognitive Enhancement Using EEG and Eye-Tracking Analytics
    Jamil, Nuraini
    Belkacem, Abdelkader Nasreddine
    IEEE ACCESS, 2024, 12 : 93116 - 93132
  • [37] RETRACTED: A Method of Tracking Visual Targets in Fine-Grained Image Using Machine Learning (Retracted Article)
    Ma, Xiao
    Ye, Yufei
    Chen, Leihang
    Tao, Haibo
    Liao, Cancan
    IETE JOURNAL OF RESEARCH, 2023, 69 (10)
  • [38] Examining the Learner's Cognitive Load in Response to Different Learning Material in High and Low Immersive Virtual Learning Environments-An Eye-Tracking Study
    Gonnermann-Mueller, Jana
    Teichmann, Malte
    INFORMATION SYSTEMS AND NEUROSCIENCE, NEUROIS RETREAT 2023, 2024, 68 : 333 - 344
  • [39] Translators' Allocation of Cognitive Resources in Two Translation Directions: A Study Using Eye-Tracking and Keystroke Logging
    Wang, Yifang
    Li, Saihong
    Rasmussen, Yubo Zhou
    APPLIED SCIENCES-BASEL, 2025, 15 (08):
  • [40] Using eye-tracking technology to investigate the redundant effect of multimedia web pages on viewers' cognitive processes
    Liu, Han-Chin
    Lai, Meng-Lung
    Chuang, Hsueh-Hua
    COMPUTERS IN HUMAN BEHAVIOR, 2011, 27 (06) : 2410 - 2417