Content area

Abstract

There are many aspects of code quality, some of which are difficult to capture or to measure. Despite the importance of software quality, there is a lack of commonly accepted measures or indicators for code quality that can be linked to quality attributes. We investigate software developers’ perceptions of source code quality and the practices they recommend to achieve these qualities. We analyze data from semi-structured interviews with 34 professional software developers, programming teachers and students from Europe and the U.S. For the interviews, participants were asked to bring code examples to exemplify what they consider good and bad code, respectively. Readability and structure were used most commonly as defining properties for quality code. Together with documentation, they were also suggested as the most common target properties for quality improvement. When discussing actual code, developers focused on structure, comprehensibility and readability as quality properties. When analyzing relationships between properties, the most commonly talked about target property was comprehensibility. Documentation, structure and readability were named most frequently as source properties to achieve good comprehensibility. Some of the most important source code properties contributing to code quality as perceived by developers lack clear definitions and are difficult to capture. More research is therefore necessary to measure the structure, comprehensibility and readability of code in ways that matter for developers and to relate these measures of code structure, comprehensibility and readability to common software quality attributes.

Details

Title
Developers talking about code quality
Author
Börstler, Jürgen 1   VIAFID ORCID Logo  ; Bennin, Kwabena E. 2 ; Hooshangi, Sara 3 ; Jeuring, Johan 4 ; Keuning, Hieke 4 ; Kleiner, Carsten 5 ; MacKellar, Bonnie 6 ; Duran, Rodrigo 7 ; Störrle, Harald 8 ; Toll, Daniel 9 ; van Assema, Jelle 10 

 Blekinge Institute of Technology, Karlskrona, Sweden (GRID:grid.418400.9) (ISNI:0000 0001 2284 8991) 
 Wageningen University and Research, Wageningen, The Netherlands (GRID:grid.4818.5) (ISNI:0000 0001 0791 5666) 
 Virginia Tech, Falls Church, USA (GRID:grid.438526.e) (ISNI:0000 0001 0694 4940) 
 Utrecht University, Utrecht, The Netherlands (GRID:grid.5477.1) (ISNI:0000 0000 9637 0671) 
 University of Applied Sciences & Arts Hannover, Hannover, Germany (GRID:grid.461671.3) (ISNI:0000 0004 0589 1084) 
 St John’s University, Queens, USA (GRID:grid.264091.8) (ISNI:0000 0001 1954 7928) 
 Aalto University, Helsinki, Finland (GRID:grid.5373.2) (ISNI:0000 0001 0838 9418) 
 QAware GmbH, Munich, Germany (GRID:grid.5373.2) 
 Linnæus University, Kalmar, Sweden (GRID:grid.8148.5) (ISNI:0000 0001 2174 3522) 
10  University of Amsterdam, Amsterdam, The Netherlands (GRID:grid.7177.6) (ISNI:0000 0000 8499 2262) 
Publication title
Volume
28
Issue
6
Pages
128
Publication year
2023
Publication date
Nov 2023
Publisher
Springer Nature B.V.
Place of publication
Dordrecht
Country of publication
Netherlands
ISSN
13823256
e-ISSN
15737616
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2023-09-21
Milestone dates
2023-08-11 (Registration); 2023-08-09 (Accepted)
Publication history
 
 
   First posting date
21 Sep 2023
ProQuest document ID
2866948096
Document URL
https://www.proquest.com/scholarly-journals/developers-talking-about-code-quality/docview/2866948096/se-2?accountid=208611
Copyright
© The Author(s) 2023. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2024-08-27
Database
ProQuest One Academic