paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LibComp: an IntelliJ plugin for comparing Java libraries

LibComp:一个用于比较 Java 库的 IntelliJ 插件
FSE Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2020匹配度 1/10 · 论文是用于比较 Java 库的 IntelliJ 插件,属于开发者工具与依赖选择方向,与用户关注的静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析均无直接关系。仅在软件工程/IDE 工具层面有微弱交叉,不匹配核心研究画像。引用 11 inbox
Rehab El-Hajj, Sarah Nadi
crossref: 2026-09-12

AI 速览

一句话:提出并实现 IntelliJ 插件 LibComp,在 IDE 内基于度量比较 Java 库及其替代方案,辅助依赖选择。

开发者常依赖第三方库,但同一领域内功能相似的库很多,选择合适库既困难又耗时。作者先前提出基于度量的库比较方法,本文将其集成到 IntelliJ 插件 LibComp 中:当开发者添加 LibComp 已知的库依赖时,插件会高亮该依赖并提示存在替代库;用户触发比较后,可查看该库及替代库的多项度量,进而决定是否替换。LibComp 还会记录工具调用次数和完成的替换,并可选地将反馈发送给作者,为理解开发者的替换决策和改进工具提供依据。文中通过插件实现与演示视频展示其使用方式,未报告大规模对照实验。

问题
开发者在众多功能相似的第三方 Java 库中难以高效判断和选择最合适的依赖。
方法
将已有的基于度量的库比较技术实现为 IntelliJ 插件,在添加已知依赖时高亮提示替代库,并在 IDE 内展示目标库与替代库的多项度量。
评估
通过插件实现与演示视频展示使用流程,并记录开发者调用比较工具及完成替换的次数,可选收集反馈以分析替换决策和改进工具。
原文摘要(Abstract)

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 原文 ·

BibTeX
@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}
}