首页> 外文会议>International Conference on Software Engineering >Inferring likely mappings between APIs
【24h】

Inferring likely mappings between APIs

机译:推断API之间的可能映射

获取原文

摘要

Software developers often need to port applications written for a source platform to a target platform. In doing so, a key task is to replace an application's use of methods from the source platform API with corresponding methods from the target platform API. However, this task is challenging because developers must manually identify mappings between methods in the source and target APIs, e.g., using API documentation. We develop a novel approach to the problem of inferring mappings between the APIs of a source and target platform. Our approach is tailored to the case where the source and target platform each have independently-developed applications that implement similar functionality. We observe that in building these applications, developers exercised knowledge of the corresponding APIs. We develop a technique to systematically harvest this knowledge and infer likely mappings between the APIs of the source and target platform. The output of our approach is a ranked list of target API methods or method sequences that likely map to each source API method or method sequence. We have implemented this approach in a prototype tool called Rosetta, and have applied it to infer likely mappings between the Java2 Platform Mobile Edition and Android graphics APIs.
机译:软件开发人员通常需要将为源平台编写的应用程序移植到目标平台。这样做的关键任务是将应用程序对源平台API中方法的使用替换为目标平台API中的相应方法。但是,此任务具有挑战性,因为开发人员必须手动识别源API和目标API中的方法之间的映射,例如使用API​​文档。我们开发了一种新颖的方法来解决源平台和目标平台的API之间的映射问题。我们的方法是针对源平台和目标平台各自具有实现类似功能的独立开发应用程序的情况而量身定制的。我们观察到,在构建这些应用程序时,开发人员行使了相应API的知识。我们开发了一种技术来系统地收集这些知识并推断源平台和目标平台的API之间可能的映射。我们方法的输出是目标API方法或方法序列的排名列表,这些列表可能会映射到每个源API方法或方法序列。我们已经在称为Rosetta的原型工具中实现了这种方法,并将其应用于推断Java2 Platform Mobile Edition和Android图形API之间的可能映射。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号