Title | Semantics-Driven Learning for Microservice Annotations |
Author | |
Corresponding Author | Zhang, Yuqun |
DOI | |
Publication Years | 2022
|
Conference Name | 20th International Conference on Service-Oriented Computing, ICSOC 2022
|
ISSN | 0302-9743
|
EISSN | 1611-3349
|
ISBN | 9783031209833
|
Source Title | |
Volume | 13740 LNCS
|
Pages | 255-263
|
Conference Date | November 29, 2022 - December 2, 2022
|
Conference Place | Seville, Spain
|
Publisher | |
Abstract | Annotations are program metadata that generates code and configuration files, among others. Different frameworks provide annotations to facilitate the implementation of microservice applications while their absence can slow down the maintenance of microservices and their misuse can lead to potential bugs. In this paper, we propose a novel semantics-driven learning approach for capturing the relation between code fragments and annotations, leveraging a Recurrent Neural Network (RNN) and a K-Nearest-Neighbour (KNN) classifier. The approach locates similar pieces of code to increase the probability of suggesting annotations of unseen fragments. We utilise PyTorch and Sci-kit Learn to evaluate our approach with a set of Java code fragments, and we measure how similar two code fragments are by a number between zero (close) and one (distant). The results indicate that our semantics-driven learning framework achieves an average of 87% of correct recommendations of annotations when the code fragments have a distance of 0.4 against the expected annotations subset. © 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG. |
SUSTech Authorship | First
; Corresponding
|
Language | English
|
Indexed By | |
WOS Accession No | WOS:000898280300017
|
EI Accession Number | 20230113325591
|
EI Keywords | Nearest neighbor search
; Program debugging
; Recurrent neural networks
; Semantics
|
ESI Classification Code | Computer Programming:723.1
; Computer Applications:723.5
; Optimization Techniques:921.5
|
Data Source | EV Compendex
|
Citation statistics |
Cited Times [WOS]:0
|
Document Type | Conference paper |
Identifier | http://kc.sustech.edu.cn/handle/2SGJ60CL/519750 |
Department | Southern University of Science and Technology |
Affiliation | 1.Southern University of Science and Technology, Shenzhen, China 2.University of Birmingham, Edgbaston, United Kingdom 3.ESPOL Polytechnic University, Escuela Superior Politécnica del Litoral, ESPOL, Facultad de Ingeniería en Electricidad y Computación, Campus Gustavo Galindo Km 30.5 Vía Perimetral, P.O. Box 09-01-5863, Guayaquil, Ecuador 4.Cotell Inc., Shenzhen, China |
First Author Affilication | Southern University of Science and Technology |
Corresponding Author Affilication | Southern University of Science and Technology |
First Author's First Affilication | Southern University of Science and Technology |
Recommended Citation GB/T 7714 |
Ramírez, Francisco,Mera-Gómez, Carlos,Chen, Shengsen,et al. Semantics-Driven Learning for Microservice Annotations[C]:Springer Science and Business Media Deutschland GmbH,2022:255-263.
|
Files in This Item: | There are no files associated with this item. |
|
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment