首页> 外文OA文献 >ReBA: Refactoring-aware Binary Adaption of Evolving Libraries
【2h】

ReBA: Refactoring-aware Binary Adaption of Evolving Libraries

机译:ReBa:重构意识的二进制适应不断发展的库

摘要

Although in theory the APIs of software libraries and frameworks should be stable, they change in practice. This forces clients of the library API to change as well, making software maintenance expensive. Changing a client might not even be an option if its source code is missing or certain policies forbid its change. By giving a library both the old and the new API, clients can be shielded from API changes and can run with the new version of the library.This paper presents our solution and a tool, ReBA, that automatically generates compatibility layers between new library APIs and old clients. In the first stage, ReBA generates another version of the library, called adapted-library, that supports both the old and the new APIs. In the second stage, ReBA shrinks the adapted-library into a minimal, client-specific compatibility layer containing only classes truly required by the client. Evaluation on controlled experiments and case studies using Eclipse core libraries shows that our approach effectively adapts clients to new library versions, and is efficient.
机译:尽管从理论上讲软件库和框架的API应该是稳定的,但它们在实践中会发生变化。这迫使库API的客户端也进行更改,从而使软件维护成本很高。如果缺少客户端的源代码或某些策略禁止更改客户端,则甚至无法选择更改客户端。通过为库提供旧的和新的API,客户端可以不受API更改的影响,并可以在新版本的库中运行。本文介绍了我们的解决方案和ReBA工具,该工具可以自动在新库API之间生成兼容性层。和老客户。在第一阶段,ReBA会生成该库的另一个版本,称为Adapted-library,它同时支持新旧API。在第二阶段,ReBA将适应的库缩小到一个最小的,特定于客户端的兼容性层,其中仅包含客户端真正需要的类。使用Eclipse核心库对受控实验和案例研究的评估表明,我们的方法有效地使客户适应了新的库版本,并且效率很高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号