Enhancing Program Dependency Graph Based Clone Detection using Approximate Subgraph Matching

被引:0
|
作者
Kamalpriya, C. M. [1 ]
Singh, Paramvir [2 ]
机构
[1] Bombardier Transportat India Pvt Ltd, Vadodara, India
[2] Natl Inst Technol, Jalandhar, India
关键词
Software Clone Detection; Clone Relations; Approximate Clones; Subsumed Clones; Program Dependency Graph; Software Maintenance;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software code clone detection techniques and tools play a major role in improving the software quality as well as saving maintenance cost and effort. Program Dependency Graph (PDG) based clone detection techniques have a key advantage over other techniques as they are capable of detecting non-contiguous code clones in addition to contiguous clones. We propose further enhancement to current state of the art PDG-based detection to identify all possible (exact and approximate) clone relations from the obtained clone pair ( PDG-based) results using Approximate Subgraph Matching (ASM). We obtain clone results of our proposed technique on three subject software systems, and validate the results on eclipse-ant from Bellon's benchmark. We also present a new ASM-based distance measure to represent the similarity between software code clones.
引用
收藏
页码:61 / 67
页数:7
相关论文
共 50 条
  • [1] Enhancing Quality of Code Clone Detection with Program Dependency Graph
    Higo, Yoshiki
    Kusumoto, Shinji
    16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 315 - 316
  • [2] An approach for approximate subgraph matching in fuzzy RDF graph
    Li, Guanfeng
    Yan, Li
    Ma, Zongmin
    FUZZY SETS AND SYSTEMS, 2019, 376 : 106 - 126
  • [3] AN APPROACH FOR APPROXIMATE SUBGRAPH MATCHING IN DOMAIN KNOWLEDGE GRAPH
    Wang, Hairong
    Su, Meng
    Li, Weijun
    Han, Meng
    JOURNAL OF NONLINEAR AND CONVEX ANALYSIS, 2020, 21 (08) : 1665 - 1676
  • [4] Approximate Subgraph Matching Query over Large Graph
    Zhao, Yu
    Zhang, Chunhong
    Sun, Tingting
    Ji, Yang
    Hu, Zheng
    Qiu, Xiaofeng
    BIG DATA COMPUTING AND COMMUNICATIONS, (BIGCOM 2016), 2016, 9784 : 247 - 256
  • [5] CCGraph: a PDG-based code clone detector with approximate graph matching
    Zou, Yue
    Ban, Bihuan
    Xue, Yinxing
    Xu, Yun
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 931 - 942
  • [6] A graph matching method and a graph matching distance based on subgraph assignments
    Raveaux, Romain
    Burie, Jean-Christophe
    Ogier, Jean-Marc
    PATTERN RECOGNITION LETTERS, 2010, 31 (05) : 394 - 406
  • [7] A subgraph matching algorithm based on subgraph index for knowledge graph
    Yunhao Sun
    Guanyu Li
    Jingjing Du
    Bo Ning
    Heng Chen
    Frontiers of Computer Science, 2022, 16
  • [8] A subgraph matching algorithm based on subgraph index for knowledge graph
    Sun, Yunhao
    Li, Guanyu
    Du, Jingjing
    Ning, Bo
    Chen, Heng
    FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (03)
  • [9] A subgraph matching algorithm based on subgraph index for knowledge graph
    Yunhao SUN
    Guanyu LI
    Jingjing DU
    Bo NING
    Heng CHEN
    Frontiers of Computer Science, 2022, 16 (03) : 124 - 141
  • [10] Enhancing a Tabu Algorithm for Approximate Graph Matching by Using Similarity Measures
    Kpodjedo, Segla
    Galinier, Philippe
    Antoniol, Giulio
    EVOLUTIONARY COMPUTATION IN COMBINATORIAL OPTIMIZATION, PROCEEDINGS, 2010, 6022 : 119 - 130