Title :
Listening to programmers — Taxonomies and characteristics of comments in operating system code
Author :
Padioleau, Yoann ; Tan, Lin ; Zhou, Yuanyuan
Author_Institution :
Univ. of Illinois, Urbana, IL
Abstract :
Innovations from multiple directions have been proposed to improve software reliability. Unfortunately, many of the innovations are not fully exploited by programmers. To bridge the gap, this paper proposes a new approach to ldquolistenrdquo to thousands of programmers: studying their programming comments. Since comments express programmers´ assumptions and intentions, comments can reveal programmers´ needs, which can provide guidance (1) for language/-tool designers on where they should develop new techniques or enhance the usability of existing ones, and (2) for programmers on what problems are most pervasive and important so that they should take initiatives to adopt some existing tools or language extensions. We studied 1050 comments randomly sampled from the latest versions of Linux, FreeBSD, and OpenSolaris. We found that 52.6% of these comments could be leveraged by existing or to-be-proposed tools for improving reliability. Our findings include: (1) many comments describe code relationships, code evolutions, or the usage and meaning of integers and integer macros, (2) a significant amount of comments could be expressed by existing annotation languages, and (3) many comments express synchronization related concerns but are not well supported by annotation languages.
Keywords :
Linux; operating systems (computers); software reliability; FreeBSD; Linux; OpenSolaris; operating system code; software reliability; Bridges; Computer bugs; Computer languages; Linux; Operating systems; Programming profession; Software reliability; Taxonomy; Technological innovation; Usability;
Conference_Titel :
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location :
Vancouver, BC
Print_ISBN :
978-1-4244-3453-4
DOI :
10.1109/ICSE.2009.5070533