An eye-tracking study on the role of scan time in finding source code defects

Bonita Sharif, Michael Falcone and Jonathan I. Maletic

Abstract

An eye-tracking study is presented that investigates how individuals find defects in source code. This work partially replicates a previous eye-tracking study by Uwano et al. [2006]. In the Uwano study, eye movements are used to characterize the performance of individuals in reviewing source code. Their analysis showed that subjects who did not spend enough time initially scanning the code tend to take more time finding defects. The study here follows a similar setup with added eye-tracking measures and analyses on effectiveness and efficiency of finding defects with respect to eye gaze. The subject pool is larger and is comprised of a varied skill level. Results indicate that scanning significantly correlates with defect detection time as well as visual effort on relevant defect lines. Results of the study are compared and contrasted to the Uwano study.

Venue
ETRA 2012
Volume
Proceedings of the Symposium on Eye Tracking Research and Applications
DOI
10.1145/2168556.2168642
PDF
https://dl.acm.org/doi/pdf/10.1145/2168556.2168642
Anthology ID
2012.etra.75

Cite

@inproceedings{sharif-etal-2012-eyetracking,
    title = {{An eye-tracking study on the role of scan time in finding source code defects}},
    author = {Bonita Sharif and Michael Falcone and Jonathan I. Maletic},
    booktitle = {Proceedings of the Symposium on Eye Tracking Research and Applications},
    isbn = {9781450312219},
    year = {2012},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/2168556.2168642},
    url = {https://doi.org/10.1145/2168556.2168642},
    abstract = {An eye-tracking study is presented that investigates how individuals find defects in source code. This work partially replicates a previous eye-tracking study by Uwano et al. [2006]. In the Uwano study, eye movements are used to characterize the performance of individuals in reviewing source code. Their analysis showed that subjects who did not spend enough time initially scanning the code tend to take more time finding defects. The study here follows a similar setup with added eye-tracking measures and analyses on effectiveness and efficiency of finding defects with respect to eye gaze. The subject pool is larger and is comprised of a varied skill level. Results indicate that scanning significantly correlates with defect detection time as well as visual effort on relevant defect lines. Results of the study are compared and contrasted to the Uwano study.}
}