Mining Software Information Sites to Recommend Cross-Language Analogical Libraries
Section 1: Publication
Publication Type
Journal Article
Authorship
Nafi, K. W., Asaduzzaman, M., Roy, B., Roy, C. K., and Schneider, K. A.
Title
Mining Software Information Sites to Recommend Cross-Language Analogical Libraries
Year
2022
Publication Outlet
in Proceedings of the 29th IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER 2022), 11 pp.
DOI
ISBN
ISSN
Citation
Nafi, K. W., Asaduzzaman, M., Roy, B., Roy, C. K., and Schneider, K. A. (2022) Mining Software Information Sites to Recommend Cross-Language Analogical Libraries, in Proceedings of the 29th IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER 2022), 11 pp.
https://doi.org/10.1109/saner53432.2022.00109
Abstract
Software development is largely dependent on libraries to reuse existing functionalities instead of reinventing the wheel. Software developers often need to find analogical libraries (libraries similar to ones they are already familiar with) as an analogical library may offer improved or additional features. Developers also need to search for analogical libraries across programming languages when developing applications in different languages or for different platforms. However, manually searching for analogical libraries is a time-consuming and difficult task. This paper presents a technique, called XLibRec, that recommends analogical libraries across different programming languages. XLibRec collects Stack Overflow question titles containing library names, library usage information from Stack Overflow posts, and library descriptions from a third party website, Libraries.io. We generate word-vectors for each information and calculate a weight-based cosine similarity score from them to recommend analogical libraries. We performed an extensive evaluation using a large number of analogical libraries across four different programming languages. Results from our evaluation show that the proposed technique can recommend cross-language analogical libraries with great accuracy. The precision for the Top-3 recommendations ranges from 62-81% and has achieved 8-45% higher precision than the state-of-the-art technique.
Plain Language Summary
Section 2: Additional Information
Program Affiliations
Project Affiliations
Submitters
Publication Stage
Published
Theme
Presentation Format
Additional Information
Computer Science Core Team, Refereed Publications