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 条
  • [41] Representational Fluency in Cryptography: An Eye-Tracking Study
    Wu, Wenjie
    Xu, Zhenzhi
    Chen, Yingjie
    Yang, Baijian
    SIGITE'18: PROCEEDINGS OF THE 19TH ANNUAL SIG CONFERENCE ON INFORMATION TECHNOLOGY EDUCATION, 2018, : 143 - 143
  • [42] Virtual Reality and Eye-Tracking Based Vision Screening - A Bibliometric Study
    Daehlen, Are
    Heldal, Ilona
    Ali, Qasim
    Katona, Jozsef
    Kovari, Attila
    ADVANCES IN DIGITAL HEALTH AND MEDICAL BIOENGINEERING, VOL 1, EHB-2023, 2024, 109 : 801 - 809
  • [43] Exploration of Eye Fatigue Detection Features and Algorithm Based on Eye-Tracking Signal
    Sun, Weifeng
    Wang, Yuqi
    Hu, Bingliang
    Wang, Quan
    ELECTRONICS, 2024, 13 (10)
  • [44] Automatic detection and inhibition of neutral and emotional stimuli in post-traumatic stress disorder: an eye-tracking study Eye-tracking data of an original antisaccade task
    Blekic, Wivine
    Rossignol, Mandy
    2018 ACM SYMPOSIUM ON EYE TRACKING RESEARCH & APPLICATIONS (ETRA 2018), 2018,
  • [45] Eye-tracking analysis of source code reading on a line-by-line basis
    Beelders, Tanya
    TENTH INTERNATIONAL WORKSHOP ON EYE MOVEMENTS IN PROGRAMMING (EMIP 2022), 2022, : 1 - 7
  • [46] Assessing code readability in Python']Python programming courses using eye-tracking
    Segedinac, Milan
    Savic, Goran
    Zeljkovic, Ivana
    Slivka, Jelena
    Konjovic, Zora
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2024, 32 (01)
  • [47] The use and limits of eye-tracking in high-fidelity clinical scenarios: A pilot study
    Browning, Mark
    Cooper, Simon
    Cant, Robyn
    Sparkes, Louise
    Bogossian, Fiona
    Williams, Brett
    O'Meara, Peter
    Ross, Linda
    Munro, Graham
    Black, Barbara
    INTERNATIONAL EMERGENCY NURSING, 2016, 25 : 43 - 47
  • [48] Eye contact avoidance in crowds: A large wearable eye-tracking study
    Hessels, Roy S.
    Benjamins, Jeroen S.
    Niehorster, Diederick C.
    van Doorn, Andrea J.
    Koenderink, Jan J.
    Holleman, Gijs A.
    de Kloe, Yentl J. R.
    Valtakari, Niilo V.
    van Hal, Sebas
    Hooge, Ignace T. C.
    ATTENTION PERCEPTION & PSYCHOPHYSICS, 2022, 84 (08) : 2623 - 2640
  • [49] Use of eye-tracking technology in clinical reasoning: a systematic review
    Blondon, Katherine
    Wipfli, Rolf
    Lovis, Christian
    DIGITAL HEALTHCARE EMPOWERING EUROPEANS, 2015, 210 : 90 - 94
  • [50] A systematic literature review for the use of eye-tracking in special education
    Mehmet Donmez
    Education and Information Technologies, 2023, 28 : 6515 - 6540