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
Identifying inhibitors and motivatorsfor writing code with high readabilityand what we can do about it: A study of motivation to write code with highreadability
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
2022 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

As time passes, more and more code is written, and as companies owna large quantity of code, the importance of readable and easy-to-understand codeincreases. It is well known that a developer's time is spent primarily on reading and understanding source code. This study aims to answer the questions: do students and professionals in software development agree on the current state-of-the-art of source code readability, what inhibits developers from writing code with high readability, and what activities they perceive to help them write code with high readability. In this context, readability is defined as the ease with which a person can read, understand, and comprehend source code, and the effort it takes to understand the logic, relations, cohesion, and ideas behind the code.

A survey was distributed by email and social media to people working in the field. The respondents were asked to answer questions about readability and three self-evaluating questions about how they work with code. Responses were analyzed and compared to the state-of-the-art in readability of source code. 

A literature study was performed to determine the current state-of-the-art of source code readability.The survey result showed considerable support for the findings of the literature review.

The survey results also revealed that the most significant inhibitors for writing code with high readability are connected to lack of time, and the most recognized method of increasing readability is code reviews.

Place, publisher, year, edition, pages
2022. , p. 37
Keywords [en]
Readability, Comprehension, Clean Code
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-23098OAI: oai:DiVA.org:bth-23098DiVA, id: diva2:1668029
Subject / course
PA1445 Kandidatkurs i Programvaruteknik
Educational program
PAGPT Software Engineering
Supervisors
Examiners
Available from: 2022-06-17 Created: 2022-06-12 Last updated: 2022-06-17Bibliographically approved

Open Access in DiVA

fulltext(625 kB)144 downloads
File information
File name FULLTEXT01.pdfFile size 625 kBChecksum SHA-512
1e89b38a38c746b4b03e9ddd989746d06fad8912043e9772936ef26215640b6d656958cf1247025d75d3026a001eafbf1ca4a118b3076d3bd283ed2ed942ab28
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Svensson, Isac
By organisation
Department of Software Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 144 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

urn-nbn

Altmetric score

urn-nbn
Total: 221 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