Abstract
Third-party libraries are an integral part of many software projects. It often happens that developers need to find analogical libraries that can provide comparable features to the libraries they are already familiar with. Existing methods to find analogical libraries are limited by the community-curated list of libraries, blogs, or Q&A posts, which often contain overwhelming or out-of-date information. In this paper, we present a new approach to recommend analogical libraries based on a knowledge base of analogical libraries mined from tags of millions of Stack Overflow questions. The novelty of our approach is to solve analogical-libraries questions by combining state-of-the-art word embedding technique and domain-specific relational and categorical knowledge mined from Stack Overflow. We implement our approach in a proof-of-concept web application (https://graphofknowledge.appspot.com/similartech). The evaluation results show that our approach can make accurate recommendation of analogical libraries (Precision@1=0.81 and Precision@5=0.67). Google Analytics of the website traffic provides initial evidence of the potential usefulness of our web application for software developers.
Original language | English |
---|---|
Title of host publication | Proceedings - 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering, SANER 2016 |
Subtitle of host publication | 14–18 March 2016 Osaka, Japan |
Editors | Yasutaka Kamei, Michele Lanza |
Place of Publication | Piscataway NJ USA |
Publisher | IEEE, Institute of Electrical and Electronics Engineers |
Pages | 338-348 |
Number of pages | 11 |
Volume | 1 |
ISBN (Electronic) | 9781509018550 |
DOIs | |
Publication status | Published - 2016 |
Externally published | Yes |
Event | IEEE International Conference on Software Analysis, Evolution, and Reengineering 2016 - Suita, Japan Duration: 14 Mar 2016 → 18 Mar 2016 Conference number: 23rd http://saner.inf.usi.ch/index.php https://ieeexplore.ieee.org/xpl/conhome/7476313/proceeding (Proceedings) |
Conference
Conference | IEEE International Conference on Software Analysis, Evolution, and Reengineering 2016 |
---|---|
Abbreviated title | SANER 2016 |
Country/Territory | Japan |
City | Suita |
Period | 14/03/16 → 18/03/16 |
Internet address |
Keywords
- Analogical libraries
- Word embedding
- Knowledge graph
- Relational knowledge
- Categorical knowledge
Prizes
-
Best Research Paper Award in SANER 2016
Chen, C. (Recipient), Mar 2018
Prize: Prize (including medals and awards)