【24h】

A Dataset for API Usage

机译:API使用情况数据集

获取原文

摘要

An Application Programming Interface (API) provides a specific set of functionalities to a developer. The main aim of an API is to encourage the reuse of already existing functionality. There has been some work done into API popularity trends, API evolution and API usage. For all the aforementioned research avenues there has been a need to mine the usage of an API in order to perform any kind of analysis. Each one of the approaches that has been employed in the past involved a certain degree of inaccuracy as there was no type check that takes place. We introduce an approach that takes type information into account while mining API method invocations and annotation usages. This approach accurately makes a connection between a method invocation and the class of the API to which the method belongs to. We try collecting as many usages of an API as possible, this is achieved by targeting projects hosted on GitHub. Additionally, we look at the history of every project to collect the usage of an API from earliest version onwards. By making such a large and rich dataset public, we hope to stimulate some more research in the field of APIs with the aid of accurate API usage samples.
机译:应用程序编程接口(API)为开发人员提供了一组特定的功能。 API的主要目的是鼓励重用已经存在的功能。已经对API流行趋势,API演变和API使用进行了一些工作。对于上述所有研究途径,都需要挖掘API的用法以执行任何类型的分析。过去使用的每种方法都存在一定程度的不准确性,因为没有进行类型检查。我们引入一种在挖掘API方法调用和注释用法时将类型信息考虑在内的方法。此方法可在方法调用与该方法所属的API的类之间准确地建立联系。我们尝试收集尽可能多的API用法,这是通过针对GitHub上托管的项目来实现的。此外,我们查看每个项目的历史,以收集最早版本的API的使用情况。通过公开发布如此庞大而丰富的数据集,我们希望借助准确的API使用示例来激发API领域的更多研究。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号