CHAPTER 6: COMPARING SCREEN WITH VIRTUAL REALITY

As we explained in Chapter 3, representing source code metrics as features of buildings in a city is a well known metaphor for visualizing software in 3D, introduced in 1999 by Knight and Munro in their Software World [Knight and Munro, 1999]. It became popular with CodeCity [Wettel and Lanza, 2007b], which also inspired some other similar approaches (e.g., [Brito et al., 2019; Vincur et al., 2017; Steinbrückner and Lewerentz, 2010]). CodeCity shows software systems as cities by mapping metrics of artifacts (i.e., classes, files) to features of buildings (i.e., height, size, color), and placing buildings in locations related to the position of artifacts in the system hierarchy. Those cities can be intuitively explored [Wettel and Lanza, 2007a], offering a clear notion of locality, supporting orientation, and making explicit the underlying structural complexity. Most CodeCity implementations work on traditional 2D screens, but recently some are also exploring how well the metaphor works in virtual reality (VR).

VR technology has been under development for decades. During the last few years, new devices have appeared that are both low-cost and standalone (i.e., they do not require to be tethered to a computer that provides the rendering capabilities of its GPU), making VR more affordable and accessible. Browsers have implemented some new APIs, such as WebXR [Jones and Goregaokar, 2020] and WebGL [Jackson and Gilbert, 2020], which enables them to support 3D scenes and user interaction in VR. Applications developed using these APIs run in the browser, thus are inherently multi-platform, and are easy to integrate with other web front-end modules and APIs.

Because of this, browsers have become appropriate for comparing on-screen with VR immersion: they are available both in traditional screen devices and in VR devices, and it is not difficult to build applications for them.

In the study presented in this chapter, we take advantage of this situation by using a browser-based implementation of CodeCity to compare how users interact with it on screen and in immersive VR. Our aim is to explore if the affordances of VR, which are built on the spatial capabilities of the human brain but add some extra complexity (e.g., being used to unfamiliar devices, navigating the immersive environment), may help when working with CodeCity for performing software comprehension tasks. Since the underlying implementation used for on-screen and VR is the same, differences in the behavior of subjects are expected to be due exclusively to differences between interactions in a screen-based environment and in VR immersion.

We decided to focus on two measurable properties that have a clear impact on how helpful CodeCity may be in supporting software comprehension tasks: accuracy and time spent. We designed our experiments as a set of software comprehension tasks and compared how accurate the results reported by participants were, and how much time they spent until they could report a result.

Our study aims to answer two research questions:

• RQ1: How does the accuracy of participants immersed in VR compare to that of participants using the on-screen version of BabiaXR-CodeCity?

• RQ2: How does the efficiency of participants immersed in VR compare to that of participants using the on-screen version of BabiaXR-CodeCity?

In the first experiment 24 subjects performed a set of program comprehension tasks, by interacting with the same CodeCity visualization of a given project. Half of the subjects performed the experiment on-screen and the other half used a VR device. Participants were both from industry and academia, and we tried to make all other conditions as similar as possible to avoid confounding variables.

After analyzing the results of this experiment, including the feedback received from participants, we decided to run a second experiment to overcome some of the limitations that could threaten the validity of the results. We expected to confirm or refute those results and obtain more solid evidence. The main factors that we fine-tuned in the second experiment were fixing differences in training, and in measuring some parameters of the experiment, and adapting the VR scene so that subjects could interact more comfortably with it. This experiment involved 26 new participants.

We implemented the CodeCity visualization that is used in the experiments as a part of BabiaXR1 a 3D visualization library designed for being used both in traditional browsers, simulating 3D on 2D screens, and on browsers in VR devices, in this case as VR immersive scenes. The data to be visualized (i.e., the metrics displayed by CodeCity) was retrieved, analyzed, and preprocessed using GrimoireLab [Dueñas et al., 2021], which allows for complete decoupling of data retrieval, data analysis, and data visualization.

The main contributions presented in this study are:

1. A methodology for comparing the behavior of subjects while interacting with software comprehension applications using traditional screens or VR devices.

2. The results of two controlled experiments, showing that the VR approach is viable for performing software comprehension tasks facilitated by CodeCity, and has benefits when compared to on-screen applications.

3. An open source implementation of CodeCity which runs on any modern browser, making CodeCity VR visualizations more accessible and our experiments more easily reproducible.

6.1 A new CodeCity in BabiaXR

As the original CodeCity, our implementation maps metrics to features of buildings, and groups buildings according to the hierarchical structure of the source code. However, there are some differences. The original implementation was a desktop-based Smalltalk application, while ours is built as a JavaScript application running in the browser. The layout of the original CodeCity was based on hierarchically splitting a rectangle using a treemap algorithm, but we use a spiraling algorithm: within each hierarchical level, the first building is placed in the center of a spiral, and the remaining buildings are positioned spiraling around it. We use the same algorithm also to layout groups of buildings at the same hierarchical level. In Chapter 4 we described the spiral algorithm.

The spiral grows clock-wise, starting in the green quarter in the center-left of the Figure, following with the next green quarter right of it, then with the next one below it, then with some buildings towards the left, and so on.

The spiral algorithm behaves better when representing the evolution of a project when new elements (i.e., buildings) pop up and disappear in any place in the hierarchy. With rectangle packing, since the allocated space for the whole city is limited to the original outer rectangle, new buildings force all existing buildings to move to make space for them, not keeping a perceivable relationship with the place they occupied before being moved.

BabiaXR-CodeCity maps the values of software metrics to features of the buildings: each building corresponds to a file and each district to a directory which can have files and subdirectories inside. BabiaXR-CodeCity permits to map any metric that is available to either the area of the base, the height, or the color of each building.

BabiaXR-CodeCity scenes are interactive. Users can wander through the city: on-screen with cursor keys and in VR by walking in the physical world. Users can also visualize data about the buildings of their interest. In the on-screen mode, the user can hover the cursor on a building to open a tooltip containing the name of the file together with metric values (e.g., number of functions, lines of code, cyclomatic complexity [Harrison et al., 1982]). In VR the same behavior is enabled by the raycaster offered by the VR controller (i.e., the Oculus Quest 2 pointing mechanism).

6.2 Experiments

To compare how users interact with CodeCity in VR and on-screen, we conducted two controlled experiments. We reviewed and followed the ACM SIGSOFT Empirical Standards [Ralph, 2021] for designing the experiments, specifically those related to quantitative methods for experiments with humans, satisfying most of the essential attributes and a part of the desirable ones.

Our experiments are inspired by the original experiment performed by the authors of CodeCity [Wettel et al., 2011]. Our aim is to understand how accurate (i.e., correctness) and efficient (i.e., time spent) subjects are immersed in VR, compared to subjects working on-screen, when performing the same software comprehension tasks. Since the underlying implementation of CodeCity is the same, the metrics used and its mapping to building features are also the same. The way of interacting with the scene is very similar, thus we expect differences to be due to the differences between using screens simulating 3D on 2D, or VR providing the illusion of real 3D. In both experiments, we divided participants into two groups: one group solved the tasks on-screen (Screen-BabiaXR) while the other group solved them in VR (VR-BabiaXR). All subjects were recruited and did not have any relation with the authors and did not have knowledge of the software systems being visualized during the experiment.

VR participants performed the experiment using the browser in a VR device in immersed VR mode, while on-screen participants performed the experiment using the browser on a desktop computer with a traditional screen. In all cases, tasks were defined by a question related to the comprehension of the software visualized with CodeCity. Participants interacted with the visualization and completed the task by providing an answer to the question, which was later evaluated for correctness and time to complete.

In all cases, the supervisor could see the scene “with the eyes of the participant,” and provide support if needed. For on-screen participants, the supervisor could see the screen, and for VR participants the headset was configured to cast the scene to a TV screen.

Figure 6.1 shows a participant during the VR experiment and the screencast for the supervisor.

Figure 6.1: A participant during the VR experiment

Figure 6.1: A participant during the VR experiment

We ran two experiments because when analyzing the results of the first one, and the qualitative feedback provided by participants, we found some aspects of the experiment that could be improved in order to avoid some potential confounding variables and to get more comparable results. In both experiments, the aim was the same, and the design was very similar. However, some of the details that changed could have their importance, as we will discuss later in Section 6.3. Participants in both experiments were different, although the demographics of both groups of participants are similar. We conducted the second experiment about six months after the first experiment.

In addition, in the second experiment, various tasks that did not offer significant results were removed while some were added for a more extended analysis. All the details of the changes between the first experiment and the second, both in the experiment scene and in the definition of tasks and methodology are detailed in Section 6.2.2

Visualized system. In our experiments, participants interact with a CodeCity visualization of the source code of JetUML2. For the first experiment, we use two source code snapshots: the first commit in June 28, 2018 (see Figure 6.2b), and the first commit in March 25, 2021 (see Figure 6.2a). However, in the second experiment, we kept only one snapshot of the project, the first commit in March 25, 2021, because we observed during the first experiment that this added some unnecessary confusion to subjects.

Figure 6.2: First experiment: CodeCity visualizations of JetUML

Figure 6.2: First experiment: CodeCity visualizations of JetUML

(a) JetUML as of March 25, 2021 (last commit available when the experiment was defined)

(b) JetUML as of June 28, 2018 (Release 2.1)

Mapping of metrics. In both of our experiments we use a mapping of metrics to features of the buildings which are similar to those in the original CodeCity implementation. Each building represents a file. The area of its base corresponds to the number of functions (num_funs), its height to the lines of code per function (loc_per_function), and its color the Cyclomatic Complexity Number (CCN, in a blue to red scale). Therefore, the volume of the building represents the number of lines of code (LOC) of the file.

6.2.1 First Experiment

Participants in the experiment were presented with a BabiaXR-CodeCity visualization of two different commits of JetUML, and were asked to complete a number of software comprehension tasks using the visualization.

Demographics. The experiment was completed by 24 participants from both academia and industry. Figure 6.3 summarizes their experience level and years of experience. None of the participants had ever used a CodeCity-like visualization before, even if some of them had heard of it. Only one participant was “a little” familiar with JetUML, meaning she had heard of the system, but never used it. More details are available in the replication package (see Section 6.6).

Figure 6.3: Experience of participants (first experiment). Areas are: object-oriented (Exp OOP), procedural (Exp PRP), or functional (Exp FNP) programming, reverse engineering (Exp REV), and use of IDE (Exp IDE).

Figure 6.3: Experience of participants (first experiment). Areas are: object-oriented (Exp OOP), procedural (Exp PRP), or functional (Exp FNP) programming, reverse engineering (Exp REV), and use of IDE (Exp IDE).

