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 条
  • [21] Contributions to driver fatigue detection based on eye-tracking
    Băiașu A.-M.
    Dumitrescu C.
    1600, North Atlantic University Union NAUN (15): : 1 - 7
  • [22] Proposal of a Method to Measure Difficulty Level of Programming Code with Eye-Tracking
    Kashima, Tomoko
    Matsumoto, Shimpei
    Yamagishi, Shuichi
    HUMAN-COMPUTER INTERACTION: ADVANCED INTERACTION MODALITIES AND TECHNIQUES, PT II, 2014, 8511 : 264 - 272
  • [23] Audiovisual synchrony detection for fluent speech in early childhood: An eye-tracking study
    Zhou, Han-yu
    Yang, Han-xue
    Wei, Zhen
    Wan, Guo-bin
    Lui, Simon S. Y.
    Chan, Raymond C. K.
    PSYCH JOURNAL, 2022, 11 (03) : 409 - 418
  • [24] Wine labels: an eye-tracking and pupillometry study
    Laeng, Bruno
    Suegami, Takashi
    Aminihajibashi, Samira
    INTERNATIONAL JOURNAL OF WINE BUSINESS RESEARCH, 2016, 28 (04) : 327 - 348
  • [25] Factors Influencing the Use of Captions by Foreign Language Learners: An Eye-Tracking Study
    Winke, Paula
    Gass, Susan
    Sydorenko, Tetyana
    MODERN LANGUAGE JOURNAL, 2013, 97 (01) : 254 - 275
  • [26] THE USE OF EYE-TRACKING FOR THE EVALUATION OF VARIOUS CARTOGRAPHIC TASKS
    Vondrakova, Alena
    Popelka, Stanislav
    GEOCONFERENCE ON INFORMATICS, GEOINFORMATICS AND REMOTE SENSING, VOL III, 2014, : 981 - 988
  • [27] Development of online use of theory of mind during adolescence: An eye-tracking study
    Symeonidou, Irene
    Dumontheil, Iroise
    Chow, Wing-Yee
    Breheny, Richard
    JOURNAL OF EXPERIMENTAL CHILD PSYCHOLOGY, 2016, 149 : 81 - 97
  • [28] Strategic gaze: an interactive eye-tracking study
    Hausfeld, J.
    von Hesler, K.
    Goldluecke, S.
    EXPERIMENTAL ECONOMICS, 2021, 24 (01) : 177 - 205
  • [29] READING MATHEMATICS REPRESENTATIONS: AN EYE-TRACKING STUDY
    Andra, Chiara
    Lindstrom, Paulina
    Arzarello, Ferdinando
    Holmqvist, Kenneth
    Robutti, Ornella
    Sabena, Cristina
    INTERNATIONAL JOURNAL OF SCIENCE AND MATHEMATICS EDUCATION, 2015, 13 (02) : S237 - S259
  • [30] Strategic gaze: an interactive eye-tracking study
    J. Hausfeld
    K. von Hesler
    S. Goldlücke
    Experimental Economics, 2021, 24 : 177 - 205