Developers' Visuo-spatial Mental Model and Program Comprehension
Abir Bouraffa, Gian-Luca Fuhrmann, Walid Maalej
摘要
Previous works from research and industry have proposed a spatial representation of code in a canvas, arguing that a navigational code space confers developers the freedom to organise elements according to their understanding. By allowing developers to translate logical relatedness into spatial proximity, this code representation could aid in code navigation and comprehension. However, the association between developers' code comprehension and their visuo-spatial mental model of the code is not yet well understood. This mental model is affected on the one hand by the spatial code representation and on the other by the visuo-spatial working memory of developers. We address this knowledge gap by conducting an online experiment with 20 developers following a between-subject design. The control group used a conventional tab-based code visualization, while the experimental group used a code canvas to complete three code comprehension tasks. Furthermore, we measure the participants' visuo-spatial working memory using a Corsi Block test at the end of the tasks. Our results suggest that, overall, neither the spatial representation of code nor the visuo-spatial working memory of developers has a significant impact on comprehension performance. However, we identified significant differences in the time dedicated to different comprehension activities such as navigation, annotation, and UI interactions.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper2
- Program Comprehension and Code Complexity Metrics: An fMRI StudyNorman Peitek, Sven Apel, Chris Parnin, André Brechmann 等ICSE 2021 · 被引用 59 次
- Correlates of programmer efficacy and their link to experience: a combined EEG and eye-tracking studyNorman Peitek, Annabelle Bergum, Maurice Rekrut, Jonas Mucke 等FSE 2022 · 被引用 28 次
相关 Paper
- The Role of Working Memory in Program TracingWill Crichton, Maneesh Agrawala, Pat HanrahanCHI 2021 · 被引用 13 次
- CrossCode: Multi-level Visualization of Program ExecutionDevamardeep Hayatpur, Daniel Wigdor, Haijun XiaCHI 2023 · 被引用 23 次
- CodeGrid: A Grid Representation of CodeAbdoul Kader Kaboré, Earl T. Barr, Jacques Klein, Tegawendé F. BissyandéISSTA 2023 · 被引用 4 次
- Predicting Code Comprehension: A Novel Approach to Align Human Gaze with Code using Deep Neural NetworksTarek Alakmeh, David R. Reich, Lena A. Jäger, Thomas FritzFSE 2024 · 被引用 6 次
- The Mind Is a Powerful Place: How Showing Code Comprehensibility Metrics Influences Code UnderstandingMarvin Wyrich, Andreas Preikschat, Daniel Graziotin, Stefan WagnerICSE 2021 · 被引用 24 次