(a) Experience level. Each bar shows the number of participants that self-identified their experience as “expert”, “advanced”, “knowledgeable”, “beginner”, or “none” in several areas.

(b) Years of experience. Each bar shows the number of participants with a certain range of years of experience in several areas.

Environment. The data used, and the implementation of the visualizations, were exactly the same for all participants. All participants were presented with two visualizations corresponding to the first commit in June 28, 2018 (see Figure 6.2b) and in March 25, 2021 (see Figure 6.2a). Half of the participants (12) interacted with them immersed in VR (VR participants) while the other half (12) interacted with them on a desktop with a traditional 2D screen (on-screen participants). The detailed setup for each half is as follows:

VR participants performed the experiment using the Oculus browser in an Oculus Quest 2 headset, in immersed VR mode. Before the experiment, participants were offered the “First Steps” tutorial that comes standard with Oculus Quest devices, to make them familiar with the headset. During the experiments, participants are required to talk aloud when starting each task, and when answering the question posed for determining that a task is completed. The experiments were followed by a supervisor who took note of the answers of the participants.

On-screen participants performed the experiment using the Chrome browser on a desktop computer with a traditional screen. During the experiments, they recorded their answers via Google Forms. The experiments were followed by a supervisor. The form was easy and quick to fill in so that there was little or no additional delay in answering (compared with the talk aloud mechanism used by VR participants).

Tasks. In this first experiment participants were asked to repeat 4 tasks on visualizations for the two commits mentioned earlier: E1 T1–E1 T4 for March 25, 2021 and E1 T5–E1 T8 for June 28, 2018. A ninth task (E1 T11, given this number to facilitate consistency with the second experiment) was also proposed to participants, to get some more qualitative information. Table 6.1 summarizes all tasks that participants had to address. To classify our tasks, we used the maintenance task definition framework by Sillito et al. [Sillito et al., 2006] (the category of each task according to this framework is the last column in the table). Tasks identifiers have the E1 prefix to make it clear they are of the first experiment.

Table 6.1: Tasks performed in the first experiment

Task ID

Task Description & Purpose

Category

E₁ T₁ / E₁ T₅

Description. Explore the city to locate all the test code (i.e., files and directories) of the system.

Structural

Purpose. Typically, test classes are defined in separated packages in Java projects. The participants need to understand how the test classes are organized.

Understanding

E₁ T₂ / E₁ T₆

Description. Find the three source code files (not testing files) with the highest number of functions (i.e., num_funs) in the system.

Metric Analysis

Purpose. Classes in an Object-Oriented system typically have a single responsibility. In this task, participants have to locate classes with the highest number of functions (or methods), which are often good candidates for refactoring (e.g., split class).

E₁ T₃ / E₁ T₇

Description. Find the three source code files (not testing files) with the highest lines of code per function (i.e., loc_per_function) in the system.

Metric Analysis

Purpose. Lines of code per function is a good indicator to identify classes with very large methods, hence good candidates for refactoring, maintenance activities, or quality assurance.

E₁ T₄ / E₁ T₈

Description. Find the three source code files (not testing files) with the highest Cyclomatic Complexity Number (i.e., CCN).

Metric Analysis

Purpose. The Cyclomatic Complexity Number measures the number of linearly independent paths through a piece of code. Most of the time, complex pieces of source code are good candidates for refactoring.

E₁ T₁₁

Description. Now that you are more familiar with JetUML, can you locate the core part of the system, i.e., the most important files or packages? Please explain briefly why you think that this is the core.

Tool Insight

Purpose. This task was not considered an integral part of the experiment, but it gave us feedback on the degree to which our visualization supports users in locating the key parts of a software system.

Answers. To provide answers to questions for each task, on-screen participants had to fill in a Google Form after each task was completed, while VR participants had to speak aloud when they have the final answer for the task. For each task, participants were also asked to assess the level of difficulty, from “strongly disagree” to “strongly agree” with the task being difficult.

Tracking results. For each E1 T1 -E1 T8 task, two parameters are tracked as results: how long did it take for the subject to produce the result, as a proxy of efficiency; and the actual answer, as a proxy for correctness:

• Efficiency. The supervisor tracked the time that each participant spent on each task. As a backup, the supervisor also recorded a screencast (on-screen) or an actual video recording of the whole experiment (VR).

• Correctness. For tasks E1 T1 and E1 T5 participants should identify the geographical location where the test code is located (e.g., the west zone of the city). For tasks E1 T2, E1 T3, E1 T4, E1 T6, E1 T7, and E1 T8 participants had to find the Top 3 files with respect to a metric, ordered from highest to lowest in value of that metric. The author of the this thesis created an oracle with the correct answers to each of the tasks, and an oracle with the Top 5 correct answers of each task, for close match analysis. These oracles were validated by a researcher. With these answers we extract six measurements for the correctness analysis, three of these correspond to whether the three chosen files correspond to those of the oracle exactly in the same order, that is, if the first chosen by the participant corresponds to the first of the oracle, the second chosen by the participant corresponds with the second file of the oracle and the third chosen by the participant corresponds with the third file of the oracle. The other three correspond to whether each of the three files chosen by the participants is found in the oracle of the Top 5 files, regardless of the order of choice, that is, if the first, second, and third chosen files are found in the oracle of 5 files.

In the final task, we asked a few high-level questions (e.g., perceived difficulty, and general feedback to improve the visualization). We also asked an open-ended question, task E1 T11: “Can you locate the core part of the system, i.e., the most important files or packages? Please explain briefly why you think that this is the core.” This task gave us qualitative feedback on how our visualization supports users in locating key parts of a system.

6.2.2 Experimental Setup: Analysis and Changes

After completing the first experiment, we analyzed the results and the qualitative feedback we obtained from participants. We identified a number of issues that could have an impact on the accuracy of the results.

Measuring task completion time. A potential source of inaccuracy when measuring task completion time was that on-screen participants used a form to fill in the results, while VR participants talked aloud with the supervisor taking notes of the answers. For on-screen participants, the complete description of tasks was in the form, while for VR participants, it was in banners in the scene. Our assumption was that both setups would take approximately the same time, not impacting the completion time, but it could be otherwise.

Training. We had the assumption that on-screen participants did not need a specific training to use the visualization because all of them were used to on-screen interfaces. Their feedback confirmed our hypothesis since nobody reported special issues with the interface except with one minor detail: the use of the arrow/WASD keys for moving in the scene. Several participants were not familiar with that way of navigating the scene, and had some trouble until they adapted, which could cause delays in the completion of tasks, not because of the tasks themselves, but because of the time it took for them to move through the scene to visualize it the way they wanted. This effect could bias the measures of completion time for tasks in the on-screen scenario.

Presentation of the city. Some participants reported problems with how the city was presented. A VR participant reported that “it is hard to compare different heights because of the fact that some buildings hide each others.”, another one that “often it is hard to see some of the entities because they are hidden or have similar metrics.” Some on-screen participants had similar comments: “it is difficult to find the highest buildings sometimes,” or “the very even blocks seen from certain sources seem the same or can even lead to mistakes.”

Repeating tasks on a different commit. Our expectation was that repeating tasks on a different commit of the same project would allow us to measure how people behaved when they had some familiarity with the setup. However, the results and feedback showed that the results of that second set of tasks were not really different from the first one, but added some complexity and, overall, made the experiment much longer for participants.

Collected demographics. We found that the demographics we collected for participants had room for improvement. On the one hand, they were in some aspects too specific, asking them about their experience in narrow domains, such as object-oriented, functional, or procedural programming, which did not add meaningful information to our analysis. On the other hand, we missed some important aspects such as previous experience with VR devices, which could be interesting to analyze.

Completion time of the last task. Due to an error in our experiment design, in the first experiment we did not track the time to complete for the last task (E1 T11).

Starting a task while still reading a task. We realized that VR participants read the description of the tasks while looking toward the city. Although they were told not to do so, that would mean that they could, even unconsciously, start to address the task while still reading its description, not being fair to how we measured time to completion.

Changes

After this analysis, we decided to introduce a number of changes for the second experiment:

To mitigate problems in measuring task completion times we were more precise with the mechanisms for informing participants about the tasks to complete and to measure when they start and finish. All texts explaining tasks, instructions, and information were in the scene itself, for both VR and on-screen participants. All participants were requested to voice that they start with a task when they start reading its description. In addition, all participants were required to provide answers by speaking aloud, in addition to notifying the supervisor aloud when they finished the tasks, removing the questionnaire form for on-screen participants.

To ensure a base level of familiarity with the system, we added some training for onscreen participants. Before starting the experiment, all participants were shown a training scene. This scene consisted of a sample scene with a city to let participants get used to the environment and the interaction. With this change, we try to ensure that on-screen participants not familiar with using arrow/WASD keys for moving have the opportunity to become familiar with that.

To facilitate interaction with the city, we changed some presentation parameters. In particular, we changed the scale (making the visualization smaller), the relative height of buildings and neighborhoods (making differences in height more apparent), and the placement of the city in the scene, placing it closer to the camera. We changed nothing in the location algorithm. With this measure, we sought to improve the effectiveness and efficiency of responses, and also minimize bias due to different buildings being hidden by others (the new angle of view allows for a clean sight of all buildings).

To make the experiment shorter, we removed the second set of tasks on a different commit (e.g., E1 T5). Instead, we added two new tasks which explored different aspects of software comprehension.

To improve the demographic data collected, we merged all questions about programming experience in one and added a new question for VR participants about their previous experience with virtual reality.

We also measured the completion time for the last task (e.g., E2 T11).

To avoid the problem of participants starting with a task while still reading about it, in the second experiment we placed the descriptions of the tasks on one side and the city on the other side, with the participant in the middle. Therefore, when they are done with reading the task, they can turn, have the city in sight, and start with the task.

6.2.3 Second Experiment

Participants in the experiment were presented with a BabiaXR-CodeCity visualization of a single commit of JetUML, and were asked to complete a number of software comprehension tasks using the visualization. None of the participants had participated in the first experiment.

Demographics. This experiment involved 26 participants from both academia and industry. Figure 6.4 summarizes experience level and years of experience. None of the participants had ever used a CodeCity-like visualization before, even if some of them had heard of it. Only one of the participants had heard about JetUML, the others had no knowledge of the system. More details about the demographics are available in the Replication Package (Section 6.6).

Figure 6.4: Experience of participants (second experiment). Areas are: programming (Exp PRG), use of IDE (Exp IDE), software visualization (Exp SoftVis), and virtual reality (Exp VR).

