首页 | 本学科首页   官方微博 | 高级检索  
     


Beauty and the Beast: on the readability of object-oriented example programs
Authors:Email authorEmail author  Michael?E?Caspersen  Marie?Nordstr?m
Affiliation:1.Blekinge Institute of Technology,Karlskrona,Sweden;2.Aarhus University,Aarhus,Denmark;3.Ume? University,Ume?,Sweden
Abstract: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.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号