arrow
返回

Siamese: scalable and incremental code clone search via multiple code representations

delete2019-03-05
delete39
PRE
AI
C
Chaiyong Ragkhitwetsagul *
J
Jens Krinke
DOI:10.1007/s10664-019-09697-7delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
This paper presents a novel code clone search technique that is accurate, incremental, and scalable to hundreds of million lines of code. Our technique incorporates multiple code representations (i.e., a technique to transform code into various representations to capture different types of clones), query reduction (i.e., a technique to select clone search keywords based on their uniqueness), and a customised ranking function (i.e., a technique to allow a specific clone type to be ranked on top of the search results) to improve clone search performance. We implemented the technique in a clone search tool, called Siamese, and evaluated its search accuracy and scalability on three established clone data sets. Siamese offers the highest mean average precision of 95% and 99% on two clone benchmarks compared to seven state-of-the-art clone detection tools, and reported the largest number of Type-3 clones compared to three other code search engines. Siamese is scalable and can return cloned code snippets within 8 seconds for a code corpus of 365 million lines of code. Using an index of 130,719 GitHub projects, we demonstrate that Siamese's incremental indexing capability dramatically decreases the index preparation time for large-scale data sets with multiple releases of software projects. The paper discusses the applications of Siamese to facilitate software development and research with two use cases including online code clone detection and clone search with automated license analysis.
Keyword:
Code clone search
Code search engine
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Clone-Seeker: Effective Code Clone Search Using AnnotationsClone-Seeker: 使用注释进行有效的代码克隆搜索
err2022-01-01
err4
errOAAI
errHammad, Muhammad; Babur, Onder; Basit, Hamid Abdul; Van den Brand, Mark
err分享
err收藏
Big Code Search: A Bibliography
err2023-08-26
err4
errOAAI
errKim, Kisub; Ghatpande, Sankalp; Kim, Dongsun; Zhou, Xin; Liu, Kui; Bissyande, Tegawende F.; Klein, Jacques; Le Traon, Yves
err分享
err收藏
Learning to rank code examples for code search engines
err2016-01-21
err56
PREAI
errNiu, Haoran; Keivanloo, Iman; Zou, Ying
err分享
err收藏
Code Search: A Survey of Techniques for Finding Code
err2023-02-09
err17
errOAAI
errDi Grazia, Luca; Pradel, Michael
err分享
err收藏
Opportunities and Challenges in Code Search Tools
err2021-10-08
err37
errOAAI
errLiu, Chao; Xia, Xin; Lo, David; Gao, Cuiyun; Yang, Xiaohu; Grundy, John
err分享
err收藏
Accurate and Scalable Cross-Architecture Cross-OS Binary Code Search with Emulation
err2019-11-01
err43
PREAI
errXue, Yinxing; Xu, Zhengzi; Chandramohan, Mahinthan; Liu, Yang
err分享
err收藏

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
6.4K

机构

M
Mahidol University
学者数:
1.4K
论文数: 500
被引数: 7.1K
U
University of London
学者数:
1.7K
论文数: 763
被引数: 14.7W
引用论文

引用论文

An increase in model lipid membrane fluidity as a result of local anesthetic action
err2016-08-12
err0
PREAI
errS. S. Efimova; R. Ya. Medvedev; L. V. Schagina; O. S. Ostroumova
err分享
err收藏
err分享
err收藏
Dual Hole Transport Layers Heterojunction and Band Alignment Engineered Mo:BiVO4 Photoanodes for Efficient Water Splitting (Small 37/2024)
err2024-09-13
err0
PREAI
errGuilin Wang; Tongxin Tang; Kai‐Hang Ye; Xin Ding; Junwei Chen; WenHao Zou; Yushen Xiao; JieYu Li; Long Zhao; Chaojie Chen; Sitong Ge; Lei Li; Xiujuan Wei; Chao Chen; Yang Cao; Zhan Lin; Shanqing Zhang
err分享
err收藏
err分享
err收藏
Continental smokers couple mantle degassing and distinctive microbiology within continents
err2016-02-01
err0
errOAAI
errLaura J. Crossey; Karl E. Karlstrom; Brandon Schmandt; Ryan R. Crow; Daniel R. Colman; Brandi Cron; Cristina D. Takacs-Vesbach; Clifford N. Dahm; Diana E. Northup; David R. Hilton; Jason W. Ricketts; Anthony R. Lowry
err分享
err收藏
Unusual Photoisomerization Pathway in a Near-Infrared Light Absorbing Enzymerhodopsin
err2022-10-06
err0
PREAI
errMasahiro Sugiura; Kazuki Ishikawa; Kota Katayama; Yuji Sumii; Rei Abe-Yoshizumi; Satoshi P. Tsunoda; Yuji Furutani; Norio Shibata; Leonid S. Brown; Hideki Kandori
err分享
err收藏
学者 查看更多内容