Figure 6.4: Experience of participants (second experiment). Areas are: programming (Exp PRG), use of IDE (Exp IDE), software visualization (Exp SoftVis), and virtual reality (Exp VR).

(a) Experience level. Each bar shows the number of participants that self-identified their experience as “expert”, “advanced”, “knowledgeable”, “beginner”, or “none” in several areas.

(b) Years of experience. Each bar shows the number of participants with a certain range of years of experience in several areas.

Environment. The data used, and the implementation of the visualizations was exactly the same for all participants. All participants were presented with a single visualization of the JetUML source code, corresponding to the first commit in March 25, 2021 (see Figure 6.2a), Half of the participants (13) interacted with them immersed in VR (VR participants) while the other half (13) interacted with them in a desktop with a traditional 2D screen (on-screen participants). The detailed setup for each half is as follows:

• VR participants performed the experiment using the Oculus browser in an Oculus Quest 2 headset, in immersed VR mode.

• On-screen participants performed the experiment using the Chrome browser on a desktop computer with a traditional screen.

In both cases, during the experiments participants are required to talk aloud when starting each task, and when answering the question posed for determining that a task is completed. The experiments were followed by a supervisor who took note of the answers of the participants. Before their experiment, participants were invited to enter a training scene in the same environment (VR or on-screen) of their experiment, to become as much familiar with it as reasonably possible. The training scene was a BabiaXR-CodeCity visualization with random data, and instructions about how to move around and interact with the visualization. During the experiment, all participants received the description of the tasks by means of banners in the scene.

Tasks. In this second experiment, participants were asked to complete 7 tasks, summarized in Table 6.2. With respect to the first experiment, there are two new tasks (E2 T9 and E2 T10) that are highlighted in red in the table. The task identifiers have the E2 prefix to make it clear that they belong to the second experiment. Tasks E2 T9 – E2 T11 are numbered this way to facilitate consistency with the first experiment (i.e., task E2 T11 is the same as E1 T11 in the first experiment).

Table 6.2: Tasks performed in the second experiment. New tasks (E2 T9 and E2 T10) are highlighted in red

Task

Task Description & Purpose

Category

E₂ T₁

Description. Explore the city to locate all the test code (i.e., files and directories) of the system.

Structural

Purpose. Typically, test classes are defined in separated packages in Java projects. The participants need to understand how the test classes are organized.

Understanding

E₂ T₂

Description. Find the three source code files (not testing files) with the highest number of functions (i.e., num_funs) in the system.

Metric Analysis

Purpose. Classes in an Object-Oriented system typically have a single responsibility. In this task, participants have to locate classes with the highest number of functions (or methods), which are often good candidates for refactoring (e.g., split class).

E₂ T₃

Description. Find the three source code files (not testing files) with the highest lines of code per function (i.e., loc_per_function) in the system.

Metric Analysis

Purpose. Lines of code per function is a good indicator to identify classes with very large methods, hence good candidates for refactoring, maintenance activities, or quality assurance.

E₂ T₄

Description. Find the three source code files (not testing files) with the highest Cyclomatic Complexity Number (i.e., CCN).

Metric Analysis

Purpose. The Cyclomatic Complexity Number measures the number of linearly independent paths through a piece of code. Most of the time, complex pieces of source code are good candidates for refactoring.

E₂ T₉

Description. The base/area of the buildings represents the number of functions in the code file (num funs), and the height represents the lines of code per function in the code file. Therefore, the volume (base x height) corresponds to the total number of lines of code. Find the three source code files (not testing files) with the highest lines of code in the system. Say their names in order.

Metric Analysis & Tool Insight

Purpose. Lines of code, as lines of code per function, is a good indicator to identify classes with very large files, hence good candidates for refactoring, maintenance activities, or quality assurance. Moreover, the whole volume is another metric that can be analyzed by the tool

E₂ T₁₀

Description. Find the source code file (not testing files) with the highest lines of code per function (highest loc per function) inside the src/ca/mcgill/cs/jetuml/diagram/nodes folder.

Code Location

Purpose. Finding a specific file in a folder has the purpose of verifying if the tool provides the necessary information to search for a specific file that is difficult to locate in a general view.

E₂ T₁₁

Description. Now that you are more familiar with JetUML, can you locate the core part of the system, i.e., the most important files or packages? Please explain briefly why you think that this is the core.

Tool Insight

Purpose. This task was not considered an integral part of the experiment, but it gave us feedback on the degree to which our visualization supports users in locating the key parts of a software system.

Answers. To provide answers to questions for each task, all participants had to speak aloud when they have the final answer for the task. For each task, participants were also asked to assess the level of difficulty, from “strongly disagree” to “strongly agree” with the task being difficult.

Tracking results. For each task in E2 T1 – E2 T10 the same parameters were tracked as in the first experiment: how long did it take for the subject to produce the result (as a proxy of efficiency), and the actual answer (as a proxy for correctness). Additionally, we also tracked time to completion for E2 T11.

6.3 Results

This section summarizes the results of the two experiments in terms of correctness (see Section 6.3.1) and completion time (Section 6.3.2).

6.3.1 Correctness (RQ1)

To answer RQ1 (How does the accuracy of participants immersed in VR compare to that of participants using the on-screen version of BabiaXR-CodeCity?) we analyzed how correct were the answers that participants in the experiment provided for E1 T1 – E1 T8 (in the first experiment) and E2 T1 – E2 T4, E2 T9, and E2 T10 (second experiment):

• E1 T1, E1 T5 and E2 T1 asked to identify the part of the city that corresponded to test code. These tasks were evaluated by checking if the participant identified the correct geographical part of the city. We defined the correctness percentage for these tasks as the percentage of participants whose answer was correct.

• All other tasks asked for a top 3 list of files, according to some metric. They were evaluated for exact match and for close match:

- For exact match, each of the files answered was compared with the corresponding position in the top 3 of the oracle. The result was considered “correct” if the answer was exact by the same (e.g., same position in the oracle). We defined the correctness percentage for each of the three files in each answer as the percentage of participants whose answer was correct for that file.

- For close match, each answer was checked against the top 5 files in the oracle, thus allowing for some error. The result was considered “correct” if that file was in the top five of the oracle. We defined the correctness percentage as the percentage of files in the answers that were correct.

First Experiment (E1)

Task E1 T1 and task E1 T5 were correctly answered by all participants (both VR and onscreen), who were able to identify the zone of the city corresponding to test code. This is a clear indication that users had no difficulty in identifying a block of code (e.g., the test directory).

Figure 6.5 summarizes the percentages of correctness for exact match and for close match for tasks E1 T2 – E1 T4 and E1 T6 – E1 T8. For exact match, Figure 6.5a shows the correctness percentage for each of the three files in the answers to the corresponding task. In general, results for on-screen are better than for VR, by a margin of about 20%, but still results for VR are well over 60% in most cases. For close match, Figure 6.5b shows the correctness percentage for all files in the answers, split by VR or on-screen participants. In this case, the results are very similar for both VR and on-screen participants.

Figure 6.5: First experiment: Correctness percentage for tasks asking for top 3 files according to a certain metric

Figure 6.5: First experiment: Correctness percentage for tasks asking for top 3 files according to a certain metric

(a) Exact match: correctness percentage for each file (top: VR, bottom: on-screen)

(b) Close match: correctness percentage for all files

These results show that VR participants have consistently answered with lower accuracy when compared to on-screen participants. As expected, the results are better for both types of participants when comparing their answers to the Top 5 files, since a certain margin of error is allowed.

Despite the different results, for all 8 tasks both VR and on-screen participants provided similar answers with respect to the difficulty of the tasks (see Figure 6.6).

Figure 6.6: First experiment: answers to “Did You Find the Task Difficult?”

Figure 6.6: First experiment: answers to “Did You Find the Task Difficult?”

However, more VR participants found some tasks more difficult than on-screen participants (“agree” when asked “did you find the task difficult?”). Checking the qualitative feedback obtained after the experiment, it seems that the main reason for this difference was the lack of familiarity with the VR headset and its interaction possibilities.

Second Experiment (E2)

E2 T1 was correctly answered by all participants (both VR and on-screen), who were able to locate the zone of the city where test code is displayed. This result, consistent with the first experiment, reinforces the fact that participants can easily locate a block of code.

For tasks E2 T2 – E2 T4, E2 T9, and E2 T10, Figure 6.7 details the percentages of correctness for exact match and for close match. For exact match, Figure 6.7a shows the correctness percentage for each of the three files in the answers to the corresponding task. For four tasks (E2 T2, E2 T4, E2 T9 and E2 T10), results are better for VR participants. For task E2 T3, results are mixed. These results are in general much better for VR participants (when compared to on-screen participants) than in the first experiment.

Figure 6.7: Second experiment: Correctness percentage for tasks asking for top 3 files according to a certain metric

Figure 6.7: Second experiment: Correctness percentage for tasks asking for top 3 files according to a certain metric

(a) Exact match: correctness percentage for each file (top: VR, bottom: on-screen)

(b) Close match: correctness percentage for all files

For close match, Figure 6.7b shows the correctness percentage for all files in the answers, split by VR or on-screen participants. In this case, the results are again very similar for both VR and on-screen participants, in line with the corresponding results of the first experiment.

In the first new task, E2 T9, we asked participants to identify the buildings with the larger volume. It is interesting to observe that its results are significantly better for VR participants, which could suggest that volume is better appreciated in VR.

In Task E2 T10, instead, several buildings have very similar heights. That explains the poor results both for VR and on-screen participants. However, the slightly better results for VR participants could suggest that small differences in height can be better appreciated in VR.

Contrary to the first experiment, the new results show that VR participants have in general answered with higher accuracy than on-screen participants. This could be due to the adjustments that we performed. Once again, despite the different results, both VR and onscreen participants provided similar answers with respect to the difficulty of the tasks (see Figure 6.8). However, some more VR participants found some tasks difficult. We attribute that to the lack of familiarity with the VR headset and its interactions, as we did for the first experiment.

Figure 6.8: Second experiment: answers to “Did You Find the Task Difficult?”

Figure 6.8: Second experiment: answers to “Did You Find the Task Difficult?”

6.3.2 Completion Time (RQ2)

To answer RQ2 (How does the efficiency of participants immersed in VR compare to that of participants using the on-screen version of BabiaXR-CodeCity?), we analyzed the completion time for the tasks E1 T1 – E1 T8 (i.e., first experiment) and E2 T1 – E2 T4, and E2 T9 – E2 T11 (i.e., second experiment). Table 6.3 summarizes the results of this analysis, which are also presented as box plots in Figure 6.9 and Figure 6.10. The difference in completion time between VR participants and on-screen participants is significant.

