...
首页> 外文期刊>Journal of Software Maintenance and Evolution >TMAP: Discovering relevant API methods through text mining of API documentation
【24h】

TMAP: Discovering relevant API methods through text mining of API documentation

机译:TMAP:通过API文档的文本挖掘发现相关的API方法

获取原文
获取原文并翻译 | 示例
           

摘要

Developers often migrate their applications to support various platform/programming-languagernapplication programming interfaces (APIs) to retain existing users and to attract new users. Tornmigrate an applicationwritten using1API (source) to anotherAPI (target), a developermust knowrnhowthe methods in the sourceAPImapto the methods in the targetAPI.Given that a typical platformrnor language exposes a large number of API methods, manually discovering API mappings isrnprohibitively resource-intensive and may be error prone. The goal of this research is to supportrnsoftware developers in migrating an application from a source API to a target API by automaticallyrndiscovering relevant method mappings acrossAPIs using text mining on the natural languagernAPI method descriptions. This paper proposes text mining based approach (TMAP) to discoverrnrelevant API mappings. To evaluate our approach, we used TMAP to discover API mappings forrn15 classes across (1) Java and C# API; and (2) Java ME and Android API. We compared therndiscovered mappings with state-of-the-art source code analysis-based approaches: Rosetta andrnStaMiner. Our results indicate that TMAP on average found relevant mappings for 56% and 57%rnmore methods compared to the Rosetta and the StaMiner approaches, respectively.
机译:开发人员经常迁移其应用程序以支持各种平台/编程语言应用程序编程接口(API),以保留现有用户并吸引新用户。将使用1API(源)编写的应用程序迁移到另一个API(目标),开发人员必须知道sourceAPI中的方法如何映射到targetAPI中的方法。鉴于典型的平台语言公开了大量API方法,因此手动发现API映射会占用大量资源,并且可能容易出错。这项研究的目的是通过使用自然语言API方法描述上的文本挖掘自动跨API查找相关的方法映射,从而支持软件开发人员将应用程序从源API迁移到目标API。本文提出了一种基于文本挖掘的方法(TMAP)来发现相关的API映射。为了评估我们的方法,我们使用TMAP在(1)Java和C#API中发现了15个类的API映射。 (2)Java ME和Android API。我们将发现的映射与基于最新源代码分析的最新方法进行了比较:Rosetta和rnStaMiner。我们的结果表明,与Rosetta和StaMiner方法相比,TMAP平均发现了56%和57%的其他方法的相关映射。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号