{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,4]],"date-time":"2026-06-04T01:21:40Z","timestamp":1780536100881,"version":"3.54.1"},"reference-count":44,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2024,4,1]],"date-time":"2024-04-01T00:00:00Z","timestamp":1711929600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,4,1]],"date-time":"2024-04-01T00:00:00Z","timestamp":1711929600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"National Natural Science Foundation of China for the Key Program","award":["62237001"],"award-info":[{"award-number":["62237001"]}]},{"name":"National Natural Science Foundation of China for the Key Program","award":["62237001"],"award-info":[{"award-number":["62237001"]}]},{"name":"National Natural Science Foundation of China for the Key Program","award":["62237001"],"award-info":[{"award-number":["62237001"]}]},{"name":"Guangdong Science and Technology Plan Project","award":["2021B1212100004"],"award-info":[{"award-number":["2021B1212100004"]}]},{"name":"Guangdong Natural Science Fund Project","award":["2021A1515011243"],"award-info":[{"award-number":["2021A1515011243"]}]},{"DOI":"10.13039\/501100015956","name":"Key Area Research and Development Program of Guangdong Province","doi-asserted-by":"crossref","award":["2018B010109007"],"award-info":[{"award-number":["2018B010109007"]}],"id":[{"id":"10.13039\/501100015956","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["U1801263, U1701262"],"award-info":[{"award-number":["U1801263, U1701262"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Cloud Comp"],"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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 <jats:italic>T<\/jats:italic>oken, <jats:italic>A<\/jats:italic>ST, and <jats:italic>M<\/jats:italic>ixed <jats:italic>G<\/jats:italic>raphs <jats:italic>(TAMG)<\/jats:italic>. 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.<\/jats:p>","DOI":"10.1186\/s13677-024-00629-5","type":"journal-article","created":{"date-parts":[[2024,4,1]],"date-time":"2024-04-01T09:13:44Z","timestamp":1711962824000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Intelligent code search aids edge software development"],"prefix":"10.1186","volume":"13","author":[{"given":"Fanlong","family":"Zhang","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mengcheng","family":"Li","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Heng","family":"Wu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tao","family":"Wu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,4,1]]},"reference":[{"key":"629_CR1","doi-asserted-by":"crossref","unstructured":"Bilal K, Erbad A (2017) Edge computing for interactive media and video streaming. In: 2017 Second International Conference on Fog and Mobile Edge Computing (FMEC).\u00a0IEEE\u00a0 p 68\u201373\u00a0","DOI":"10.1109\/FMEC.2017.7946410"},{"issue":"5","key":"629_CR2","doi-asserted-by":"publisher","first-page":"1126","DOI":"10.1109\/TMM.2017.2764330","volume":"20","author":"C Long","year":"2017","unstructured":"Long C, Cao Y, Jiang T, Zhang Q (2017) Edge computing framework for cooperative video processing in multimedia iot systems. IEEE Trans Multimedia 20(5):1126\u20131139","journal-title":"IEEE Trans Multimedia"},{"issue":"4","key":"629_CR3","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3212695","volume":"51","author":"M Allamanis","year":"2018","unstructured":"Allamanis M, Barr ET, Devanbu P, Sutton C (2018) A survey of machine learning for big code and naturalness. ACM Comput Surv (CSUR) 51(4):1\u201337","journal-title":"ACM Comput Surv (CSUR)"},{"key":"629_CR4","doi-asserted-by":"publisher","first-page":"106241","DOI":"10.1016\/j.infsof.2019.106241","volume":"119","author":"M Perkusich","year":"2020","unstructured":"Perkusich M, Silva LC, Costa A, Ramos F, Saraiva R, Freire A, Dilorenzo E, Dantas E, Santos D, Gorg\u00f4nio K et al (2020) Intelligent software engineering in the context of agile software development: A systematic literature review. Inf Softw Technol 119:106241","journal-title":"Inf Softw Technol"},{"key":"629_CR5","doi-asserted-by":"crossref","unstructured":"Di Grazia L, Pradel M (2023) Code search: A survey of techniques for finding code.\u00a0ACM Comput Surv 55(11):1\u201331","DOI":"10.1145\/3565971"},{"issue":"9","key":"629_CR6","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3480027","volume":"54","author":"C Liu","year":"2021","unstructured":"Liu C, Xia X, Lo D, Gao C, Yang X, Grundy J (2021) Opportunities and challenges in code search tools. ACM Comput Surv (CSUR) 54(9):1\u201340","journal-title":"ACM Comput Surv (CSUR)"},{"issue":"2","key":"629_CR7","doi-asserted-by":"publisher","first-page":"300","DOI":"10.1007\/s10618-008-0118-x","volume":"18","author":"E Linstead","year":"2009","unstructured":"Linstead E, Bajracharya S, Ngo T, Rigor P, Lopes C, Baldi P (2009) Sourcerer: mining and searching internet-scale software repositories. Data Min Knowl Discov 18(2):300\u2013336","journal-title":"Data Min Knowl Discov"},{"key":"629_CR8","doi-asserted-by":"crossref","unstructured":"Mishne A, Shoham S, Yahav E (2012) Typestate-based semantic code search over partial programs. In: Proceedings of the ACM international conference on Object oriented programming systems languages and applications. p 997\u20131016","DOI":"10.1145\/2398857.2384689"},{"key":"629_CR9","doi-asserted-by":"crossref","unstructured":"Gu X, Zhang H, Kim S (2018) Deep code search. In: Proceedings of the 40th International Conference on Software Engineering. p 933\u2013944","DOI":"10.1145\/3180155.3180167"},{"key":"629_CR10","doi-asserted-by":"crossref","unstructured":"Sachdev S, Li H, Luan S, Kim S, Sen K, Chandra S (2018) Retrieval on source code: A neural code search. In: Proceedings of the 2nd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages. p 31\u201341","DOI":"10.1145\/3211346.3211353"},{"key":"629_CR11","unstructured":"Sun Z, Liu Y, Yang C, Qian Y (2020) PSCS: A path-based neural model for semantic code search. arXiv preprint arXiv:2008.03042."},{"issue":"5","key":"629_CR12","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3447571","volume":"15","author":"X Ling","year":"2021","unstructured":"Ling X, Wu L, Wang S, Pan G, Ma T, Xu F, Liu AX, Wu C, Ji S (2021) Deep graph matching and searching for semantic code retrieval. ACM Trans Knowl Discov Data (TKDD) 15(5):1\u201321","journal-title":"ACM Trans Knowl Discov Data (TKDD)"},{"key":"629_CR13","doi-asserted-by":"crossref","unstructured":"Shuai J, Xu L, Liu C, Yan M, Xia X, Lei Y (2020) Improving code search with co-attentive representation learning. In: Proceedings of the 28th International Conference on Program Comprehension. p 196\u2013207","DOI":"10.1145\/3387904.3389269"},{"key":"629_CR14","doi-asserted-by":"crossref","unstructured":"Meng Y (2021) An intelligent code search approach using hybrid encoders.\u00a0Wirel Commun Mob Com 2021:1\u20136","DOI":"10.1155\/2021\/9990988"},{"key":"629_CR15","doi-asserted-by":"crossref","unstructured":"Wan Y, Shu J, Sui Y, Xu G, Zhao Z, Wu J, Yu P (2019) Multi-modal attention network learning for semantic source code retrieval. In: 2019 34th IEEE\/ACM International Conference on Automated Software Engineering (ASE). IEEE, p 13\u201325\u00a0","DOI":"10.1109\/ASE.2019.00012"},{"key":"629_CR16","doi-asserted-by":"crossref","unstructured":"Lv F, Zhang H, Lou JG, Wang S, Zhang D, Zhao J (2015) Codehow: Effective code search based on api understanding and extended boolean model (e). In: 2015 30th IEEE\/ACM International Conference on Automated Software Engineering (ASE). IEEE, p 260\u2013270","DOI":"10.1109\/ASE.2015.42"},{"key":"629_CR17","doi-asserted-by":"crossref","unstructured":"Ding SH, Fung BC, Charland P (2016) Kam1n0: Mapreduce-based assembly clone search for reverse engineering. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. p 461-470","DOI":"10.1145\/2939672.2939719"},{"key":"629_CR18","unstructured":"Wang H, Zhang J, Xia Y, Bian J, Zhang C, Liu TY (2020) Cosea: Convolutional code search with layer-wise attention. arXiv preprint arXiv:2010.09520.\u00a0"},{"key":"629_CR19","doi-asserted-by":"crossref","unstructured":"Cheng Y, Kuang L (2022) CSRS: code search with relevance matching and semantic matching. In: Proceedings of the 30th IEEE\/ACM International Conference on Program Comprehension. p 533\u2013542","DOI":"10.1145\/3524610.3527889"},{"key":"629_CR20","doi-asserted-by":"crossref","unstructured":"Liu S, Xie X, Siow J, Ma L, Meng G, Liu\u00a0 (2023) Graphsearchnet: Enhancing gnns via capturing global dependencies for semantic code search. IEEE Transactions on Software Engineering. p 1\u20136","DOI":"10.1109\/TSE.2022.3233901"},{"key":"629_CR21","doi-asserted-by":"crossref","unstructured":"Du L, Shi X, Wang Y, Shi E, Han S, Zhang D (2021) Is a single model enough? mucos: A multi-model ensemble learning approach for semantic code search. In: Proceedings of the 30th ACM International Conference on Information & Knowledge Management. p 2994\u201398","DOI":"10.1145\/3459637.3482127"},{"key":"629_CR22","doi-asserted-by":"crossref","unstructured":"Mathew G, Stolee KT (2021) Cross-language code search using static and dynamic analyses. In: Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. p 205\u2013217","DOI":"10.1145\/3468264.3468538"},{"key":"629_CR23","unstructured":"Shi E, Gub W, Wang Y, Du L, Zhang H, Han S, Zhang D, Sun H (2022) Enhancing semantic code search with multimodal contrastive learning and soft data augmentation. arXiv preprint arXiv:2204.03293"},{"key":"629_CR24","doi-asserted-by":"crossref","unstructured":"Nguyen TT, Nguyen AT, Nguyen HA, Nguyen TN (2023) A statistical semantic language model for source code. In: Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering.\u00a0 p 532\u2013542","DOI":"10.1145\/2491411.2491458"},{"key":"629_CR25","doi-asserted-by":"crossref","unstructured":"Nguyen S, Phan H, Le T, Nguyen TN (2020) Suggesting natural method names to check name consistencies. In: Proceedings of the ACM\/IEEE 42nd international conference on software engineering. p 1372\u20131384","DOI":"10.1145\/3377811.3380926"},{"key":"629_CR26","doi-asserted-by":"crossref","unstructured":"Hu X, Men R, Li G, Jin Z (2019) Deep-autocoder: Learning to complete code precisely with induced code tokens. In: 2019 IEEE 43rd Annual Computer Software and Applications Conference (COMPSAC).\u00a0 IEEE, 1:159\u2013168","DOI":"10.1109\/COMPSAC.2019.00030"},{"key":"629_CR27","doi-asserted-by":"crossref","unstructured":"Kang HJ, Bissyand\u00e9 TF, Lo D (2019) Assessing the generalizability of code2vec token embeddings. In: 2019 34th IEEE\/ACM International Conference on Automated Software Engineering (ASE).\u00a0IEEE, p 1\u201312","DOI":"10.1109\/ASE.2019.00011"},{"key":"629_CR28","unstructured":"Mou L, Li G, Jin Z, Zhang L, Wang T (2014) TBCNN: A tree-based convolutional neural network for programming language processing. arXiv preprint arXiv:1409.5718"},{"key":"629_CR29","doi-asserted-by":"crossref","unstructured":"Zhang J, Wang X, Zhang H, Sun H, Wang K, Liu X (2019) A novel neural source code representation based on abstract syntax tree. In: 2019 IEEE\/ACM 41st International Conference on Software Engineering (ICSE). IEEE, p 783\u2013794","DOI":"10.1109\/ICSE.2019.00086"},{"key":"629_CR30","unstructured":"Jayasundara V, Bui ND, Jiang L, Lo D (2019) TreeCaps: Tree-structured capsule networks for program source code processing. arXiv preprint arXiv:1910.12306"},{"key":"629_CR31","doi-asserted-by":"crossref","unstructured":"Chakraborty S, Ding Y, Allamanis M, Ray B (2020) Codit: Code editing with tree-based neural models. IEEE\u00a0Trans Softw Eng. 31;48(4):1385\u201399","DOI":"10.1109\/TSE.2020.3020502"},{"key":"629_CR32","doi-asserted-by":"crossref","unstructured":"Wang W, Li G, Ma B, Xia X, Jin Z (2020) Detecting code clones with graph neural networkand flow-augmented abstract syntax tree. arXiv preprint arXiv:2002.08653","DOI":"10.1109\/SANER48275.2020.9054857"},{"key":"629_CR33","doi-asserted-by":"crossref","unstructured":"Xu X, Liu C, Feng Q, Yin H, Song L, Song D (2017) Neural network-based graph embedding for cross-platform binary code similarity detection. In: Proceedings of the 2017 ACM SIGSAC conference on computer and communications security p 363\u2013376","DOI":"10.1145\/3133956.3134018"},{"key":"629_CR34","doi-asserted-by":"crossref","unstructured":"Nair A, Roy A, Meinke K (2020) funcgnn: A graph neural network approach to program similarity. In: Proceedings of the 14th ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). p 1\u201311","DOI":"10.1145\/3382494.3410675"},{"key":"629_CR35","doi-asserted-by":"crossref","unstructured":"Chen C, Peng X, Xing Z, Sun J, Wang X, Zhao Y, Zhao\u00a0 (2021) Holistic combination of structural and textual code information for context based API recommendation. IEEE\u00a0Trans Softw Eng. 48(8):2987\u20133009","DOI":"10.1109\/TSE.2021.3074309"},{"key":"629_CR36","doi-asserted-by":"crossref","unstructured":"Gao J, Yang X, Fu Y, Jiang Y, Sun J (2018) Vulseeker: A semantic learning based vulnerability seeker for cross-platform binary. In: Proceedings of the 33rd ACM\/IEEE International Conference on Automated Software Engineering. p 896\u2013899","DOI":"10.1145\/3238147.3240480"},{"key":"629_CR37","doi-asserted-by":"crossref","unstructured":"David Y, Alon U, Yahav E (2020) Neural reverse engineering of stripped binaries using augmented control flow graphs. Proc ACM Program Lang 4(OOPSLA):1\u201328","DOI":"10.1145\/3428293"},{"key":"629_CR38","doi-asserted-by":"crossref","unstructured":"LeClair A, Haque S, Wu L, McMillan C (2020) Improved code summarization via a graph neural network. In: Proceedings of the 28th international conference on program comprehension. p 184\u2013195","DOI":"10.1145\/3387904.3389268"},{"key":"629_CR39","unstructured":"Cummins C, Fisches ZV, Ben-Nun T, Hoefler T, Leather H (2020) Programl: Graph-based deep learning for program optimization and analysis. arXiv preprint arXiv:2003.10536"},{"key":"629_CR40","doi-asserted-by":"crossref","unstructured":"Zeng C, Yu Y, Li S, Xia X, Wang Z, Geng M, Bai L, Dong W, Liao X (2023) degraphcs: Embedding variable-based flow graph for neural code search. ACM Transactions on Software Engineering and Methodology. 32(2):1\u201327","DOI":"10.1145\/3546066"},{"key":"629_CR41","doi-asserted-by":"crossref","unstructured":"Gu X, Zhang H, Zhang D, Kim S (2016) Deep API learning. In: Proceedings of the 2016 24th ACM SIGSOFT international symposium on foundations of software engineering. p 631\u2013642","DOI":"10.1145\/2950290.2950334"},{"key":"629_CR42","doi-asserted-by":"crossref","unstructured":"Zhu Q, Sun Z, Liang X, Xiong Y, Zhang L (2020) Ocor: An overlapping-aware code retriever. In: Proceedings of the 35th IEEE\/ACM International Conference on Automated Software Engineering. p 883\u2013894","DOI":"10.1145\/3324884.3416530"},{"key":"629_CR43","doi-asserted-by":"publisher","first-page":"22","DOI":"10.1016\/j.neunet.2021.09.025","volume":"145","author":"C Wang","year":"2022","unstructured":"Wang C, Nong Z, Gao C, Li Z, Zeng J, Xing Z, Liu Y (2022) Enriching query semantics for code search with reinforcement learning. Neural Netw 145:22\u201332","journal-title":"Neural Netw"},{"key":"629_CR44","unstructured":"Ishtiaq AA, Hasan M, Haque MM, Mehrab KS, Muttaqueen T, Hasan T, Iqbal A, Shahriyar R (2021) Bert2code: Can pretrained language models be leveraged for code search?. arXiv preprint arXiv:2104.08017"}],"container-title":["Journal of Cloud Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1186\/s13677-024-00629-5.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1186\/s13677-024-00629-5\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1186\/s13677-024-00629-5.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,4,1]],"date-time":"2024-04-01T09:16:24Z","timestamp":1711962984000},"score":1,"resource":{"primary":{"URL":"https:\/\/journalofcloudcomputing.springeropen.com\/articles\/10.1186\/s13677-024-00629-5"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,4,1]]},"references-count":44,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2024,12]]}},"alternative-id":["629"],"URL":"https:\/\/doi.org\/10.1186\/s13677-024-00629-5","relation":{},"ISSN":["2192-113X"],"issn-type":[{"value":"2192-113X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,4,1]]},"assertion":[{"value":"14 December 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"9 March 2024","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"1 April 2024","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"This article does not contain any studies with human participants or animals performed by any of the authors.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethics approval and consent to participate"}},{"value":"The authors declare no competing interests.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"78"}}