An Intelligent Platform for Software Component Mining and Retrieval

Sensors (Basel). 2023 Jan 3;23(1):525. doi: 10.3390/s23010525.

Abstract

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: code recommendation; code reuse; component-based software development; intelligent decision support system; recommendation systems.

MeSH terms

  • Software*
  • User-Computer Interface*

Grants and funding

This research was funded by the Basque Government through grants IT1555-22 and KK-2022/00090; and to MCIN/AEI 269.10.13039/501100011033 for grant PID2021-1235430B-C21/C22.