Table 6.3: Completion time for all tasks, and statistical analysis (Mann-Whitney U Test and Cliff’s Delta effect size)

ID

VR (m:ss)

Screen (S) (m:ss)

Mann-Whitney U

U Test p-value

Cliff’s Delta

E1 T1

1:47

3:57

128.0

≈0.001

0.77

E1 T2

1:50

3:46

129.0

≈0.001

0.79

E1 T3

1:42

3:00

137.0

<0.001

0.75

E1 T4

0:57

1:38

120.0

≈0.006

0.67

E1 T5

0:16

1:00

144.0

<0.001

1.00

E1 T6

1:01

1:56

138.0

<0.001

1.00

E1 T7

1:05

2:11

128.5

≈0.001

0.78

E1 T8

0:28

1:12

144.0

<0.001

1.00

E1 All

1:08

2:20

7,531.0

<0.001

0.63

E2 T1

0:47

2:13

156.0

<0.001

1.00

E2 T2

1:24

3:01

162.0

<0.001

1.00

E2 T3

1:37

2:05

124.0

0.045

0.78

E2 T4

1:35

2:18

127.0

0.031

1.00

E2 T9

0:41

1:03

142.5

≈0.002

1.00

E2 T10

1:49

2:31

144.0

≈0.003

1.00

E2 T11

1:58

2:46

126.0

0.035

1.00

E2 All

1:24

2:16

6,429.5

<0.001

0.63

Figure 6.9: First experiment: completion times (in seconds). VR participants (top), on-screen participants (bottom)

Figure 6.9: First experiment: completion times (in seconds). VR participants (top), on-screen participants (bottom)

Figure 6.10: Second experiment: completion times (in seconds). VR participants (top), onscreen participants (bottom)

Figure 6.10: Second experiment: completion times (in seconds). VR participants (top), onscreen participants (bottom)

Across all tasks, VR participants were faster than on-screen participants. On average, they were 1 minute and 12 seconds faster in the first experiment and almost 1 minute in the second one. This difference reaches its peak in the first experiment in task E1 T1 where VR participants were on average 2 minutes and 10 seconds faster than on-screen participants to identify the test directory. In the second experiment, the peak is in task E2 T2 where VR-BabiaXR participants were 1 minute and 37 seconds faster.

To understand whether these differences are statistically significant, we ran the MannWhitney U Test [Nachar, 2008], a non-parametric unpaired test suitable to compare differences between two independent groups (VR and on-screen participants). Columns U and p-value in Table 6.3 report the results: across all tasks, differences in task completion times between VR and on-screen participants are statistically significant. To quantify the amount of difference between both groups we also report the value of the Cliff’s Delta effect size measure [Cliff, 1993] for the magnitude, and the corresponding range of Cliff’s Delta following the suggestion by Romano et al. [Romano et al., 2006]. Our results show that across all tasks the effect size is large (δ < 0.474).

6.3.3 Final Task & Feedback

At the end of the experiment, we asked participants to perform a high-level task (E1 T11 in the first experiment, E2 T11 in the second): to locate the “core” of JetUML. All participants provided a reasonable answer (e.g., the src/ca/mcgill/cs/jetuml directory) and reasoned about why that was their answer. Some entered into more details and highlighted specific subdirectories (or files) based on different features of the visualization (e.g., high density of buildings, bigger classes, more complex files). In any case, we did not observe remarkable differences between VR and on-screen participants in any of the two experiments. In the second experiment, where we measured completion time of E2 T11, we observed that VR participants were faster than on-screen participants, also in this deliberately vague task.

At the end of the experiment, we asked participants to provide us with some feedback on the experiment itself. All participants agreed that the experiment was not too difficult. We also collected some qualitative feedback that we leveraged to improve the second experiment.

Feedback on the First Experiment

On-screen participants agreed that the experiment was not difficult. Some of them even agreed that was easy (e.g., “Not at all. For me, it was easier to identify different buildings per color,” “No, it was quite easy,” “This experiment is not difficult once you read the instructions,” “Overall it was not difficult”). Some of them detailed that some parts of the experiment were difficult to address, e.g., differentiate geometric features, “In the heights, it was a bit difficult for me to differentiate,” “The other factor that made the experiment more complicated than it could be are the colors, the difference is not enough to make a distinction in some cases, so I needed to use the tooltips,” “With respect to the experiment itself, perhaps the most challenging was to differentiate the metrics that are represented by the building,” and “And it is difficult to find the highest buildings sometimes” are comments that represent the problem. This led us to improve the scene in the second experiment, regarding the differences between the characteristics of the building (i.e., height, area, and color).

On-screen participants also reported issues with the user interface of our tool when it comes to movements, interactions, and camera. We received feedback like “I would have liked to be able to adjust the scrolling sensitivity, as there were times when it was difficult for me to position myself in a certain position/height for a better view of the city,” “WASD controls are very sensitive,” “The trickiest part was getting used to the controls as they are not as precise as they could be, so finding the right positioning to correctly perceive the details was a bit difficult and I spent some time finding out ways of moving the camera around properly.” To mitigate these problems, in the second experiment we added a training scene for on-screen participants to familiarize themselves with the movements.

VR participants also agreed that the experiment was not difficult. Some of them agreed with on-screen participants that it is difficult to distinguish between heights (e.g., “it is hard to compare different heights and because of the fact that some buildings hide each other,” “oftentimes it is hard to see some of the entities because they are hidden or have similar metrics”). We took this problem into account when refining the setup for the second experiment. Only one participant reported that being not familiar with VR was a difficulty for realizing the experiment (“I was not familiar with VR so it was difficult for me to point to things and hard to read because of glasses”).

VR participants also provided some suggestions: “Raise the floor level, use colors also for platforms (i.e., to identify the complexity),” “Buildings could be taller (or ground level could be lifted),” or “You could add means to automatically highlight the top 3 source code files matching aparticularfilter, say the top 3 files ordered by complexity.” We tried to address some of them in the second experiment.

In Section 6.2.2 we detailed the problems that were identified, and the changes we made to the design of the second experiment to address them.

Feedback on the Second Experiment

In this second experiment, two on-screen participants agreed that the experiment was difficult. One of them gave us the reason, “It was difficult because I’m not used to 3D environments and video games, so the use of keyboard and mouse is a bit tricky for me. So I would improve movement.” This is something that we tried to mitigate by adding the training before the experiment, but apparently, for this participant, the training was not enough. In general, compared with the first experiment, on-screen participants had fewer problems in distinguishing between buildings with similar features. Only one of them reported a problem: “I would improve the height scale to notice small changes.” The inclusion of the task about the volume was specifically difficult for some on-screen participants (“The volume is the most difficult task,” “The task about the volume does not contribute much”). On-screen participants still reported problems with the interface and the movements: “Movement issues, hard to put the camera in a specific point (to see the heights for instance). Task 7 is difficult to know,” “It is hard to move the camera with the mouse and keyboard” and “The interface is fuzzy when you open more than one-quarter tooltip.”

Some on-screen participants also provided positive feedback about the tool and scenario, “The system is clearly represented, with its modules” and “The building image looks really useful, the color was really useful, the height was helpful.”

On the other hand, all VR participants reported that the experiment was not difficult, but three of them reported that the new task related to the volume was hard: “Show the value for the volume, it is tough to compute the volume by hand,” “The volume was difficult because I would multiply the values and the differences are not enough,” and “It is hard to estimate the volume” are the comments. We wanted to add this task due to its difficulty level forcing the user to perceive volume without providing a number. After the improvements thanks to the feedback of the first experiment, there were some VR participants that pointed out other issues to improve regarding the scene: “I suggest raise the city level,” “It is hard to point to very thin entities (e.g., Node.java),” and “Some buildings are hard to point, the thinnest” are examples of these troubles.

One participant had trouble with the VR glasses: “Oftentimes the view is blurry, but I believe it is because I wear glasses.” VR participants also provided positive feedback, “I like the fact that you can crouch to see the heights of buildings” shows a good point about VR immersion, and “The more you do tasks, the easier is. It is easy to understand.”

6.4 Discussion

Our results show that VR participants were in general less correct in their answers than onscreen participants in almost all the tasks of the first experiment. However, in the second experiment, the VR participants improved their results, being more correct than on-screen participants in several tasks. This effect is more clear in tasks that require finding buildings with small variations among the largest ones. For example, in the task of finding a specific building in a specific neighborhood with very little differences between the buildings (E2 T10) VR participants have better accuracy. The difference is not high, but it is noticeable.

There are a number of reasons that might explain the improvements in the second experiment. One of the main reasons could be the training we included in the second experiment both for on-screen and for VR subjects, which we introduced with the aim to balance both environments. In the first experiment, half of the VR participants had never used a VR headset prior to our experiment. But using a VR headset is an experience that in the beginning can be quite disorienting. Adding a dedicated training session gives the subject the opportunity to get familiar with VR immersion, the use of the headset and the controls, and their effect on movement. This could explain that subjects in VR are more accurate in the second experiment. The training would have a smaller effect on on-screen participants since they would already be familiar with the on-screen environment, and the adaptation is easier since for using on-screen technologies the use of keyboard and mouse is much more widespread (although they would need to adapt to using the arrow/WASD keys for movement). Training would have little or no effect in improving their accuracy when performing the tasks.

Indeed, if we observe how the tasks were solved throughout the experiment in terms of efficiency and correctness, VR participants seem to get better task after task, especially in the first experiment. This suggests that if users are more accustomed to the use of VR headsets, the difference in accuracy could be narrowed if not completely nullified. However, it remains to be investigated whether this is actually the case.

Following the feedback of the participants in the first experiment, as we described in Section 6.2.2, we also introduced some changes in the scale and layout of the software city in VR, without changing the layout algorithm. This could also contribute to the improvements that can be observed in the comparison of the results of the two experiments.

However, as a general note, it is important to realize that the use of VR devices is still not widespread, as we have seen in the demographic data for both of our experiments: participants had little or no previous experience with VR immersion. This means that participants in the experiment started with a certain disadvantage since they had to learn to work in VR immersion at the same time that they completed the tasks in our experiments. It remains to be investigated whether, as more people become accustomed to VR devices, the correctness of people using a VR improves.

When we focus on completion time, the picture is completely different. Despite lacking experience in VR headset usage, VR participants were considerably faster than on-screen participants across all tasks. As discussed in Section 6.3, the difference across all tasks is statistically significant. In some of the tasks, VR participants completed them in less than half the time of on-screen participants. We obtained similar results also on the second experiment, which provide more evidence about program comprehension tasks being indeed performed faster in VR.

