Change search
ReferencesLink to record
Permanent link

Direct link
Beauty and the Beast: on the readability of object-oriented example programs
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2016 (English)In: Software quality journal, ISSN 0963-9314, E-ISSN 1573-1367, Vol. 24, no 2, 231-246 p.Article in journal (Refereed) PublishedText
Abstract [en]

Some solutions to a programming problem are more elegant or more simple than others and thus more understandable for students. We review desirable properties of example programs from a cognitive and a measurement point of view. Certain cognitive aspects of example programs are captured by common software measures, but they are not sufficient to capture a key aspect of understandability: readability. We propose and discuss a simple readability measure for software, SRES, and apply it to object-oriented textbook examples. Our results show that readability measures correlate well with human perceptions of quality. Compared with other readability measures, SRES is less sensitive to commenting and whitespace. These results also have implications for software maintainability measures.

Place, publisher, year, edition, pages
2016. Vol. 24, no 2, 231-246 p.
Keyword [en]
Object-oriented programming, Quality, Measurement, Software readability, Programming education
National Category
Computer Science
URN: urn:nbn:se:umu:diva-120084DOI: 10.1007/s11219-015-9267-5ISI: 000373861100002OAI: diva2:936118
Available from: 2016-06-13 Created: 2016-05-09 Last updated: 2016-06-13Bibliographically approved

Open Access in DiVA

No full text

Other links

Publisher's full text

Search in DiVA

By author/editor
Nordström, Marie
By organisation
Department of Computing Science
In the same journal
Software quality journal
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
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

Altmetric score

Total: 32 hits
ReferencesLink to record
Permanent link

Direct link