A Survey of the Forms of Java']Java Reference Names

被引:15
|
作者
Butler, Simon [1 ]
Wermelinger, Michel [1 ]
Yu, Yijun [1 ]
机构
[1] Open Univ, Comp & Commun Dept, Milton Keynes MK7 6AA, Bucks, England
关键词
D O I
10.1109/ICPC.2015.30
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The readability of identifiers is a major factor of program comprehension and an aim of naming convention guidelines. Due to their semantic content, identifiers are also used in feature and bug location, among other software maintenance tasks. Looking at how names are used in practice may lead to insights on potential problems for comprehension and for programming support tools that process identifiers. Class and method names are already well represented in the literature. This paper presents an investigation of Java field, formal argument and local variable names, which we collectively call reference names. These names cannot be ignored because they constitute over half the unique names and almost 70% of the name declarations in the corpus investigated. We analysed the forms of 3.5 million reference name declarations in 60 well known Java projects, examining the phrasal structure of names composed of known words and acronyms. The structures found in practice were evaluated against those given in the literature. The use of unknown abbreviations and words, which may pose a problem for program comprehension, was also identified. Based on our observations of the rich diversity of reference names, we suggest issues to be taken into account for future academic research and for improving tools that rely on names as sources of information.
引用
收藏
页码:196 / 206
页数:11
相关论文
共 50 条
  • [1] Java']Java Power Reference
    Flanagan, D
    [J]. IEEE MICRO, 1999, 19 (05) : 10 - 11
  • [2] Java']Javari: Adding reference immutability to Java']Java
    Tschantz, MS
    Ernst, MD
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (10) : 211 - 230
  • [3] The Politics of Names among Chinese Indonesians in Java']Java
    Bailey, Benjamin
    Lie, Sunny
    [J]. JOURNAL OF LINGUISTIC ANTHROPOLOGY, 2013, 23 (01) : 21 - 40
  • [4] Part of Speech Tagging Java']Java Method Names
    Olney, Wyatt
    Hill, Emily
    Thurber, Chris
    Lemma, Bezalem
    [J]. 32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 483 - 487
  • [5] The development of personal names in Kudus, Central Java']Java, Indonesia
    Widodo, Sahid Teguh
    [J]. MULTIFARIOUS ROLES OF LANGUAGE IN SOCIETY, 2014, 134 : 154 - 160
  • [6] A calculus for Java']Java's Reference objects
    Gabay, Yarom
    Kfoury, Assaf J.
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (08) : 9 - 17
  • [7] Communicating Java']Java threads reference manual
    Hilderink, GH
    [J]. PARALLEL PROGRAMMING AND JAVA, 1997, 50 : 283 - 325
  • [8] Java']Java language reference - Grand,M
    Gillespie, T
    [J]. LIBRARY JOURNAL, 1997, 122 (06) : 118 - 118
  • [9] The openEHR Java']Java Reference Implementation Project
    Chen, Rong
    Klein, Gunnar
    [J]. MEDINFO 2007: PROCEEDINGS OF THE 12TH WORLD CONGRESS ON HEALTH (MEDICAL) INFORMATICS, PTS 1 AND 2: BUILDING SUSTAINABLE HEALTH SYSTEMS, 2007, 129 : 58 - +
  • [10] Java']Java quick reference - Afergan,M
    Copler, JA
    [J]. ONLINE, 1997, 21 (01): : 83 - 83