一句话:提出并实现 IntelliJ 插件 LibComp,在 IDE 内基于度量比较 Java 库及其替代方案,辅助依赖选择。
开发者常依赖第三方库,但同一领域内功能相似的库很多,选择合适库既困难又耗时。作者先前提出基于度量的库比较方法,本文将其集成到 IntelliJ 插件 LibComp 中:当开发者添加 LibComp 已知的库依赖时,插件会高亮该依赖并提示存在替代库;用户触发比较后,可查看该库及替代库的多项度量,进而决定是否替换。LibComp 还会记录工具调用次数和完成的替换,并可选地将反馈发送给作者,为理解开发者的替换决策和改进工具提供依据。文中通过插件实现与演示视频展示其使用方式,未报告大规模对照实验。
Software developers heavily rely on third-party libraries to accomplish their programming tasks. Since many libraries offer similar functionality, it can be difficult and tedious for developers differentiate similar libraries in order to select the most suitable one. In our previous work, we proposed the idea of metric-based library comparisons that allow developers to compare various aspects of libraries within the same domain, empowering them with information to aid with their decision. In this paper we present an IntelliJ plugin, LibComp, that provides this library metric-based comparison technique right within the developer’s IDE. As soon as a developer adds a library dependency that LibComp has information about, LibComp will highlight this dependency to let the developer know that there are alternatives available. Once the user triggers the comparison for that library, they can view various metrics about the library and its alternatives and decide if they want to use one of the alternatives. In the process, LibComp also records the number of times the developer invokes the tool and any completed replacements. Such feedback, if optionally sent to us by the developer, provides us valuable insights into developers’replacement decisions as well as information on how we can improve the tool. A video demonstrating the usage of LibComp can be found at https://youtu.be/YtEEdJan77A
DOI 原文 ·
@inproceedings{paperbot5747,
title = {LibComp: an IntelliJ plugin for comparing Java libraries},
author = {Rehab El-Hajj and Sarah Nadi},
booktitle = {FSE},
year = {2020},
doi = {10.1145/3368089.3417922}
}