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 条
  • [31] Gaze and eye movement in dialogue interpreting: An eye-tracking study
    Tiselius, Elisabet
    Sneed, Kayle
    BILINGUALISM-LANGUAGE AND COGNITION, 2020, 23 (04) : 780 - 787
  • [32] READING MATHEMATICS REPRESENTATIONS: AN EYE-TRACKING STUDY
    Chiara Andrá
    Paulina Lindström
    Ferdinando Arzarello
    Kenneth Holmqvist
    Ornella Robutti
    Cristina Sabena
    International Journal of Science and Mathematics Education, 2015, 13 : 237 - 259
  • [33] Attentional Bias Assessment in Patients with Alcohol Use Disorder: an eye-tracking study
    Ghita, Alexandra
    Porras Garcia, Bruno
    Moreno, Manuel
    Monras, Miguel
    Ortega, Lluisa
    Mondon, Silvia
    Teixido, Lidia
    Obach I Vidal, Amadeu
    Gual, Antoni
    Aznar Casanova, Jose Antonio
    Ferrer Garcia, Marta
    Bertomeu Panisello, Paola
    Gutierrez Maldonado, Jose
    ANNUAL REVIEW OF CYBERTHERAPY AND TELEMEDICINE, 2019, 17 : 83 - 87
  • [34] How Images Draw the Eye: An Eye-Tracking Study of Composition
    Kirtley, Clare
    EMPIRICAL STUDIES OF THE ARTS, 2018, 36 (01) : 41 - 70
  • [35] The use of eye-tracking and retrospective interviews to study teenagers' exposure to online advertising
    Gidlof, Kerstin
    Holmberg, Nils
    Sandberg, Helena
    VISUAL COMMUNICATION, 2012, 11 (03) : 329 - 345
  • [36] Accessible Texts for Autism: An Eye-Tracking Study
    Yaneva, Victoria
    Temnikova, Irina
    Mitkov, Ruslan
    ASSETS'15: PROCEEDINGS OF THE 17TH INTERNATIONAL ACM SIGACCESS CONFERENCE ON COMPUTERS & ACCESSIBILITY, 2015, : 49 - 57
  • [37] A Bibliometric Study on Eye-Tracking Research in Tourism
    Atabay, Eniser
    Guzeller, Cem Oktay
    TOURISM, 2021, 69 (04): : 595 - 610
  • [38] Tracing Attitude Expressions: An Eye-Tracking Study
    Van Giesen, Roxanne I.
    Fischer, Arnout R. H.
    Van Dijk, Heleen
    Van Trijp, Hans C. M.
    JOURNAL OF BEHAVIORAL DECISION MAKING, 2016, 29 (2-3) : 232 - 244
  • [39] Should learners use their hands for learning? Results from an eye-tracking study
    Korbach, Andreas
    Ginns, Paul
    Bruenken, Roland
    Park, Babette
    JOURNAL OF COMPUTER ASSISTED LEARNING, 2020, 36 (01) : 102 - 113
  • [40] Biases and Differences in Code Review using Medical Imaging and Eye-Tracking: Genders, Humans, and Machines
    Huang, Yu
    Leach, Kevin
    Sharafi, Zohreh
    McKay, Nicholas
    Santander, Tyler
    Weimer, Westley
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 456 - 468