プログラマの視線を用いたコードレビュー性能の要因分析

秀剛 上野 · Institutional Repositories DataBase (IRDB) · 2006

The goal of this study is to analyze the performance of individuals in reviewing source code of computer program.In this study, we constructed integrated environment to measure the eye movements of the code reviewers.The environment consists of hardware components including a non-contact eye camera, and a software application Crescent.On the environment, the line number of the source code that reviewer is currently looking at is recorded.Using the environment, we conducted an experiment to analyze a correlation of reviewer's eye movement and review efficiency.As a result of the experiments, we found three patterns in the subject's eye movements; 1) Subjects scan the whole lines of the source code from the top to the bottom briefly, 2) When subject reaches a code line where a variable is firstly used, the subject retraces declaration line of the variables, and 3) When subject reaches a code line where a variable is used, the subject retraces the lines where the variable has been recently referred.Quantitative analysis showed that reviewers who did not spend enough time for the scanning of source code tend to take more time for finding defects.

Cited by 0 works. Open-access PDF

Authors