CodeCity: On-Screen or in Virtual Reality?

Resumen

Over the past decades, researchers proposed numerous 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 participants 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 wellsuited as on-screen for visualizing CODECITY, and likely better.

Descripción

"This preprint corresponds to the paper that appears, with the same title and authors, in the Proceedings of the 9th IEEE Working Conference on Software Visualization, virtual (intended to be in Luxembourg), September 27-28 2021"

Citación

D. Moreno-Lumbreras, R. Minelli, A. Villaverde, J. M. González-Barahona and M. Lanza, "CodeCity: On-Screen or in Virtual Reality?," 2021 Working Conference on Software Visualization (VISSOFT), 2021, pp. 12-22, doi: 10.1109/VISSOFT52517.2021.00011.