摘要
该文提出了一种基于城市隐喻的沉浸式代码可视化工具JavaCity,实现了方法级别的细粒度可视化;通过抽取软件项目各项度量值构建可视化可交互的虚拟城市,进一步增强代码可视化和代码理解的能力.在JavaCity和IDEA上进行的对比实验研究表明:JavaCity在理解软件项目相关的任务上时间效率节省200 s以上,在有用性评价上接近100%正确,近90%的参与者在脑力劳动、努力程度和挫折程度方面认为认知负荷更低.
In this paper,the immersive code visualization tool JavaCity is proposed based on the city metaphor,which enables fine-grained visualization at the method level and further enhances code visualization and code understanding by extracting various metrics of a software project to build a visual and interactive virtual city.Comparative experimental studies conducted on JavaCity and IDEA show that JavaCity saves more than 200 seconds in time efficiency on tasks related to understanding software projects,is nearly 100%correct on usefulness ratings,and nearly 90%of participants perceive lower cognitive load in terms of mental effort,effort level,and frustration level.
作者
肖英剑
揭安全
李宏伟
钟崇文
罗荣
XIAO Yingjian;JIE Anquan;LI Hongwei;ZHONG Chongwen;LUO Rong(School of Computer and Information Engineering,Jiangxi Normal University,Nanchang Jiangxi 330022,China;School of Computer and Information Engineering,Nanchang Institute of Technology,Nanchang Jiangxi 330044,China;School of Digital Industry,Jiangxi Normal University,Shangrao Jiangxi 334000,China)
出处
《江西师范大学学报(自然科学版)》
CAS
北大核心
2023年第6期652-660,共9页
Journal of Jiangxi Normal University(Natural Science Edition)
基金
国家自然科学基金(62266021)
江西省自然科学基金(20224BAB202018)
江西省03专项课题(20212ABC03A26)
江西省科技厅重大科技专项“揭榜挂帅”(20213AAE02001)资助项目。
关键词
代码可视化
城市隐喻
代码理解
虚拟现实
code visualization
urban metaphor
code understanding
virtual reality