2023
DOI: 10.1016/j.infsof.2022.107130
|View full text |Cite
|
Sign up to set email alerts
|

Graph-based code semantics learning for efficient semantic code clone detection

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
1
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
5
1
1

Relationship

0
7

Authors

Journals

citations
Cited by 9 publications
(5 citation statements)
references
References 21 publications
0
1
0
Order By: Relevance
“…The PDG was initially used in various code optimizations, such as parallelism detection [42], code movement, or program slicing [43]. This representation can also support program comprehension and maintenance by depicting statement dependency trees in order to assess change impact [44], find code similarities [45]- [48], measure code coverage, or reduce the test set for programs. Another graph-based code model that combines the Control Flow Graph (CFG) and Program Dependence Graph (PDG), along with an Abstract Syntax Tree, is known as the Code Property Graph (CPG) [49].…”
Section: A Code Dependency Representationsmentioning
confidence: 99%
“…The PDG was initially used in various code optimizations, such as parallelism detection [42], code movement, or program slicing [43]. This representation can also support program comprehension and maintenance by depicting statement dependency trees in order to assess change impact [44], find code similarities [45]- [48], measure code coverage, or reduce the test set for programs. Another graph-based code model that combines the Control Flow Graph (CFG) and Program Dependence Graph (PDG), along with an Abstract Syntax Tree, is known as the Code Property Graph (CPG) [49].…”
Section: A Code Dependency Representationsmentioning
confidence: 99%
“…Type • CodeGraph4CCDetector (CG4CD). 36 CodeGraph4CCDetector use a Siamese graph-matching network based on attention mechanisms for CFGs/ PDGs, which can capture key information at the token, statement, and graph levels to sufficiently learn code semantics for code clone detection.…”
Section: Not Clone 19987mentioning
confidence: 99%
“…This method has achieved state‐of‐the‐art performance on code clone detection task. We use the same parameter settings released by the author to reproduce the results. CodeGraph4CCDetector (CG4CD) 36 . CodeGraph4CCDetector use a Siamese graph‐matching network based on attention mechanisms for CFGs/PDGs, which can capture key information at the token, statement, and graph levels to sufficiently learn code semantics for code clone detection. GRRLN .…”
Section: Experiments Setup and Research Questionsmentioning
confidence: 99%
“…Theoretically, our choice of code2vec For source code representation is inspired by the recent performance analysis in method name prediction, code semantic extraction [34]. However, we cannot be sure whether the heavy computation and the cost of employing code2vec are worthy trade-offs.…”
Section: Why Does Attentivebuglocator Work?mentioning
confidence: 99%