What influences dwell time during source code reading?: analysis of element type and frequency as factors
What influences dwell time during source code reading?: analysis of element type and frequency as factors
复制标题
什么影响源代码阅读期间的停留时间?:元素类型和频率作为因素的分析
DOI:
10.1145/2578153.2578211
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Carsten Schulte
中科院分区:
文献类型:
--
作者:
Teresa Busjahn;R. Bednarik;Carsten Schulte
While knowledge about reading behavior in natural-language text is abundant, little is known about the visual attention distribution when reading source code of computer programs. Yet, this knowledge is important for teaching programming skills as well as designing IDEs and programming languages. We conducted a study in which 15 programmers with various expertise read short source codes and recorded their eye movements. In order to study attention distribution on code elements, we introduced the following procedure: First we (pre)-processed the eye movement data using log-transformation. Taking into account the word lengths, we then analyzed the time spent on different lexical elements. It shows that most attention is oriented towards understanding of identifiers, operators, keywords and literals, relatively little reading time is spent on separators. We further inspected the attention on keywords and provide a description of the gaze on these primary building blocks for any formal language. The analysis indicates that approaches from research on natural-language text reading can be applied to source code as well, however not without review.