首页    期刊浏览 2024年11月27日 星期三
登录注册

文章基本信息

  • 标题:How are Identifiers Named in Open Source Software? On Popularity and Consistency
  • 本地全文:下载
  • 作者:Yanqing Wang ; Chong Wang ; Xiaojie Lia
  • 期刊名称:International Journal of Computer and Information Technology
  • 印刷版ISSN:2279-0764
  • 出版年度:2014
  • 卷号:3
  • 期号:3
  • 页码:616
  • 出版社:International Journal of Computer and Information Technology
  • 摘要:With the rapid increasing of software project size and maintenance cost, adherence to coding standards especially by managing identifier naming, is attracting a pressing concern from both computer science educators and software managers. Software developers mainly use identifier names to represent the knowledge recorded in source code. However, the popularity and adoption consistency of identifier naming conventions have not been revealed yet in this field. Taking forty-eight popular open source projects written in three top-ranking programming languages Java, C and C++ as examples, an identifier extraction tool based on regular expression matching is developed. In the subsequent investigation, some interesting findings are obtained. For the identifier naming popularity, it is found that Camel and Pascal naming conventions are leading the road while Hungarian notation is vanishing. For the identifier naming consistency, we have found that the projects written in Java have a much better performance than those written in C and C++. Finally, academia and software industry are urged to adopt the most popular naming conventions consistently in their practices so as to lead the identifier naming to a standard, unified and high-quality road.
  • 关键词:identifier naming convention; coding ; standards; open source project; identifier naming ; popularity; identifier naming consistency
国家哲学社会科学文献中心版权所有