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 条
  • [21] Research on the Tracking Algorithm of Program Level Fine-grained Data based on Cloud Virtual Environment
    Zhang, Zhigang
    Zhang, Wei
    Geng, Juncheng
    Zhang, Hongyi
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON ADVANCES IN MECHANICAL ENGINEERING AND INDUSTRIAL INFORMATICS, 2015, 15 : 1059 - 1065
  • [22] 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
  • [23] The association between physiological and eye-tracking metrics and cognitive load in drivers: A meta-analysis
    Wang, Ange
    Huang, Chunxi
    Wang, Jiyao
    He, Dengbo
    TRANSPORTATION RESEARCH PART F-TRAFFIC PSYCHOLOGY AND BEHAVIOUR, 2024, 104 : 474 - 487
  • [24] An eye-tracking and neuroimaging study of negative wording effects on cognitive load in a metacognitive awareness tool
    Wang, Xinhe
    Aryadoust, Vahid
    SYSTEM, 2025, 128
  • [25] Do Learner Characteristics Moderate the Seductive-Details-Effect? A Cognitive-Load-Study Using Eye-Tracking
    Park, Babette
    Korbach, Andreas
    Bruenken, Roland
    EDUCATIONAL TECHNOLOGY & SOCIETY, 2015, 18 (04): : 24 - 36
  • [26] Using Eye Tracking to Measure Cognitive Load of Designers in Situ
    Zimmerer, Christoph
    Nelius, Thomas
    Matthiesen, Sven
    DESIGN COMPUTING AND COGNITION'22, 2023, : 481 - 495
  • [27] Instance Retrieval at Fine-grained Level Using Multi-Attribute Recognition
    Zakizadeh, Roshanak
    Qian, Yu
    Sasdelli, Michele
    Vazquez, Eduard
    2018 14TH INTERNATIONAL CONFERENCE ON SIGNAL IMAGE TECHNOLOGY & INTERNET BASED SYSTEMS (SITIS), 2018, : 442 - 448
  • [28] Fine-grained analysis of traffic congestions at the turning level using GPS traces
    Tang L.
    Kan Z.
    Ren C.
    Zhang X.
    Li Q.
    Cehui Xuebao/Acta Geodaetica et Cartographica Sinica, 2019, 48 (01): : 75 - 85
  • [29] Using eye-tracking to measure cognitive engagement with feedback in a digital literacy game
    Pattemore, Matthew
    Gilabert, Roger
    LANGUAGE LEARNING JOURNAL, 2023, 51 (04): : 472 - 490
  • [30] Forecasting the Next Shot Location in Tennis Using Fine-Grained Spatiotemporal Tracking Data
    Wei, Xinyu
    Lucey, Patrick
    Morgan, Stuart
    Sridharan, Sridha
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2016, 28 (11) : 2988 - 2997