Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Developers talking about code quality
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.ORCID iD: 0000-0003-0639-4234
Wageningen University and Research, Netherlands.
Virginia Tech, United States.
Utrecht University, Netherlands.
Show others and affiliations
2023 (English)In: Empirical Software Engineering, ISSN 1382-3256, E-ISSN 1573-7616, Vol. 28, no 6, article id 128Article in journal (Refereed) Published
Abstract [en]

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.

Place, publisher, year, edition, pages
Springer, 2023. Vol. 28, no 6, article id 128
Keywords [en]
Code quality, Semi-structured interviews, Software development, Source code properties, Quality perception
National Category
Software Engineering
Research subject
Software Engineering; Computer Science
Identifiers
URN: urn:nbn:se:bth-25436DOI: 10.1007/s10664-023-10381-0ISI: 001073677200001Scopus ID: 2-s2.0-85171886124OAI: oai:DiVA.org:bth-25436DiVA, id: diva2:1802594
Funder
ELLIIT - The Linköping‐Lund Initiative on IT and Mobile CommunicationsAvailable from: 2023-10-05 Created: 2023-10-05 Last updated: 2024-01-02Bibliographically approved

Open Access in DiVA

fulltext(1682 kB)158 downloads
File information
File name FULLTEXT01.pdfFile size 1682 kBChecksum SHA-512
5e0a69f597b29e12da5c0e319cf1f0c15899ce0663e8b0b9087a1f1882a953806543c1f4983bd997dab59557e072f17d9e3398a71a2112284aa76c76472967c7
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Börstler, Jürgen

Search in DiVA

By author/editor
Börstler, Jürgen
By organisation
Department of Software Engineering
In the same journal
Empirical Software Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 158 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 181 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf