arrow
Return

Intelligent code search aids edge software development

delete2024-04-01
delete0
delete
OA
AI
F
Fanlong Zhang
M
Mengcheng Li
H
Heng Wu *
T
Tao Wu *
DOI:10.1186/s13677-024-00629-5delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The growth of multimedia applications poses new challenges to software facilities in edge computing. Developers must effectively develop edge computing software to accommodate the rapid expansion of multimedia applications. Code search has become a prevalent practice to enhance the efficiency of the construction of edge software infrastructure. Researchers have proposed lots of approaches for code search, and employed deep learning technology to extract features from program representations, such as token, AST, graphs, method name, and API. Nevertheless, two prominent issues remain: 1) there are only a few studies on the effective use of graph representation for code search (especially in Java language), and 2) there is a lack of empirical study on the contributions of different program representations. To address these issues, we conduct an empirical study to explore program representations, especially program graphs. To the best of our knowledge, this is the first attempt to conduct code search with mixed graphs representation for Java language, containing the control flow graph and the program dependence graph. We also present a hybrid approach to capture and fuse the features of a program with representations of Token, AST, and Mixed Graphs (TAMG). The results of our experiment show that our approach possesses the best ability (R@1 with 37% and R@10 with 67.1%). Our graph representation exhibits a positive effect, and the token and AST also have a significant contribution to the code search. Our findings can aid developers in efficiently searching for the desired code while constructing the software infrastructure for edge computing, which is crucial for the rapid expansion of multimedia applications.
Keywords:
Cloud computing
Code retrieval
Multi-modal
Attention mechanism
Deep learning

Journal

J
Journal of Cloud Computing-Advances Systems and Applications
IF:
4.3
Papers:
752
Citations:
2.2K

Organization

G
guangdong university of technology
Scholars:
3.0W
Papers: 2.0W
Citations: 36
Cited Papers

Cited Papers

No Perisaccadic Mislocalization with Abruptly Cancelled Saccades
err2014-04-16
err0
errOAAI
errJeroen Atsma; Femke Maij; Brian D. Corneil; W. Pieter Medendorp
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Spiking Suppression Precedes Cued Attentional Enhancement of Neural Responses in Primary Visual Cortex
err2017-11-23
err0
errOAAI
errMichele A Cox; Kacie Dougherty; Geoffrey K Adams; Eric A Reavis; Jacob A Westerberg; Brandon S Moore; David A Leopold; Alexander Maier
errShare
errSave
Code Search: A Survey of Techniques for Finding Code
err2023-02-09
err17
errOAAI
errDi Grazia, Luca; Pradel, Michael
errShare
errSave
Investigation of Structural and Optical Properties of MoO[sub 3]-PbO-B[sub 2]O[sub 3]:V[sub 2]O[sub 5] Glasses
err2011-01-01
err0
PREAI
errSanjay; N. Kishore; A. Agarwal; S. K. Tripathi; Keya Dharamvir; Ranjan Kumar; G. S. S. Saini
errShare
errSave
Q‐FIHC: Quantification of fluorescence immunohistochemistry to analyse p63 isoforms and cell cycle phases in human limbal stem cells
err2006-09-13
err0
PREAI
errEnzo Di Iorio; Vanessa Barbaro; Stefano Ferrari; Claudio Ortolani; Michele De Luca; Graziella Pellegrini
errShare
errSave
Programmable large-scale simulation of lattices with photonic synthetic frequency dimensions
err2023-01-01
err0
PREAI
errAlen Senanian; Logan G. Wright; Peter F. Wade; Hannah K. Doyle; Peter L. McMahon
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
researcher View more