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
The Impact of Improper Indentation on Code Comprehensibility
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2019 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Påverkan av bristfällig indentering på kodförståelse (Swedish)
Abstract [en]

This study uses eye-tracking and time measuring to examine if improperly indented code affects code comprehension in Java source code. The study was divided into three different phases of testing, each with three samples of Java source code with various degrees of indentation. During the tests, the test subjects were asked to read the code and try to determine what the output would be. The tests had a total of 33 test subjects. Results from the time measuring and the amount of correctly determined outputs implied a correlation between a proper indentation and how easy the code was to comprehend, where proper indentation made it easier. The eye-tracking results did not give any conclusive answers to the question.

Abstract [sv]

Denna studie använder sig av eye-tracking och tidtagning för att undersöka om bristfällig indentering påverkar förståelsen för Java-källkod. Testningen innebar att en försöksperson tittade på tre bilder med kod och försökte avgöra vad respektive kod skulle printa om den exekverades. Testningen genomfördes på 33 försökspersoner och var indelad i tre faser. I varje fas visades tre bilder och indenteringen på varje bild skiljde sig från den på de andra två. Resultaten påvisade att det fanns en korrelation mellan att indenteringen var bristfällig och att koden var svårare att förstå. De eye-tracking-producerade resultaten var ej noggranna nog för att kunna användas till att dra någon slutsats.

Place, publisher, year, edition, pages
2019.
Series
TRITA-EECS-EX ; 2019:320
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-255045OAI: oai:DiVA.org:kth-255045DiVA, id: diva2:1337802
Subject / course
Computer and Systems Sciences
Supervisors
Examiners
Available from: 2019-07-29 Created: 2019-07-17 Last updated: 2019-07-29Bibliographically approved

Open Access in DiVA

fulltext(1758 kB)9 downloads
File information
File name FULLTEXT01.pdfFile size 1758 kBChecksum SHA-512
d3650672a582d85940d32c489b903f4ccee5ff7b0d15e648ddea9e8a53f0db9d80117ce1f54f3ad8edb3d6e8ead2a64c601a8cdfb366473c93e7179f1fede267
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

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