This result suggests that VR immersion could play a pivotal role when carrying out software comprehension tasks in a 3D environment. Interacting with a VR headset is similar to interacting in the real world, using more natural gestures than when working on-screen. You can move your head to look around, kneel down to see the world from a lower perspective, or just move around to get a better angle of vision. Besides, not everybody is used to navigating 3D environments on-screen with arrow/WASD keys and a mouse. Even with the training inserted in the second experiment, which slightly improved the results, 3D on-screen interactions are more cumbersome, less natural, and, as suggested by our results, less effective when compared with VR immersion.

For putting all the results in context, it is also important to notice that, despite our best efforts and intentions, BabiaXR-CodeCity is still a prototype, not yet fully optimized for VR. We think there is still a lot of room for improvement when it comes to a number of concerns that pertain exclusively to VR, such as:

Navigation. Currently, navigation in BabiaXR-CodeCity is based on walking around (which needs real space, and is usually not appropriate in many environments), or based on gaze (to select the orientation of the camera) and a single-hand controller (to gather additional information on entities). Many VR applications, especially games, use both hand controllers in conjunction with gaze and walking around, allowing for more natural and complex movement options. Also, there are different types of artificial VR locomotion3 that we did not yet explore. This means there is still untapped potential in making our environment more convenient and efficient in terms of navigation.

Physical size. In a classical first-person 3D on-screen visualization, there is a tacit assumption that the viewer, while navigating within the 3D environment, has no “physical” size, but is a mere point of view (i.e., a camera) in the environment. In VR this is quite different. As in reality, there is the question of scale: “how big” is the user within the environment?. If we look at Figure 6.2a, the user is standing in a room looking at the city visualization which sits atop a slab. From this, we can infer that if the visualization was physical, it would be as big as a large dining table. However, the city could be represented as even smaller, or much larger, than a real-scale city. Which representation is more convenient and efficient? Would allowing users to change the scale will help them to be more comfortable and efficient? More research is needed to answer these questions, but we think both convenience and performance could be improved by tuning this factor appropriately. In the second experiment, we improved this physical size for the VR environment, making it more accessible while immersed in VR, which maybe was one of the reasons for the gains in correctness.

Interaction. In the current version, interactions with the visualization in BabiaXR-CodeCity are very limited. Users can just point at buildings and neighborhoods, and see banners with extended information. Other interactions could be used to improve the user experience. For example, in a small-scale city, users could “touch” buildings, getting extended information that way. Or they could just rotate the whole city, and enlarge and shrink it as they want to see details or the whole picture.

In summary, we consider that the results of our experiments show that VR CodeCity is comparable to on-screen CodeCity, with respect to the correctness of results, and much better with respect to efficiency. Considering that VR headsets are still a rather novel technology and that our immersive VR version of the experiment is still under-explored, we believe our study paves the way for a number of follow-up studies and implementations. As VR devices improve, as people get more accustomed to using them, and as software for building applications for them becomes more capable of producing good interactions and user experiences, we expect that metaphors such as CodeCity get increasingly more useful and usable.

We also have shown how our multi-platform implementation of CodeCity, which can work very similarly both on-screen and in VR, can help to fairly compare those environments for metaphors used for software comprehension. In fact, it is a lucky chance that the implementation in the browser makes it so easy to compare the same scene, and essentially the same app, in both on-screen and VR environments: only a handful of technologies offer this opportunity. Since most of the details of running on different platforms are dealt with by the browser, we could focus on building a high level application implementing the CodeCity metaphor, and not dealing with the details of how to render the scene, or how to code the interaction of the user with it.

Finally, the availability of the application in the browser also simplifies the experiments. No specific hardware needs to be deployed, since it is easy to find devices (both screenbased and VR-based) with a browser supporting the needed standards. Users can just launch a browser, point it to a given URL, and start running the experiment. We expect that this approach may also help, in the future, to have experiments with a much larger number of subjects, since in principle, anyone with access to on-screen or VR browsers could volunteer to be one of them. This even opens the door to semi-automated experiments, where subjects select when and where they want to run the experiment, and everything is performed and recorded for future examination, online. From this point of view, our second experiment was much more automated than the first one, and we feel there is still a lot of room for improvement in this area, with relatively little effort. However, ensuring that the conditions in which the experiment is performed, and minimizing the effect of confounding variables, will be a challenge if automation is pushed further. And of course, it will depend on the fraction of potential participants with access to VR devices.

6.5 Threats to validity

6.5.1 Internal Validity

Internal validity is related to uncontrolled factors that can influence the effectiveness. In our case, it pertains to:

Subjects. In both experiments, we ensured that all the participants had experience in different relevant topics about programming using a questionnaire, mitigating the threat that they were not competent enough. Moreover, we asked for their experience in the relevant topics to mitigate the threat that the participant’s experience was not distributed fairly. However, their training for the environment of their experiment (on-screen or VR) was not uniform, with persons participating in the VR experiment being much less experienced in VR environments than on-screen participants in on-screen environments.

Tasks. The choice of tasks may have been biased in favor of VR or on-screen participants. We mitigated this threat by developing scenes that were valid for both VR and on-screen, with exactly the same tasks, so that the level of difficulty was as similar as possible. We also included tasks that put both modes at a disadvantage: tasks focused on precision could be easier on-screen, while tasks focused on locality could be easier in VR. Not controlled aspects (e.g., the relative size of the buildings in VR) could have an influence on the results.

Lack of training. We had two problems with respect to a potential lack of training, which could lead to incorrect results, compared to the same experiment with adequate training. In the case of VR participants, they had little or no previous experience with VR immersion, and with the VR devices we were using. To mitigate this problem, we offered all of them to run the generic starter tutorial First Steps of the Oculus Quest 2 headset. But then we had also a potential lack of training in the use of BabiaXR or CodeCity. In both cases (VR and on-screen participants) the text to be followed for performing the tasks explains how the tool is used and how the interaction with the elements works. But some training could be convenient. To mitigate this threat, in the second experiment we provided the participants with a training scene to familiarize themselves with the environment. For on-screen participants, this training scene included a tutorial about the movements and interaction controls, forcing the participants to get used to the arrow/WASD keys for moving and mouse clicking for moving the camera.

6.5.2 External Validity

External validity relates to the generalizability of the results of the experiment. In our case, it pertains to:

Sample Size. The number of participants in the experiments is relatively small. Although we tried to recruit a representative sample and we repeated the experiment, a larger sample would lead to more conclusive results.

Subjects. We mitigate the threat of subject representativeness by categorizing them, including the job position and the years of experience in the programming topics, obtaining a balanced mix of academics and professionals.

Target system. Another threat is represented by the choice of the target system: JetUML. Participants did not know it in advance, except for two (one for each experiment) who knew it “a little.” We cannot assess how appropriate or representative JetUML is for the reverse engineering tasks we designed, but the consistent variations in solutions for the same task in both VR and on-screen environments signal that results could be extensible to other systems.

Experimenter effect. One of the experimenters is also one of the authors of BabiaXRCodeCity, which may have influenced any subjective aspect of the experiment. For example, task solutions may not have been graded correctly. To mitigate this threat, another author carried out part of the experiments as a supervisor. Both experimenters built a model of the responses based on previous experiments in the literature (e.g., [Wettel et al., 2011], [Romano et al., 2019]). Even if we tried to mitigate this threat extensively, we cannot exclude all possible influences on the results of the two experiments.

Time measurement. In the first experiment, to mitigate the threat that task completion times are not exact, the supervisor was present and noted how long the participant took to complete the task. The participant also notified the supervisor when she had completed each task, thus having a double-check of the completion time. In addition, the writing time of the Screen-BabiaXR participants’ responses in the external form is not significant, so it does not pose an additional threat. Mitigating these threats, the difference between answering using a form for the Screen-BabiaXR participants and the aloud method for the VR-BabiaXR participants does not produce a threat. We planned to use in-scene mechanisms for answering the tasks in VR-BabiaXR and on-screen forms in Screen-BabiaXR. We did that in the second experiment, forcing all the participants (VR-BabiaXR and Screen-BabiaXR) to speak aloud, standardizing the time spent reporting answers (i.e., with respect to the first experiment where Screen-BabiaXR participants had to fill an external form to report the answers).

Task texts. To mitigate the threat that a participant could start performing a task while still reading the task description (i.e., with the city is in front of her, as in the first experiment), in the second experiment we placed the task descriptions in a different position (i.e., rotated 90°CW with respect to the city), forcing VR-BabiaXR participants to move the head to read the assignments and VR-BabiaXR participants to move the camera to read the assignments, in both cases losing sight of the city.

On-Screen and VR movement. The differences in the moving interface presented by Screen-BabiaXR and VR-BabiaXR (i.e., sensitivity, speed, etc.) can pose a threat to the validity of results, specifically in what refers to completion time. Screen-BabiaXR participants from the first experiment reported that they experienced some sensitivity issues when handling the camera (moving around in the scene). To mitigate this threat, we added a training for the second experiment with no time limit for both VR-BabiaXR and Screen-BabiaXR, for participants to get used to the environment, movements, and interaction. After the second experiment, most participants did not report this sensitivity issue, but some of them still reported movement problems, indicating that an improvement to the Screen-BabiaXR interface should be made to fully mitigate this threat.

6.6 Conclusions

We presented two controlled experiments aimed at evaluating whether VR is well suited to visualize the CodeCity metaphor when compared with the traditional on-screen implementation. In both experiments, subjects were shown a CodeCity-like visualization of the same software system, either in VR or on-screen. For that, we used BabiaXR-CodeCity, part of the BabiaXR toolset for 3D data visualization that we developed for visualization, and GrimoireLab for the collection of data from the corresponding software repository. Subjects included people from both academia and industry, with a wide range of experience. Each subject performed 9 (i.e., first experiment, repeating 4 of them in the old snapshot of the JetUML system) or 7 (i.e., second experiment) tasks related to software comprehension, either immersed in VR or on-screen. In the first experiment the tasks corresponded to two moments in the development history of the system, while in the second, they corresponded to a single snapshot. The feedback collected in the first experiment helped us improving the design of the second experiment.

The results of both experiments show that immersion in VR led to a much shorter completion time for the tasks, compared to on-screen. In this respect, results were even more clear in the second experiment, which was more carefully crafted to minimize the effect of confounding variables.

In the first experiment, results show that subjects immersed in VR have less accuracy than those working in the on-screen environment. However, in the second experiment, with a more balanced setup, the accuracy in VR increased considerably, being even better than on-screen. However, for most of the tasks and in both environments, if we consider close matches (i.e., answers in Top 5) instead of exact matches, correctness is always over 90%, making both environments well suited to solve these tasks.

