首页> 外文会议>International Conference on Program Comprehension >An Empirical Exploration of Regularities in Open-Source Software Lexicons
【24h】

An Empirical Exploration of Regularities in Open-Source Software Lexicons

机译:开源软件词典中规律的实证探索

获取原文

摘要

The software lexicon is an important source of information during program comprehension activities and it has been in the focus of several recent case studies. Identifiers and comments, which constitute a lexicon in software, encode domain concepts and design decisions made by programmers. The paper presents an exploratory study that investigates regularities in the software lexicons of open-source projects by analyzing distributions of tokens in diverse software artifacts. The study examined source code of 142 systems from different domains, written in 12 different programming languages, as well as bug reports and external documentation. We discover that distributions of lexical tokens in studied artifacts follow the Zipf-Mandelbrot law, which is an empirical law in statistical natural language processing. Furthermore, the study reveals that the Zipf-Mandelbrot law is not confined to program lexicons in object-oriented languages, as shown in the previous studies, but also emerges in source code written using procedural, functional and markup languages, as well as other software artifacts. Our study also indicates that a previously devised software science equation does not hold for describing the program vocabulary-length relationship and more studies are necessary.
机译:软件莱克西森是计划理解活动期间的重要信息来源,它一直是几个案例研究的重点。构成软件,编码域概念和程序员的设计决策中的lexicon的标识符和评论。本文提出了一个探索性研究,通过分析各种软件工件中的令牌分布,调查开源项目软件词汇的规律。该研究检查了来自不同域的142个系统的源代码,以12种不同的编程语言编写,以及错误报告和外部文档。我们发现研究人员的词法令牌的分布遵循Zipf-Mandelbrot法,这是统计自然语言处理的实证法。此外,该研究表明,ZIPF-MENDELBROT LAVE不仅限于面向对象语言的词典,如前面的研究中所示,而且还在使用过程,功能和标记语言以及其他软件编写的源代码中出现文物。我们的研究还表明,先前设计的软件科学方程没有持有描述程序词汇长度关系,并且需要更多的研究。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号