The role of method chains and comments in software readability and comprehension: an experiment

Software readability and comprehension are important factors in software maintenance. There is a large body of research on software measurement, but the actual factors that make software easier to read or easier to comprehend are not well understood. In the present study, we investigate the role of...

Full description

Saved in:
Bibliographic Details
Main Authors: Börstler, Jürgen (Author) , Paech, Barbara (Author)
Format: Article (Journal)
Language:English
Published: 10 Feb. 2016
In: IEEE transactions on software engineering
Year: 2016, Volume: 42, Issue: 9, Pages: 886-898
ISSN:1939-3520
DOI:10.1109/TSE.2016.2527791
Online Access:Resolving-System, kostenfrei, Volltext: http://dx.doi.org/10.1109/TSE.2016.2527791
Verlag, kostenfrei, Volltext: https://ieeexplore.ieee.org/document/7404062/
Get full text
Author Notes:Jürgen Börstler and Barbara Paech
Description
Summary:Software readability and comprehension are important factors in software maintenance. There is a large body of research on software measurement, but the actual factors that make software easier to read or easier to comprehend are not well understood. In the present study, we investigate the role of method chains and code comments in software readability and comprehension. Our analysis comprises data from 104 students with varying programming experience. Readability and comprehension were measured by perceived readability, reading time and performance on a simple cloze test. Regarding perceived readability, our results show statistically significant differences between comment variants, but not between method chain variants. Regarding comprehension, there are no significant differences between method chain or comment variants. Student groups with low and high experience, respectively, show significant differences in perceived readability and performance on the cloze tests. Our results do not show any significant relationships between perceived readability and the other measures taken in the present study. Perceived readability might therefore be insufficient as the sole measure of software readability or comprehension. We also did not find any statistically significant relationships between size and perceived readability, reading time and comprehension.
Item Description:Gesehen am 06.09.2018
Physical Description:Online Resource
ISSN:1939-3520
DOI:10.1109/TSE.2016.2527791