The higher error rate in the first experiment was due to the lack of experience with VR devices of participants, the prototypical stage of our implementation, and the visual similarity of the buildings in some of the proposed tasks. The qualitative feedback that we received from subjects in the first experiment allowed us to mitigate these problems in the second one, which is, in our opinion, the main reason for the increased accuracy in the VR-BabiaXR environment. The feedback collected from participants in the second experiment is consistent with our appreciation.

Overall, we conclude that VR provides a better user experience than on-screen for issues related to locating, moving, and searching for elements in the scene. This explains the fact that time to complete is about half in most tasks performed in VR, compared to on-screen. Considering these results, it could happen that VR might allow CodeCity-style visualizations to reach the “tipping point,” beyond which they are viable and useful for practitioners.

An open issue that our study does not answer is to which extent subjects are directly comparing features of buildings, or relying on values provided by tooltips when performing the tasks. Tooltips provide exact numbers, easy to compare, and are obtained just by pointing at buildings. It would be an interesting future work to know their impact on results, finding when subjects directly use features of buildings, and when tooltips, to answer the questions in the study. However, this would not affect the overall result, since tooltips were available in both environments.

Virtual reality does not only provide better performance in terms of speed, and some reasonable but still improvable performance in terms of accuracy. It also offers a set of unprecedented features, such as the chances of collaboration between teams of people immersed in the same VR environment, which we find very promising and which deserve to be explored. The improvement of accuracy in VR, and the exploration of these new possibilities, are interesting lines of long-term future work.

As a result of the work to conduct our experiments, we also developed an implementation of CodeCity for the browser, which can run both on virtual reality and screen-based devices. This is a reusable artifact that other researchers may find useful for extending our studies, or for exploring what can be done with this technology.

Replication package. For replicating the study presented in this chapter, see Appendix A.2.1.

This study has been published in the Information and Software Technologies Journal [Moreno-Lumbreras et al., 2023].

BIBLIOGRAPHY

Abdalkareem, R., Oda, V., Mujahid, S., and Shihab, E. (2020). On the impact of using trivial packages: an empirical case study on npm and PyPI. Empirical Software Engineering, 25(2):1168–1204.

Anderson, A. and Weng, Z. (1999). VRDD: applying virtual reality visualization to protein docking and design. Journal of Molecular Graphics and Modelling, 17(3-4):180–186.

Antoniol, G., Ayari, K., Di Penta, M., Khomh, F., and Guéhéneuc, Y.-G. (2008). Is it a bug or an enhancement? a text-based approach to classify change requests. In Proceedings of the 2008 Conference of the Center for Advanced Studies on Collaborative Research: Meeting of Minds, CASCON ’08, New York, NY, USA. Association for Computing Machinery.

Averbukh, V. (2001). Visualization metaphors. Programming and Computer Software, 27:227–237.

Bacchelli, A. and Bird, C. (2013). Expectations, outcomes, and challenges of modern code review. In 2013 35th ICSE, pages 712–721. IEEE.

Balogh, G., Gergely, T., Beszedes, A., and Gyimothy, T. (2016). Using the city metaphor for visualizing test-related metrics. In 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER), volume 2, pages 17–20.

Balzer, M., Noack, A., Deussen, O., and Lewerentz, C. (2004). Software Landscapes: Visualizing the Structure of Large Software Systems. In Deussen, O., Hansen, C., Keim, D., and Saupe, D., editors, Eurographics / IEEE VGTC Symposium on Visualization. The Eurographics Association.

Basit, H. A., Hammad, M., and Koschke, R. (2015). A survey on goal-oriented visualization of clone data. In 2015 IEEE 3rd Working Conference on Software Visualization (VISSOFT), pages 46–55. IEEE.

Bassil, S. and Keller, R. K. (2001). Software visualization tools: Survey and analysis. In Proceedings 9th International Workshop on Program Comprehension. IWPC 2001, pages 7–17. IEEE.

Batch, A., Cunningham, A., Cordeil, M., Elmqvist, N., Dwyer, T., Thomas, B. H., and Marriott, K. (2019). There is no spoon: Evaluating performance, space use, and presence with expert domain users in immersive analytics. IEEE transactions on visualization and computer graphics, 26(1):536–546.

Baum, D., Schilbach, J., Kovacs, P., Eisenecker, U., and Müller, R. (2017). GETAVIZ: Generating structural, behavioral, and evolutionary views of software systems for empirical evaluation. In 2017 IEEE Working Conference on Software Visualization (VISSOFT), pages 114–118.

Bergel, A., Maass, S., Ducasse, S., and Girba, T. (2014). A domain-specific language for visualizing software dependencies as a graph. In 2014 Second IEEE Working Conference on Software Visualization, pages 45–49.

Bettenburg, N., Just, S., Schröter, A., Weiss, C., Premraj, R., and Zimmermann, T. (2008). What makes a good bug report? In Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of Software Engineering, SIGSOFT ’08/FSE-16, page 308–318, New York, NY, USA. Association for Computing Machinery.

Bissyandé, T. F., Lo, D., Jiang, L., Réveillère, L., Klein, J., and Traon, Y. L. (2013). Got issues? who cares about it? a large scale investigation of issue trackers from github. In 2013 IEEE 24th International Symposium on Software Reliability Engineering (ISSRE), pages 188–197.

Bowman, D. and McMahan, R. (2007). Virtual reality: How much immersion is enough? Computer, 40:36–43.

Brito, R., Brito, A., Brito, G., and Valente, M. T. (2019). GoCity: Code city for Go. In 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER), pages 649–653.

Bryson, S. (1996). Virtual reality in scientific visualization. Communications of the ACM, 39(5):62–71.

Capece, N., Erra, U., Romano, S., and Scanniello, G. (2017). Visualising a software system as a city through virtual reality. In De Paolis, L. T., Bourdot, P., and Mongelli, A., editors, Augmented Reality, Virtual Reality, and Computer Graphics, pages 319–327, Cham. Springer International Publishing.

Carpendale, S. and Ghanam, Y. (2008). A survey paper on software architecture visualization. Technical report, University of Calgary.

Caserta, P. and Zendra, O. (2011). Visualization of the static aspects of software: A survey. IEEE Transactions on Visualization and Computer Graphics, 17(7):913–933.

Chatzidimitriou, K., Papamichail, M., Diamantopoulos, T., Tsapanos, M., and Symeonidis, A. (2018). npm-miner: An infrastructure for measuring the quality of the npm registry. In 2018 IEEE/ACM 15th International Conference on Mining Software Repositories (MSR), pages 42–45.

Chen, J. J., Cai, H., Auchus, A. P., and Laidlaw, D. H. (2012). Effects of stereo and screen size on the legibility of three-dimensional streamtube visualization. IEEE Transactions on Visualization and Computer Graphics, 18:2130–2139.

Chi, E. (2000). A taxonomy of visualization techniques using the data state reference model. In IEEE Symposium on Information Visualization 2000. INFOVIS 2000. Proceedings, pages 69–75.

Cliff, N. (1993). Dominance statistics: Ordinal analyses to answer ordinal questions. Psychological Bulletin, 114:494–509.

Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences. Lawrence Erlbaum Associates.

Cosentino, V., Duenas, S., Zerouali, A., Robles, G., and Gonzalez-Barahona, J. M. (2018). Graal: The quest for source code knowledge. In 2018 IEEE 18th International Working Conference on Source Code Analysis and Manipulation (SCAM), pages 123–128.

Cruz-Neira, C., Sandin, D. J., and DeFanti, T. A. (1993). Surround-screen projection-based virtual reality: the design and implementation of the cave. In Proceedings of the 20th annual conference on Computer graphics and interactive techniques, pages 135–142.

De Sa, A. G. and Zachmann, G. (1999). Virtual reality as a tool for verification of assembly and maintenance processes. Computers & Graphics, 23(3):389–403.

Decan, A., Mens, T., and Grosjean, P. (2019). An empirical comparison of dependency network evolution in seven software packaging ecosystems. Empirical Software Engineering, 24(1):381–416.

Demiralp, C., Jackson, C., Karelitz, D., Zhang, S., and Laidlaw, D. (2006). Cave and fishtank virtual-reality displays: A qualitative and quantitative comparison. IEEE transactions on visualization and computer graphics, 12:323–30.

Diehl, S. (2007). Software visualization: visualizing the structure, behaviour, and evolution of software. Springer Science & Business Media.

Djorgovski, S., Hut, P., Knop, R., Longo, G., McMillan, S., Vesperini, E., Donalek, C., Graham, M., Mahabal, A., Sauer, F., et al. (2013). The mica experiment: Astrophysics in virtual worlds. arXiv preprint arXiv:1301.6808.

Dueñas, S., Cosentino, V., Robles, G., and Gonzalez-Barahona, J. M. (2018). Perceval: Software project data at your will. In Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings, ICSE ’18, page 1–4, New York, NY, USA. Association for Computing Machinery.

Dueñas, S., Cosentino, V., Gonzalez-Barahona, J. M., del Castillo San Felix, A., Izquierdo- Cortazar, D., Cañas-Díaz, L., and García-Plaza, A. P. (2021). GrimoireLab: A toolset for software development analytics. PeerJ Computer Science, 7:e601.

Elizalde Zapata, R., Kula, R. G., Chinthanet, B., Ishio, T., Matsumoto, K., and Ihara, A. (2018). Towards smoother library migrations: A look at vulnerable dependency migrations at function level for npm javascript packages. In 2018 IEEE International Conference on Software Maintenance and Evolution (ICSME), pages 559–563.

Elliott, A., Peiris, B., and Parnin, C. (2015). Virtual reality in software engineering: Affordances, applications, and challenges. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, volume 2, pages 547–550. IEEE.

Erra, U. and Scanniello, G. (2012). Towards the visualization of software systems as 3D forests: The CodeTrees environment. In Proceedings of the 27th Annual ACM Symposium on Applied Computing, SAC ’12, page 981–988, New York, NY, USA. Association for Computing Machinery.

Falke, R., Klein, R., Koschke, R., and Quante, J. (2005). The dominance tree in visualizing software dependencies. In 3rd IEEE International Workshop on Visualizing Software for Understanding and Analysis, pages 1–6.

Few, S. (2004). Show me the numbers. Analytics Pres.

Fittkau, F., Krause, A., and Hasselbring, W. (2015). Exploring software cities in virtual reality. In 2015 IEEE 3rd Working Conference on Software Visualization (VISSOFT), pages 130–134.

