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)
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:
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F8/75
Foreign References:
CN107066262A | 2017-08-18 | |||
CN111290784A | 2020-06-16 | |||
CN112925874A | 2021-06-08 | |||
CN107688748A | 2018-02-13 | |||
CN112579155A | 2021-03-30 | |||
CN110362343A | 2019-10-22 | |||
CN106873964A | 2017-06-20 | |||
US20140223565A1 | 2014-08-07 | |||
US20180349105A1 | 2018-12-06 |
Download PDF:
Previous Patent: WALL SOCKET
Next Patent: PHASE CHANGE MEMORY AND METHOD FOR MANUFACTURING PHASE CHANGE MEMORY
Next Patent: PHASE CHANGE MEMORY AND METHOD FOR MANUFACTURING PHASE CHANGE MEMORY