Developers' Visuo-spatial Mental Model and Program Comprehension

被引:0
作者
Bouraffa, Abir [1 ]
Fuhrmann, Gian-Luca [1 ]
Maalej, Walid [1 ]
机构
[1] Univ Hamburg, Appl Software Technol, Hamburg, Germany
来源
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE | 2023年
关键词
Code comprehension; code navigation; developer productivity; IDE design; code visualization; cognitive studies; WORKING-MEMORY;
D O I
10.1109/ICSE48619.2023.00163
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:1920 / 1932
页数:13
相关论文
共 39 条
  • [1] Adeli M., 2020, 2020 IEEE S VIS LANG, P1
  • [2] [Anonymous], 2022, P ACM JOINT EUROPEAN
  • [3] Bancifra J., 2022, APJAET - J Asia Pacific J Adv Educ Technol, P25
  • [4] Bragdon A., 2010, Proceedings of the 32nd International Conference on Software Engineering (ICSE'10), P455, DOI [DOI 10.1145/1806799.1806866, 10.1145/1806799, DOI 10.1145/1806799]
  • [5] The human hippocampus and spatial and episodic memory
    Burgess, N
    Maguire, EA
    O'Keefe, J
    [J]. NEURON, 2002, 35 (04) : 625 - 641
  • [6] Corsi PM., 1972, HUMAN MEMORY MEDIAL, V34, p819B
  • [7] Cox Anthony, 2005, P 17 ANN WORKSH PSYC, P9
  • [8] DeLine R., 2010, 2010 32nd International Conference on Software Engineering (ICSE), P207, DOI 10.1145/1810295.1810331
  • [9] DeLine R, 2006, IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, PROCEEDINGS, P11
  • [10] DeLine R, 2012, PROC INT CONF SOFTW, P1064, DOI 10.1109/ICSE.2012.6227113