2006
DOI: 10.1007/s11219-006-9219-1
|View full text |Cite
|
Sign up to set email alerts
|

Concise and consistent naming

Abstract: Approximately 70% of the source code of a software system consists of identifiers. Hence, the names chosen as identifiers are of paramount importance for the readability of computer programs and therewith their comprehensibility. However, virtually every programming language allows programmers to use almost arbitrary sequences of characters as identifiers which far too often results in more or less meaningless or even misleading naming. Coding style guides somehow address this problem but are usually limited t… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
68
1

Year Published

2007
2007
2019
2019

Publication Types

Select...
3
3
2

Relationship

0
8

Authors

Journals

citations
Cited by 185 publications
(69 citation statements)
references
References 17 publications
(15 reference statements)
0
68
1
Order By: Relevance
“…In this paper, we use the titles of the bug reports to populate the set of queries B as they are less noisy and they resemble the real world search queries better than the descriptions. In order to index the source code and perform the retrievals with QR, we extended Terrier 6 , a flexible open source platform developed in Java [25].…”
Section: A Indexing Source Codementioning
confidence: 99%
See 1 more Smart Citation
“…In this paper, we use the titles of the bug reports to populate the set of queries B as they are less noisy and they resemble the real world search queries better than the descriptions. In order to index the source code and perform the retrievals with QR, we extended Terrier 6 , a flexible open source platform developed in Java [25].…”
Section: A Indexing Source Codementioning
confidence: 99%
“…The problem of constructing a good query for code search is exacerbated by the fact that, despite the naming conventions in all programming languages, arbitrary abbreviations and concatenations are frequently used in source code for the naming of concepts, objects, artifacts, and so on [6]. Therefore, searching a code base for concepts, objects, artifacts, etc., using terms that are oblivious to the abbreviation and concatenations actually used can, in the worst case, miss out entirely on the files highly relevant to a given search, and, in the best, result in poor values for the relevancies.…”
Section: Introductionmentioning
confidence: 99%
“…Identifiers used by programmers for names of classes, methods, or attributes in source code or other artifacts contain important information and account for approximately half of the source code in software (Deissenboeck and Pizka 2005;Deissenboeck and Pizka 2006). These names often serve as a starting point in many program comprehension tasks (Caprile and Tonella 1999;Haiduc and Marcus 2008;Abebe et al 2009;Arnaoudova et al 2010).…”
Section: Conceptual Information In Softwarementioning
confidence: 99%
“…However, we believe that fault proneness is a complex phenomenon hardly captured solely by structural characteristics of code entities. Indeed, several studies showed that identifiers impact program comprehension (e.g., [5], [6], [7], [8]) and code quality (e.g., [3], [9], [10]). We concur with Deißenböck and Pizka's observation that proper identifiers improve quality and that identifiers should be used consistently [6].…”
Section: Introductionmentioning
confidence: 99%
“…Indeed, several studies showed that identifiers impact program comprehension (e.g., [5], [6], [7], [8]) and code quality (e.g., [3], [9], [10]). We concur with Deißenböck and Pizka's observation that proper identifiers improve quality and that identifiers should be used consistently [6]. Source code with high quality identifiers, carefully chosen and consistently used in their contexts, likely ease program comprehension and support developers in building consistent and coherent conceptual models.…”
Section: Introductionmentioning
confidence: 99%