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
期刊:
Proceedings of the Symposium on Eye Tracking Research and Applications
影响因子:
--
通讯作者:
Carsten Schulte
Carsten Schulte
中科院分区:
--
文献类型:
--
作者:
Teresa Busjahn;R. Bednarik;Carsten Schulte

文献摘要

被引文献

相似文献

尽管自然语言文本中有关阅读行为的知识很丰富,但在阅读计算机程序的源代码时,对视觉注意力的分布知之甚少。但是,这些知识对于教授编程技能以及设计IDE和编程语言很重要。我们进行了一项研究,其中15位具有各种专业知识的程序员阅读了简短的源代码并记录了他们的眼睛运动。为了在代码元素上研究注意力分布,我们介绍了以下步骤:首先,我们(Pre)使用对数转换对眼动数据进行了处理。考虑到一词的长度,我们随后分析了在不同的词汇元素上花费的时间。它表明,大多数关注是针对理解标识符,操作员,关键字和文字的,而在分离器上花费的阅读时间相对较少。我们进一步检查了关键字上的注意力,并提供了这些正式语言的这些主要构建块的目光的描述。分析表明,从自然语言文本阅读研究中的方法也可以应用于源代码,但是没有审查。
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.