| Literature DB >> 36159895 |
James Dominic1, Brock Tubre1, Deborah Kunkel1, Paige Rodeghero1.
Abstract
Virtual reality (VR) is an emerging technology used in various domains such as medicine, psychotherapy, architecture, and gaming. Recently, software engineering researchers have started to explore virtual reality as a tool for programmers. However, few studies examine source code comprehension in VR. This paper explores the human experience of comprehending source code in VR and compares it to source code comprehension in a desktop environment. We conducted a study with 26 graduate student programmers. We measured actual productivity, perceived productivity and used the NASA Task Load Index (TLX) survey to measure various factors such as mental demand, physical demand, temporal demand, performance, effort, and frustration. We found that the programmers experienced more physical demand, effort, and overall task load when reading and comprehending code in VR. However, we did not observe any statistically significant differences in the programmers' measured productivity or perceived productivity between VR and desktop comprehension.Entities:
Keywords: Code comprehension; Human experience; Virtual reality
Year: 2022 PMID: 36159895 PMCID: PMC9486787 DOI: 10.1007/s10664-022-10196-5
Source DB: PubMed Journal: Empir Softw Eng ISSN: 1382-3256 Impact factor: 3.762
Fig. 1The virtual reality environment used by the programmer to complete source code comprehension tasks. This figure shows the desktop mirror as the programmer comprehended source code
Fig. 2A screenshot of the NASA TLX survey questions asked during the post-experiment survey. It lists all six questions and the 21 gradient scale
Fig. 3Sample adjusted scored and overall task load score from the official NASA TLX application
Participants demographic information
| Demographic | Desktop | VR | ||||
|---|---|---|---|---|---|---|
| Mean | Median | Std Dev | Mean | Median | Std Dev | |
Professional Experience (yrs) | 2.15 | 2 | 1.91 | 2.07 | 1 | 1.89 |
| Age (yrs) | 24.76 | 25 | 2.35 | 24.92 | 23 | 3.70 |
Fig. 5NASA TLX scores reported by participants while comprehending source code in VR and desktop
Benjamini-Hochberg adjusted p-values and Cohen’s d on self reported NASA TLX scores, perceived complexity, perceived productivity, and measured productivity
| Measure | Desktop mean | VR mean | p-value | Cohen’s |
|---|---|---|---|---|
| Mental Demand | 53.84 | 69.61 | 0.06 | 0.72 |
| Physical Demand | 30.76 | 55.38 | 0.04 | 0.94 |
| Temporal Demand | 48.84 | 59.61 | 0.24 | 0.50 |
| Effort | 58.46 | 71.53 | 0.04 | 0.76 |
| Performance Rating | 77.69 | 73.84 | 0.71 | 0.17 |
| Frustration | 46.92 | 56.15 | 0.12 | 0.47 |
| Overall Task Load | 55.66 | 70.46 | 0.03 | 1.20 |
| Perceived Complexity | 2.93 | 2.46 | 0.04 | 1.10 |
| Perceived Productivity | 4.07 | 3.30 | 0.16 | 0.74 |
| Measured Comprehension | 5.38 | 4.23 | 0.32 | 0.52 |
Fig. 6Distribution of perceived productivity ratings by group (1 = no productivity, 5 = extremely productive)
Fig. 7Weak negative correlation exhibited between Measured Compre- hension and Overall Task Load