Friendly, M. (2008a). A Brief History of Data Visualization, pages 15–56. Springer Berlin Heidelberg, Berlin, Heidelberg.

Friendly, M. (2008b). Milestones in the history of thematic cartography, statistical graphics, and data visualization.

García-Hernández, R. J., Anthes, C., Wiedemann, M., and Kranzlmüller, D. (2016). Perspectives for using virtual reality to extend visual data mining in information visualization. In 2016 IEEE Aerospace Conference, pages 1–11.

Gibson, I., Cobb, S., and Eastgate, R. (1993). Virtual reality and rapid prototyping: Conflicting or complimentary? In 1993 international solid freeform fabrication symposium.

Graham, H., Yang, H. Y., and Berrigan, R. (2004). A solar system metaphor for 3d visualisation of object oriented software metrics. In Churcher, N. and Churcher, C., editors, Australasian Symposium on Information Visualisation, InVis.au, Christchurch, New Zealand, 23-24 January 2004, volume 35 of CRPIT, pages 53–59. Australian Computer Society.

Hamou-Lhadj, A. and Lethbridge, T. C. (2004). A survey of trace exploration tools and techniques. In Proceedings of the 2004 conference of the Centre for Advanced Studies on Collaborative research, pages 42–55.

Harrison, Magel, Kluczny, and DeKock (1982). Applying software complexity metrics to program maintenance. Computer, 15(9):65–79.

Heer, J. and Agrawala, M. (2008). Design considerations for collaborative visual analytics. Information Visualization, 7.

Heer, J., Bostock, M., and Ogievetsky, V. (2010). A tour through the visualization zoo. Commun. ACM, 53(6):59–67.

Hejderup, J. (2015). In dependencies we trust: How vulnerable are dependencies in software modules?

Hoff, A., Gerling, L., and Seidl, C. (2022). Utilizing software architecture recovery to explore large-scale software systems in virtual reality. In 2022 Working Conference on Software Visualization (VISSOFT), pages 119–130.

Hooimeijer, P. and Weimer, W. (2007). Modeling bug report quality. In Proceedings of the Twenty-Second IEEE/ACM International Conference on Automated Software Engineering, ASE ’07, page 34–43, New York, NY, USA. Association for Computing Machinery.

Ibrahim, Z. and Money, A. G. (2019). Computer mediated reality technologies: A conceptual framework and survey of the state of the art in healthcare intervention systems. Journal of biomedical informatics, 90:103102.

Isaacs, K. E., Giménez, A., Jusufi, I., Gamblin, T., Bhatele, A., Schulz, M., Hamann, B., and Bremer, P.-T. (2014). State of the art of performance visualization. EuroVis (STARs).

Jackson, D. and Gilbert, J. (2020). WebGL 2.0 specification. Khronos Group Specification.

Jacob, R. J., Girouard, A., Hirshfield, L. M., Horn, M. S., Shaer, O., Solovey, E. T., and Zigelbaum, J. (2008). Reality-based interaction: a framework for post-wimp interfaces. In Proceedings of the SIGCHI conference on Human factors in computing systems, pages 201–210.

Jafari, A. J., Costa, D. E., Abdalkareem, R., Shihab, E., and Tsantalis, N. (2022). Dependency smells in javascript projects. IEEE Transactions on Software Engineering, 48(10):3790– 3807.

Jedlitschka, A. and Pfahl, D. (2005). Reporting guidelines for controlled experiments in software engineering. In 2005 International Symposium on Empirical Software Engineering, 2005., pages 10 pp.–.

Jones, B. and Goregaokar, M. (2020). WebXR device API. W3C Working Draft.

Kaiser, P., Vasak, P., Suorineni, F., and Thibodeau, D. (2005). New dimensions in seismic data interpretation with 3-d virtual reality visualisation for burst-prone mines. pages 33–45.

Kendall, M. (1938). A new measure of rank correlation. Biometrika.

Kikas, R., Gousios, G., Dumas, M., and Pfahl, D. (2017). Structure and evolution of package dependency networks. In 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR), pages 102–112.

Kitchenham, B., Pfleeger, S., Pickard, L., Jones, P., Hoaglin, D., El Emam, K., and Rosenberg, J. (2002). Preliminary guidelines for empirical research in software engineering. IEEE Transactions on Software Engineering, 28(8):721–734.

Knight, C. and Munro, M. (1999). Comprehension with[in] virtual environment visualisations. In Proceedings Seventh International Workshop on Program Comprehension, pages 4–11.

Kobayashi, K., Kamimura, M., Yano, K., Kato, K., and Matsuo, A. (2013). Sarf map: Visualizing software architecture from feature and layer viewpoints. In 2013 21st International Conference on Program Comprehension (ICPC), pages 43–52.

Kononenko, O., Rose, T., Baysal, O., Godfrey, M., Theisen, D., and De Water, B. (2018). Studying pull request merges: a case study of shopify’s active merchant. In Proceedings of the 40th ICSE SEIP, pages 124–133.

Korkut, E. and Surer, E. (2022). Visualization in virtual reality: a systematic review.

Koschke, R. (2003). Software visualization in software maintenance, reverse engineering, and re-engineering: a research survey. Journal of Software Maintenance and Evolution: Research and Practice, 15(2):87–109.

Kraus, M., Fuchs, J., Sommer, B., Klein, K., Engelke, U., Keim, D., and Schreiber, F. (2022). Immersive analytics with abstract 3d visualizations: A survey. Computer Graphics Forum, 41(1):201–229.

Laha, B., Bowman, D., and Socha, J. (2014). Effects of vr system fidelity on analyzing isosurface visualization of volume datasets. IEEE transactions on visualization and computer graphics, 20:513–22.

Lakoff, G. and Johnson, M. (1980). Metaphors we live by. University of Chicago Press.

Langelier, G., Sahraoui, H., and Poulin, P. (2005). Visualization-based analysis of quality for large-scale software systems. In Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering, ASE ’05, page 214–223, New York, NY, USA. Association for Computing Machinery.

Lauinger, T., Chaabane, A., Arshad, S., Robertson, W., Wilson, C., and Kirda, E. (2018). Thou shalt not depend on me: Analysing the use of outdated javascript libraries on the web. arXiv preprint arXiv:1811.00918.

Liu, S., Cui, W., Wu, Y., and Liu, M. (2014). A survey on information visualization: recent advances and challenges. The Visual Computer, 30(12):1373–1393.

Maddila, C., Bansal, C., and Nagappan, N. (2019). Predicting pull request completion time: a case study on large scale cloud services. In Proceedings of the 2019 27th ESEC/FSE, pages 874–882.

Maletic, J., Leigh, J., Marcus, A., and Dunlap, G. (2001). Visualizing object-oriented software in virtual reality. In Proceedings 9th International Workshop on Program Comprehension. IWPC 2001, pages 26–35.

Marcus, A., Feng, L., and Maletic, J. I. (2003). 3D representations for software visualization. In Proceedings of the 2003 ACM Symposium on Software Visualization, SoftVis ’03, page 27–ff, New York, NY, USA. Association for Computing Machinery.

Maruyama, K., Omori, T., and Hayashi, S. (2014). A visualization tool recording historical data of program comprehension tasks. In Proceedings of the 22nd International Conference on Program Comprehension, ICPC 2014, page 207–211, New York, NY, USA. Association for Computing Machinery.

Mattila, A.-L., Ihantola, P., Kilamo, T., Luoto, A., Nurminen, M., and Väätäjä, H. (2016). Software visualization today: Systematic literature review. In Proceedings of the 20th International Academic Mindtrek Conference, AcademicMindtrek ’16, page 262–271, New York, NY, USA. Association for Computing Machinery.

Merino, L., Fuchs, J., Blumenschein, M., Anslow, C., Ghafari, M., Nierstrasz, O., Behrisch, M., and Keim, D. A. (2017). On the impact of the medium in the effectiveness of 3d software visualizations. In 2017 IEEE Working Conference on Software Visualization (VIS- SOFT), pages 11–21.

Merino, L., Ghafari, M., Anslow, C., and Nierstrasz, O. (2017). CityVR: Gameful software visualization. In 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME), pages 633–637.

Merino, L., Ghafari, M., Anslow, C., and Nierstrasz, O. (2018). A systematic literature review of software visualization evaluation. Journal of Systems and Software, 144.

Millais, P., Jones, S. L., and Kelly, R. (2018). Exploring data in virtual reality: Comparisons with 2d data visualizations. In Extended Abstracts of the 2018 CHI Conference on Human Factors in Computing Systems, pages 1–6.

Misiak, M., Schreiber, A., Fuhrmann, A., Zur, S., Seider, D., and Nafeie, L. (2018). IslandViz: A tool for visualizing modular software systems in virtual reality. In 2018 IEEE Working Conference on Software Visualization (VISSOFT), pages 112–116.

Moreno-Lumbreras, D., Gonzalez-Barahona, J. M., and Villaverde, A. (2022). BabiaXR: Virtual reality software data visualizations for the web. In 2022 IEEE Conference on Virtual Reality and 3D User Interfaces Abstracts and Workshops (VRW), pages 71–74. IEEE.

Moreno-Lumbreras, D., Minelli, R., Villaverde, A., Gonzalez-Barahona, J. M., and Lanza, M. (2021a). CodeCity: On-screen or in virtual reality? In Working Conference on Software Visualization, VISSOFT 2021, Luxembourg, September 27-28, 2021, pages 12–22. IEEE.

Moreno-Lumbreras, D., Minelli, R., Villaverde, A., Gonzalez-Barahona, J. M., and Lanza, M. (2023). Codecity: A comparison of on-screen and virtual reality. Information and Software Technology, 153:107064.

Moreno-Lumbreras, D., Robles, G., Izquierdo-Cortazar, D., and González-Barahona, J. M. (2021b). To VR or not to VR: is virtual reality suitable to understand software development metrics? CoRR, abs/2109.13768.

Mujber, T., Szecsi, T., and Hashmi, M. (2004). Virtual reality applications in manufacturing process simulation. Journal of Materials Processing Technology, 155-156:1834–1838. Proceedings of the International Conference on Advances in Materials and Processing Technologies: Part 2.

Munzner, T. (2014). Visualization analysis and design. CRC press.

Nachar, N. (2008). The Mann-Whitney U: A test for assessing whether two independent samples come from the same distribution. Tutorials in Quantitative Methods for Psychology, 4.

Novais, R. L., Torres, A., Mendes, T. S., Mendonc¸a, M., and Zazworka, N. (2013). Software evolution visualization: A systematic mapping study. Information and Software Technology, 55(11):1860–1883.

