Sensors (Jan 2023)

An Intelligent Platform for Software Component Mining and Retrieval

  • Nazia Bibi,
  • Tauseef Rana,
  • Ayesha Maqbool,
  • Farkhanda Afzal,
  • Ali Akgül,
  • Manuel De la Sen

DOI
https://doi.org/10.3390/s23010525
Journal volume & issue
Vol. 23, no. 1
p. 525

Abstract

Read online

The development of robotic applications necessitates the availability of useful, adaptable, and accessible programming frameworks. Robotic, IoT, and sensor-based systems open up new possibilities for the development of innovative applications, taking advantage of existing and new technologies. Despite much progress, the development of these applications remains a complex, time-consuming, and demanding activity. Development of these applications requires wide utilization of software components. In this paper, we propose a platform that efficiently searches and recommends code components for reuse. To locate and rank the source code snippets, our approach uses a machine learning approach to train the schema. Our platform uses trained schema to rank code snippets in the top k results. This platform facilitates the process of reuse by recommending suitable components for a given query. The platform provides a user-friendly interface where developers can enter queries (specifications) for code search. The evaluation shows that our platform effectively ranks the source code snippets and outperforms existing baselines. A survey is also conducted to affirm the viability of the proposed methodology.

Keywords