Publication

Back to overview

CodeCity: On-Screen or in Virtual Reality?

Type of publication Peer-reviewed
Publikationsform Proceedings (peer-reviewed)
Author Moreno-LumbrerasDavid, MinelliRoberto, VillaverdeAndrea, LanzaMichele, Gonzales-BarahonaJesus,
Project Exploratory Visual Analytics for Interaction Graphs
Show all

Proceedings (peer-reviewed)

Title of proceedings Proceedings of VISSOFT 2021 (9th Working Conference on Software Visualization)

Open Access

URL https://www.inf.usi.ch/lanza/Downloads/More2021a.pdf
Type of Open Access Repository (Green Open Access)

Abstract

Over the past decades, researchers proposed nu- merous approaches to visualize source code. A prominent one is CODECITY, an interactive 3D software visualization that leverages the “city metaphor” to represent software system as cities: buildings represent classes (or files) and districts represent packages (or folders). Building dimensions represent values of software metrics, such as the number of methods or the lines of code. There are many implementations of CODECITY, the vast majority of them running on-screen. Recently, some implementations visualizing CODECITY in virtual reality (VR) have appeared. While exciting as a technology, VR’s usefulness remains to be proven. The question we pose is: Is VR well suited to visualize CODECITY, compared to the traditional on-screen implementation? We performed an experiment in our interactive web-based application to visualize CODECITY. Users can fetch data from any git repository and visualize its source code. Our application enables users to navigate CODECITY both on-screen and in an immersive VR environment, using consumer-grade VR headsets like Oculus Quest. Our controlled experiment involved 24 par- ticipants from academia and industry. Results show that people using the VR version performed the assigned tasks in much less time, while still maintaining a comparable level of correctness. Therefore, our results show that VR is at least equally well- suited as on-screen for visualizing CODECITY, and likely better.
-