An Eye-Tracking Study on the Use of Split/Unified Code Change Views for Bug Detection

被引:0
|
作者
Alcocer, Juan Pablo Sandoval [1 ]
Cossio-Chavalier, Alejandra [2 ]
Rojas-Stambuk, Tiara [2 ]
Merino, Leonel [3 ]
机构
[1] Pontificia Univ Catolica Chile, Sch Engn, Dept Comp Sci, Santiago 7820436, Chile
[2] Bolivian Catholic Univ, Exact Sci & Engn Res Ctr CICEI, Cochabamba, Bolivia
[3] Pontificia Univ Catolica Chila, Design Sch, Sch Engn, Santiago 7820436, Chile
关键词
Codes; Computer bugs; Visualization; Task analysis; Gaze tracking; Source coding; Navigation; Computer security; User experience; Bug detection; code review; eye-tracking; user study; TOOL;
D O I
10.1109/ACCESS.2023.3336859
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software developers often use comparison tools to identify bugs in source code by comparing two versions of the code. These tools display the code in either a split view or unified manner, yet there is limited understanding of how developers interact with them when analyzing changes in the source code. Consequently, the advantages and disadvantages of each approach are still unknown. We explored the usefulness, limitations, and potential for improvement of split and unified views of GitHub. To do this, we conducted a user study with 12 participants who were tasked with analyzing source code in two commits to detect bugs. We used a within-subjects approach, and the participants were monitored with an eye-tracking device while using the split and unified views. The results of our study showed that participants experienced less visual strain when using the unified view. This implies that a lower effort can facilitate a more thorough analysis of the code, which can often result in the discovery of more bugs. Additionally, we noticed that participants mainly focused on conditionals, class/instance variables, and code changes. Nevertheless, we did not find any statistically significant differences among the variables examined when using split or unified views. The findings of this study are pertinent to both practitioners and researchers. Practitioners can use the results to make informed decisions when selecting a view, while researchers can use them to identify potential areas for improvement in code comparison tools.
引用
收藏
页码:136195 / 136205
页数:11
相关论文
共 50 条
  • [1] Exploring the Effects of Urgency and Reputation in Code Review An Eye-Tracking Study
    Yabesi, Sara
    Amini, Mahta
    Ristic, Jelena
    Sharafi, Zohreh
    PROCEEDINGS 2024 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC 2024, 2024, : 202 - 213
  • [2] Eye-tracking for detection of driver fatigue
    Eriksson, M
    Papanikolopoulos, NP
    IEEE CONFERENCE ON INTELLIGENT TRANSPORTATION SYSTEMS, 1997, : 314 - 319
  • [3] EVALUATION OF COLOR SETTINGS IN AERIAL IMAGES WITH THE USE OF EYE-TRACKING USER STUDY
    Mirijovsky, J.
    Popelka, S.
    XXIII ISPRS CONGRESS, COMMISSION III, 2016, 41 (B3): : 763 - 767
  • [4] On current limitations of online eye-tracking to study the visual processing of source code
    Thilderkvist, Eva
    Dobslaw, Felix
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 174
  • [5] How Learners Use Their Hands for Learning: an Eye-Tracking Study
    Babette Park
    Andreas Korbach
    Paul Ginns
    Roland Brünken
    Educational Psychology Review, 2023, 35
  • [6] The use of control information in dependency formation: An eye-tracking study
    Kwon, Nayoung
    Sturt, Patrick
    JOURNAL OF MEMORY AND LANGUAGE, 2014, 73 : 59 - 80
  • [7] How Learners Use Their Hands for Learning: an Eye-Tracking Study
    Park, Babette
    Korbach, Andreas
    Ginns, Paul
    Bruenken, Roland
    EDUCATIONAL PSYCHOLOGY REVIEW, 2023, 35 (04)
  • [8] Characteristics of Visual Attention for the Assessment of Conceptual Change: An Eye-Tracking Study
    Jin, Laipeng
    Yu, Dongchuan
    2019 10TH INTERNATIONAL CONFERENCE ON E-EDUCATION, E-BUSINESS, E-MANAGEMENT AND E-LEARNING (IC4E 2019), 2019, : 158 - 162
  • [9] Predictors of visual attention to climate change images: An eye-tracking study
    Sollberger, Silja
    Bernauer, Thomas
    Ehlert, Ulrike
    JOURNAL OF ENVIRONMENTAL PSYCHOLOGY, 2017, 51 : 46 - 56
  • [10] EYE-TRACKING STUDY OF INANIMATE OBJECTS
    Kovic, Vanja
    Plunkett, Kim
    Westermann, Gert
    PSIHOLOGIJA, 2009, 42 (04) : 417 - 436