CodeCity : a comparison of on-screen and virtual reality
      
      
        
      
      
      
      
        
          
          - 
            
Moreno-Lumbreras, David
  
  
    
    
  
    
      ORCID
    
  
Escuela Internacional de Doctorado @ Universidad Rey Juan Carlos & Bitergia, Móstoles & Leganés, Spain
          
 
          
          - 
            
Minelli, Roberto
  
  
    
    
  
    
      ORCID
    
  
  Istituto del software (SI), Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
          
 
          
          - 
            
Villaverde, Andrea
  
  
    
    
  
    
      ORCID
    
  
ETSIT @ Universidad Rey Juan Carlos, Fuenlabrada, Spain
          
 
          
          - 
            
González-Barahona, Jesús M.
  
  
    
    
  
    
      ORCID
    
  
ETSIT @ Universidad Rey Juan Carlos, Fuenlabrada, Spain
          
 
          
          - 
            
Lanza, Michele
  
  
    
    
  
    
      ORCID
    
  
  Istituto del software (SI), Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
          
 
          
        
        
       
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
        
        Published in:
        
          
            
            - Information and software technology. - 2022, vol. 153, p. 107064
 
            
          
         
       
      
      
      
      
      
       
      
      
      
        
        English
        
        
        
          Context. Over the past decades, researchers proposed numerous approaches to visualize source code. A popular one is CodeCity, an interactive 3D software visualization representing software system as cities: buildings represent classes (or files) and districts represent packages (or folders). Building dimensions represent values of software metrics, such as number of methods or lines of code. There are many implementations of CodeCity, the vast majority of them running on-screen. Recently, some implementations using virtual reality (VR) have appeared, but the usefulness of CodeCity in VR is still to be proven. Aim. Our comparative study aims to answer the question “Is VR well suited for CodeCity, compared to the traditional on-screen implementation?” Method. We performed two experiments with our web-based implementation of CodeCity, which can be used on-screen or in immersive VR. First, we conducted a controlled experiment involving 24 participants from academia and industry. Taking advantage of the obtained feedback, we improved our approach and conducted a second controlled experiment with 26 new participants. Results. Our results show that people using the VR version performed the assigned tasks in much less time, while maintaining a comparable level of correctness. Conclusion. VRisat least equally well-suited as on-screen for visualizing CodeCity, and likely better.
        
        
       
      
      
      
        
        
        
        
        - 
          Collections
        
 
        - 
          
        
 
        
        
        
        
        
        
        
        
        
        
        
        - 
          Language
        
 
        - 
          
        
 
        
        
        
        
        
        
        
        
        - 
          Classification
        
 
        - 
          
              
                
                  Computer science and technology
                
              
            
          
        
 
        
        
        
          
        
        
        
          
        
        
        
        
        
        
        
        
        
        
        
        - 
          License
        
 
        - 
          
        
 
        
        
        
        - 
          Open access status
        
 
        - 
          green
        
 
        
        
        
        - 
          Identifiers
        
 
        - 
          
        
 
        
        
        
        - 
          Persistent URL
        
 
        - 
          https://n2t.net/ark:/12658/srd1329624
        
 
      
     
   
  
  
  Statistics
  
  
    
      Document views: 109
      
File downloads:
      
        
        - 
          
            Minelli_Lanza_2022_Elsevier_IST: 143