DocumentCode
2524454
Title
Exploring the Influence of Identifier Names on Code Quality: An Empirical Study
Author
Butler, Simon ; Wermelinger, Michel ; Yu, Yijun ; Sharp, Helen
Author_Institution
Centre for Res. in Comput., Open Univ., Milton Keynes, UK
fYear
2010
fDate
15-18 March 2010
Firstpage
156
Lastpage
165
Abstract
Given the importance of identifier names and the value of naming conventions to program comprehension, we speculated in previous work whether a connection exists between the quality of identifier names and software quality. We found that flawed identifiers in Java classes were associated with source code found to be of low quality by static analysis. This paper extends that work in three directions. First, we show that the association also holds at the finer granularity level of Java methods. This in turn makes it possible to, secondly, apply existing method-level quality and readability metrics, and see that flawed identifiers still impact on this richer notion of code quality and comprehension. Third, we check whether the association can be used in a practical way. We adopt techniques used to evaluate medical diagnostic tests in order to identify which particular identifier naming flaws could be used as a light-weight diagnostic of potentially problematic Java source code for maintenance.
Keywords
Java; codes; medical diagnostic computing; program diagnostics; software quality; Java classes; Java method-level quality; Java source code; light weight diagnostic; medical diagnostic test; naming convention; particular identifier naming; program comprehension; readability metrics; software quality; source code quality; static analysis; Complexity theory; Dictionaries; Guidelines; Java; Readability metrics; Sensitivity; programming; software metrics; software quality;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Reengineering (CSMR), 2010 14th European Conference on
Conference_Location
Madrid
ISSN
1534-5351
Print_ISBN
978-1-61284-369-8
Electronic_ISBN
1534-5351
Type
conf
DOI
10.1109/CSMR.2010.27
Filename
5714430
Link To Document