Title
Syntactic Identifier Conciseness and Consistency
Abstract
Readers of programs have two main sources of domain information: identifier names and comments. It is therefore important for the identifier names (as well as comments) to communicate clearly the concepts that they are meant to represent. Deiβenb篓ock and Pizka recently introduced rules for concise and consistent variable naming. One requirement of their approach is an expert provided mapping from identifiers to concepts. An approach for the concise and consistent naming of variables that does not require any additional information (e.g., a mapping) is presented. Using a pool of 48 million lines of code, experiments with the resulting syntactic rules for concise and consistent naming illustrate that violations of the syntactic pattern exist. Two case studies show that three quarters of the violations uncovered are "real". That is they would be identified using a concept mapping. Techniques for reducing the number of false positives are also presented. Finally, two related studies show that evolution does not introduce rule violations and that programmers tend to use a rather limited vocabulary.
Year
DOI
Venue
2006
10.1109/SCAM.2006.31
SCAM
Keywords
Field
DocType
identifier name,additional information,concept mapping,false positive,part-of-speech,consistent naming,domain information,identifier quality,syntactic identifier conciseness,consistent variable naming,case study,syntactic rule,syntactic pattern,lines of code,natural languages,concept map,part of speech,pediatrics
Concept map,Programming language,Identifier,Computer science,Part of speech,Natural language,Natural language processing,Artificial intelligence,Vocabulary,Syntax,Source lines of code,False positive paradox
Conference
ISBN
Citations 
PageRank 
0-7695-2353-6
30
1.72
References 
Authors
7
3
Name
Order
Citations
PageRank
Dawn Lawrie168544.50
Henry A. Feild232918.08
David Binkley32098169.44