GazePrinter:可视化专家注视以指导新手在新代码库中的学习
GazePrinter: Visualizing Expert Gaze to Guide Novices in a New Codebase
AI总结:
本文提出GazePrinter,通过可视化专家注视帮助新手理解新代码库。研究发现,专家注视可视化能显著影响新手的代码路径选择,减少时间和认知负荷。
摘要:
程序理解是软件工程中的关键活动。不仅挑战专业人士,也阻碍新手提升编程技能。注视作为一种新兴的开发者工具模态,主要用于改善对程序员视觉注意力的理解以及推理程序员的认知过程。尽管注意力与注视之间有紧密联系,但将基于注视的辅助整合到开发环境中以支持程序员的研究仍然有限。此外,联合注意力在协作中很重要,进一步表明探索集体注视具有价值。本文研究了将专家收集的注视模式可视化以帮助新手理解新代码库的效果。为此,我们提出了GazePrinter,旨在提供由专家指导的注视导向视觉提示,以帮助新手理解程序。我们对40名新手进行了混合方法研究,研究了使用GazePrinter进行程序理解任务的效果。该研究包括调查、受控实验和访谈。我们发现,可视化专家注视对新手程序员的行为有显著影响,特别是在代码库中的路径选择上;使用GazePrinter时,新手的路径更接近专家的路径。我们还发现,使用GazePrinter的初学者在时间和认知负荷方面有所减少。
英文摘要:
Program comprehension is an essential activity in software engineering. Not only does it often challenge professionals, but it can also hinder novices from advancing their programming skills. Gaze, an emerging modality in developer tools, has so far primarily been utilized to improve our understanding of programmers' visual attention and as a means to reason about programmers' cognitive processes. There has been limited exploration of integrating gaze-based assistance into development environments to support programmers, despite the tight links between attention and gaze. We also know that joint attention is important in collaboration, further suggesting that there is value in exploring collective gaze. In this paper, we investigate the effect of visualizing gaze patterns gathered from experts to novice programmers to assist them with program comprehension in a new codebase. To this end, we present GazePrinter, designed to provide gaze-orienting visual cues informed by experts to aid novices with program comprehension. We present the results of a mixed-methods study conducted with 40 novices to study the effects of using GazePrinter for program comprehension tasks. The study included a survey, a controlled experiment, and interviews. We found that visualization of expert gaze can have a significant effect on novice programmers' behavior in terms of which path they take through the code base; with GazePrinter, novices took a path closer to the path taken by experts. We also found indications of reduced time and cognitive load among novices using GazePrinter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。