Panas, T., Berrigan, R., and Grundy, J. (2003). A 3D metaphor for software production visualization. In Proceedings on Seventh International Conference on Information Visualization, 2003. IV 2003., pages 314–319.

Panas, T., Epperly, T., Quinlan, D., Saebjornsen, A., and Vuduc, R. (2007). Communicating software architecture using a unified single-view visualization. In 12th IEEE International Conference on Engineering Complex Computer Systems (ICECCS 2007), pages 217–228.

Panas, T., Lincke, R., and Löwe, W. (2005). Online-configuration of software visualizations with vizz3d. In Proceedings of the 2005 ACM Symposium on Software Visualization, SoftVis ’05, page 173–182, New York, NY, USA. Association for Computing Machinery.

Paredes, J., Anslow, C., and Maurer, F. (2014). Information visualization for agile software development. In 2014 second ieee working conference on software visualization, pages 157–166. IEEE.

Petersen, K., Feldt, R., Mujtaba, S., and Mattsson, M. (2008). Systematic mapping studies in software engineering. In Proceedings of the 12th International Conference on Evaluation and Assessment in Software Engineering, EASE’08, page 68–77, Swindon, GBR. BCS Learning Development Ltd.

Pfahler, F., Minelli, R., Nagy, C., and Lanza, M. (2020). Visualizing evolving software cities. In 2020 Working Conference on Software Visualization (VISSOFT), pages 22–26.

Playfair, W. (1822). A Letter on Our Agricultural Distresses, Their Causes and Remedies: Accompanied with Tables and Copper-plate Charts, Shewing and Comparing the Prices of Wheat, Bread and Labour from 1565 to 1821... Number 23431. W. Sams.

Ragan, E. D., Kopper, R., Schuchardt, P., and Bowman, D. A. (2013). Studying the effects of stereo, head tracking, and field of regard on a small-scale spatial judgment task. IEEE Transactions on Visualization and Computer Graphics, 19(5):886–896.

Raja, D., Bowman, D., Lucas, J., and North, C. (2004). Exploring the benefits of immersion in abstract information visualization. In Proc. Immersive Projection Technology Workshop, volume 61, page 69.

Ralph, P. (2021). ACM SIGSOFT empirical standards released. SIGSOFT Softw. Eng. Notes, 46(1):19.

Romano, J., Kromrey, J., Coraggio, J., and Skowronek, J. (2006). Appropriate statistics for ordinal level data: Should we really be using t-test and Cohen’sd for evaluating group differences on the NSSE and other surveys? In annual meeting of the Florida Association of Institutional Research, pages 1–3.

Romano, S., Capece, N., Erra, U., Scanniello, G., and Lanza, M. (2019). On the use of virtual reality in software visualization: The case of the city metaphor. Information and Software Technology, 114:92 – 106.

Rosenbaum, R., Bottleson, J., Liu, Z., and Hamann, B. (2011). Involve me and i will understand!–abstract data visualization in immersive environments. In International Symposium on Visual Computing, pages 530–540. Springer.

Rüdel, M.-O., Ganser, J., and Koschke, R. (2018). A controlled experiment on spatial orientation in vr-based software cities. In 2018 IEEE Working Conference on Software Visualization (VISSOFT), pages 21–31.

Sadowski, C., Söderberg, E., Church, L., Sipko, M., and Bacchelli, A. (2018). Modern code review: a case study at google. In Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice, pages 181–190.

Saket, B., Endert, A., and C¸ agatay Demiralp (2017). Data and task based effectiveness of basic visualizations. ArXiv, abs/1709.08546.

Scarsbrook, J. D., Ko, R. K. L., Rogers, B., and Bainbridge, D. (2018). MetropolJS: Visualizing and debugging large-scale JavaScript program structure with treemaps. In 2018 IEEE/ACM 26th International Conference on Program Comprehension (ICPC), pages 389–3893.

Scheibel, W., Limberger, D., and Döllner, J. (2020). Survey of treemap layout algorithms. In Proceedings of the 13th International Symposium on Visual Information Communication and Interaction, VINCI ’20, New York, NY, USA. Association for Computing Machinery.

Schots, M., Vasconcelos, R., and Werner, C. (2014). A quasi-systematic review on software visualization approaches for software reuse. Technical report.

Schreiber, A. and Brüggemann, M. (2017). Interactive visualization of software components with virtual reality headsets. In 2017 IEEE Working Conference on Software Visualization (VISSOFT), pages 119–123.

Schuemie, M., Straaten, P., Krijn, M., and Mast, C. (2001). Research on presence in virtual reality: A survey. Cyberpsychology and behavior : the impact of the Internet, multimedia and virtual reality on behavior and society, 4:183–201.

Seriai, A., Benomar, O., Cerat, B., and Sahraoui, H. (2014). Validation of software visualization tools: A systematic mapping study. In 2014 Second IEEE Working Conference on Software Visualization, pages 60–69.

Sillito, J., Murphy, G. C., and De Volder, K. (2006). Questions programmers ask during software evolution tasks. In Proceedings of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering, SIGSOFT ’06/FSE-14, page 23–34, New York, NY, USA. Association for Computing Machinery.

Snow, J. (1856). On the mode of communication of cholera. Edinb Med J, 1(7):668–670.

Steinbrückner, F. and Lewerentz, C. (2010). Representing development history in software cities. In Proceedings of the 5th International Symposium on Software Visualization, SOFTVIS ’10, page 193–202, New York, NY, USA. Association for Computing Machinery.

Storey, M.-A. D., Čubranić, D., and German, D. M. (2005). On the use of visualization to support awareness of human activities in software development: a survey and a framework. In Proceedings of the 2005 ACM symposium on Software visualization, pages 193–202.

Sun, C., Lo, D., Khoo, S.-C., and Jiang, J. (2011). Towards more accurate retrieval of duplicate bug reports. In 2011 26th IEEE/ACM International Conference on Automated Software Engineering (ASE 2011), pages 253–262.

Sun, C., Lo, D., Wang, X., Jiang, J., and Khoo, S.-C. (2010). A discriminative model approach for accurate duplicate bug report retrieval. In 2010 ACM/IEEE 32nd International Conference on Software Engineering, volume 1, pages 45–54.

Swayne, D. F., Cook, D., and Buja, A. (1998). Xgobi: Interactive dynamic data visualization in the x window system. Journal of Computational and Graphical Statistics, 7(1):113–130.

Teyseyre, A. R. and Campo, M. R. (2008). An overview of 3d software visualization. IEEE transactions on visualization and computer graphics, 15(1):87–105.

Thongtanunam, P., McIntosh, S., Hassan, A. E., and Iida, H. (2017). Review participation in modern code review. Empirical Software Engineering, 22(2):768–817.

Tian, Y., Sun, C., and Lo, D. (2012). Improved duplicate bug report identification. In 2012 16th European Conference on Software Maintenance and Reengineering, pages 385–390.

Tufte, E. R. (2001). The Visual Display of Quantitative Information. Graphics Press, Cheshire, CT, 2 edition.

Vegas, S., Apa, C., and Juristo, N. (2016). Crossover designs in software engineering experiments: Benefits and perils. IEEE Transactions on Software Engineering, 42(2):120–135.

Vincur, J., Navrat, P., and Polasek, I. (2017). VR City: Software analysis in virtual reality environment. In 2017 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), pages 509–516.

Vincur, J., Polasek, I., and Navrat, P. (2017). Searching and exploring software repositories in virtual reality. In Proceedings of the 23rd ACM Symposium on Virtual Reality Software and Technology, VRST ’17, New York, NY, USA. Association for Computing Machinery.

Weninger, M., Makor, L., and Mössenboöck, H. (2020). Memory cities: Visualizing heap memory evolution using the software city metaphor. In 2020 Working Conference on Software Visualization (VISSOFT), pages 110–121.

Wettel, R. and Lanza, M. (2007a). Program comprehension through software habitability. In 15th IEEE International Conference on Program Comprehension (ICPC ’07), pages 231–240.

Wettel, R. and Lanza, M. (2007b). Visualizing software systems as cities. In 2007 4th IEEE International Workshop on Visualizing Software for Understanding and Analysis, pages 92–99.

Wettel, R. and Lanza, M. (2008). Visual exploration of large-scale system evolution. In 2008 15th Working Conference on Reverse Engineering, pages 219–228.

Wettel, R. and Lanza, M. (2008). Visually localizing design problems with disharmony maps. In Proceedings of the 4th ACM Symposium on Software Visualization, SoftVis ’08, page 155–164, New York, NY, USA. Association for Computing Machinery.

Wettel, R., Lanza, M., and Robbes, R. (2011). Software systems as cities: a controlled experiment. In 2011 33rd International Conference on Software Engineering (ICSE), pages 551–560.

Williams, J. and Dabirsiaghi, A. (2012). The unfortunate reality of insecure libraries. Asp. Secur. Inc, pages 1–26.

Wittern, E., Suter, P., and Rajagopalan, S. (2016). A look at the dynamics of the javascript package ecosystem. In Proceedings of the 13th International Conference on Mining Software Repositories, pages 351–361.

Wohlin, C., Runeson, P., Höst, M., Ohlsson, M. C., Regnell, B., and Wesslén, A. (2012). Experimentation in software engineering. Springer Science & Business Media.

Yano, K. and Matsuo, A. (2017). Data access visualization for legacy application maintenance. In 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER), pages 546–550.

Young, P. and Munro, M. (1998). Visualising software in virtual reality. In Proceedings. 6th International Workshop on Program Comprehension. IWPC’98 (Cat. No.98TB100242), pages 19–26.

Yu, Y., Wang, H., Filkov, V., Devanbu, P., and Vasilescu, B. (2015). Wait for it: Determinants of pull request evaluation latency on github. In 2015 IEEE/ACM 12th working conference on mining software repositories, pages 367–371. IEEE.

Zerouali, A., Cosentino, V., Mens, T., Robles, G., and Gonzalez-Barahona, J. M. (2019). On the impact of outdated and vulnerable javascript packages in docker images. In 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER), pages 619–623.

Zhang, S., Demiralp, C., Keefe, D., DaSilva, M., Laidlaw, D., Greenberg, B., Basser, P., Pierpaoli, C., Chiocca, E., and Deisboeck, T. (2001). An immersive virtual environment for dt-mri volume visualization applications: a case study. In Proceedings Visualization, 2001. VIS ’01., pages 437–584.

_______________________________

1 https://babiaxr.gitlab.io

2 JetUML: https://github.com/prmr/JetMUL

3 Artificial VR Locomotion: https://developer.oculus.com/learn/artificial-locomotion