Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEMS AND METHODS FOR DETECTION OF CODE CLONES
Document Type and Number:
WIPO Patent Application WO/2023/028721
Kind Code:
A1
Abstract:
Methods and devices are described for detecting code clones in a software program. The source code of the software program is processed into a group of n-gram representations. A clone index is generated for each respective code portion defined in the normalized source code, where each clone index includes a feature vector encoding features of the respective code portion based on the n-gram representations corresponding to the respective code portion. Comparison of the clone indexes is used to detect a code clone, based on matching the feature vectors of the clone indexes.

Inventors:
CHEN JINFU (CA)
WANG YUAN (CA)
QIU DONG (CN)
XIA XIN (CA)
Application Number:
PCT/CN2021/115181
Publication Date:
March 09, 2023
Filing Date:
August 28, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F8/75
Foreign References:
CN107066262A2017-08-18
CN111290784A2020-06-16
CN112925874A2021-06-08
CN107688748A2018-02-13
CN112579155A2021-03-30
CN110362343A2019-10-22
CN106873964A2017-06-20
US20140223565A12014-08-07
US20180349105A12018-12-06
Download PDF: