skip to main content
10.1145/3368089.3417922acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
research-article

LibComp: an IntelliJ plugin for comparing Java libraries

Published:08 November 2020Publication History

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

Skip Supplemental Material Section

Supplemental Material

fse20demo-p8-p-teaser.mp4

mp4

3.3 MB

fse20demo-p8-p-video.mp4

mp4

70 MB

References

  1. [n. d.]. Maven Repository. https://mvnrepository.com/Google ScholarGoogle Scholar
  2. Sven Amann, Sebastian Proksch, and Sarah Nadi. 2016. FeedBaG: an interaction tracker for visual studio. In 24th IEEE International Conference on Program Comprehension (ICPC). IEEE, 1-3.Google ScholarGoogle ScholarCross RefCross Ref
  3. Brock Angus Campbell and Christoph Treude. 2017. NLP2Code: Code snippet content assist via natural language tasks. In IEEE International Conference on Software Maintenance and Evolution (ICSME). IEEE, 628-632.Google ScholarGoogle ScholarCross RefCross Ref
  4. John P. Chin, Virginia A. Diehl, and Kent L. Norman. 1988. Development of an Instrument Measuring User Satisfaction of the Human-Computer Interface. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '88). Association for Computing Machinery, New York, NY, USA, 213-218. https://doi.org/10.1145/57167.57203 Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Fernando López de la Mora, Rehab El-Hajj, and Sarah Nadi. [n. d.]. Metricbased Library Comparison Scripts. https://github.com/ualberta-smr/ LibraryMetricScriptsGoogle ScholarGoogle Scholar
  6. Fernando López de la Mora, Rehab El-Hajj, and Sarah Nadi. [n. d.]. Metric-based Library Comparison Website. http://smr.cs.ualberta.ca/comparelibraries/Google ScholarGoogle Scholar
  7. Fernando López de la Mora and Sarah Nadi. 2018. An Empirical Study of Metricbased Comparisons of Software Libraries. In PROMISE.Google ScholarGoogle Scholar
  8. Fernando López de la Mora and Sarah Nadi. 2018. Which Library Should I Use?: A Metric-based Comparison of Software Libraries. In Proceedings of the 40th International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER '18). ACM, New York, NY, USA, 37-40. https://doi.org/10. 1145/3183399.3183418 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Edward L. Deci and Richard M. Ryan. 2002. Handbook of self-determination research. University of Rochester Press.Google ScholarGoogle Scholar
  10. IntelliJ Platform SDK DevGuide. Last accessed: 2019. Program Structure Interface (PSI ), https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/ psi.html.Google ScholarGoogle Scholar
  11. Robert Dyer, Hoan Anh Nguyen, Hridesh Rajan, and Tien N Nguyen. 2015. Boa: Ultra-large-scale software repository and source-code mining. ACM Transactions on Software Engineering and Methodology (TOSEM) 25, 1 ( 2015 ), 1-34.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Rehab El-Hajj and Sarah Nadi. [n. d.]. LibComp plugin. https://github.com/ ualberta-smr/LibCompPluginGoogle ScholarGoogle Scholar
  13. ernando López de la Mora, Sarah Nadi, and Rehab El-Hajj. [n. d.]. Library Metric Scripts. https://github.com/ualberta-smr/LibraryMetricScriptsGoogle ScholarGoogle Scholar
  14. Rachel L. Franz, Barbara Barbosa Neves, Carrie Demmans Epp, Ronald Baecker, and Jacob O. Wobbrock. 2019. Why and How Think-Alouds with Older Adults Fail: Recommendations from a Study and Expert Interviews. Springer International Publishing, Cham, 217-235. https://doi.org/10.1007/978-3-030-06076-3_14 Google ScholarGoogle ScholarCross RefCross Ref
  15. L. Hattori and M. Lanza. 2010. Syde: a tool for collaborative software development. In 2010 ACM/IEEE 32nd International Conference on Software Engineering, Vol. 2. 235-238. https://doi.org/10.1145/1810295.1810339 Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Andre Hora and Marco Tulio Valente. 2015. apiwave: Keeping track of api popularity and migration. In IEEE International Conference on Software Maintenance and Evolution (ICSME). IEEE, 321-323.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Enrique Larios-Vargas, Maurício Aniche, Christoph Treude, Magiel Bruntink, and Georgios Gousios. 2020. Selecting third-party libraries: The practitioners' perspective. In ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE).Google ScholarGoogle Scholar
  18. B. Lin, F. Zampetti, G. Bavota, M. Di Penta, and M. Lanza. 2019. Pattern-Based Mining of Opinions in Q A Websites. In 41st IEEE/ACM International Conference on Software Engineering (ICSE). 548-559.Google ScholarGoogle Scholar
  19. Fernando Lopez de la Mora. 2018. Providing Software Library Selection Assistance By Using Metric-Based Comparisons. Master's thesis. University of Alberta.Google ScholarGoogle Scholar
  20. Stas Negara, Nicholas Chen, Mohsen Vakilian, Ralph E. Johnson, and Danny Dig. 2013. A Comparative Study of Manual and Automated Refactorings. In ECOOP 2013-Object-Oriented Programming, Giuseppe Castagna (Ed.). Springer Berlin Heidelberg, Berlin, Heidelberg, 552-576.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Marco Piccioni, Carlo A Furia, and Bertrand Meyer. 2013. An empirical study of API usability. In ACM/IEEE International Symposium on Empirical Software Engineering and Measurement. IEEE, 5-14.Google ScholarGoogle ScholarCross RefCross Ref
  22. Gias Uddin, Olga Baysal, Latifa Guerrouj, and Foutse Khomh. 2019. Understanding how and why developers seek and analyze api-related opinions. IEEE Transactions on Software Engineering ( 2019 ).Google ScholarGoogle ScholarCross RefCross Ref
  23. Gias Uddin and Foutse Khomh. 2017. Mining API aspects in api reviews. In Technical Report.Google ScholarGoogle Scholar
  24. G. Uddin and F. Khomh. 2017. Opiner: An opinion search and summarization engine for APIs. In 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE). 978-983.Google ScholarGoogle Scholar
  25. L. Xavier, A. Brito, A. Hora, and M. T. Valente. 2017. Historical and impact analysis of API breaking changes: A large-scale study. In 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER). 138-147. https://doi.org/10.1109/SANER. 2017.7884616 Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. LibComp: an IntelliJ plugin for comparing Java libraries

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        ESEC/FSE 2020: Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
        November 2020
        1703 pages
        ISBN:9781450370431
        DOI:10.1145/3368089

        Copyright © 2020 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 8 November 2020

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate112of543submissions,21%

        Upcoming Conference

        FSE '24

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader