WO2023028721 - SYSTEMS AND METHODS FOR DETECTION OF CODE CLONES
National phase entry:
Publication Number
WO/2023/028721
Publication Date
09.03.2023
International Application No.
PCT/CN2021/115181
International Filing Date
28.08.2021
Title **
[English]
SYSTEMS AND METHODS FOR DETECTION OF CODE CLONES
[French]
SYSTÈMES ET PROCÉDÉS DE DÉTECTION DE CLONES DE CODE
Applicants **
HUAWEI TECHNOLOGIES CO.,LTD.
Huawei Administration Building
Bantian, Longgang District
Shenzhen, Guangdong 518129, CN
Inventors
CHEN, Jinfu
Suite 400, 303 Terry Fox Drive, Kanata.
Ottawa, Ontario 231, CA
WANG, Yuan
Suite 400, 303 Terry Fox Drive, Kanata.
Ottawa, Ontario 231, CA
QIU, Dong
Huawei Administration Building, Bantian,Longgang District
Shenzhen, Guangdong 518129, CN
XIA, Xin
Suite 400, 303 Terry Fox Drive, Kanata.
Ottawa, Ontario 231, CA
Application details
| Total Number of Claims/PCT | * |
| Number of Independent Claims | * |
| Number of Priorities | * |
| Number of Multi-Dependent Claims | * |
| Number of Drawings | * |
| Pages for Publication | * |
| Number of Pages with Drawings | * |
| Pages of Specification | * |
| * | |
| * | |
International Searching Authority |
CNIPA
* |
| Applicant's Legal Status |
Legal Entity
* |
| * | |
| * | |
| * | |
| * | |
| Entry into National Phase under |
Chapter I
* |
| Translation |
|
Recalculate
* The data is based on automatic recognition. Please verify and amend if necessary.
** IP-Coster compiles data from publicly available sources. If this data includes your personal information, you can contact us to request its removal.
Quotation for National Phase entry
| Country | Stages | Total | |
|---|---|---|---|
| China | Filing | 1588 | |
| EPO | Filing, Examination | 12651 | |
| Japan | Filing | 591 | |
| South Korea | Filing | 482 | |
| USA | Filing, Examination | 4710 |

Total: 20022 USD
The term for entry into the National Phase has expired. This quotation is for informational purposes only
Abstract[English]
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.[French]
L'invention concerne des procédés et des dispositifs permettant de détecter des clones de code dans un programme logiciel. Le code source du programme logiciel est traité en un groupe de représentations en n-grammes. Un indice de clone est généré pour chaque partie de code respective définie dans le code source normalisé, chaque indice de clone comprenant un vecteur de caractéristique codant des caractéristiques de la partie de code respective sur la base des représentations en n-grammes correspondant à la partie de code respective. La comparaison des indices de clones est utilisée pour détecter un clone de code, sur la base de l'appariement des vecteurs de caractéristiques des indices de clones.