arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.4062cs.SE
收藏

面向对象软件在API使用中大规模多样性的经验证据

Empirical Evidence of Large-Scale Diversity in API Usage of Object-Oriented Software

Diego Mendez, Benoit Baudry, Martin Monperrus

摘要:

在本文中,我们研究如何面向对象的类中使用数以千计的软件包。我们专注于“使用多样性”,定义为在同一对象上调用的方法的不同静态可观察组合。我们提出的经验证据表明,有一个显着的使用多样性,许多类。例如,我们在数据集中观察到Java的String有2460种使用方式。我们讨论了这种观察到的多样性和后果的软件工程知识和研究的原因。

英文摘要:

In this paper, we study how object-oriented classes are used across thousands of software packages. We concentrate on "usage diversity'", defined as the different statically observable combinations of methods called on the same object. We present empirical evidence that there is a significant usage diversity for many classes. For instance, we observe in our dataset that Java's String is used in 2460 manners. We discuss the reasons of this observed diversity and the consequences on software engineering knowledge and research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