mlsanityData to 14 Oct 2026

Code Clone Detection based on Event Embedding and Event Dependency

arXiv 2111.14183 ↗First posted 28 Nov 2021cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The code clone detection method based on semantic similarity has important value in software engineering tasks (e.g., software evolution, software reuse). Traditional code clone detection technologies pay more attention to the similarity of code at the syntax level, and less attention to the semantic similarity of the code. As a result, candidate codes similar in semantics are ignored. To address this issue, we propose a code clone detection method based on semantic similarity. By treating code as a series of interdependent events that occur continuously, we design a model namely EDAM to encode code semantic information based on event embedding and event dependency. The EDAM model uses the event embedding method to model the execution characteristics of program statements and the data dependence information between all statements. In this way, we can embed the program semantic information into a vector and use the vector to detect codes similar in semantics. Experimental results show that the performance of our EDAM model is superior to state of-the-art open source models for code clone detection.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 2 of its 29 references that are in the map. First posted on arXiv 28 Nov 2021.

Builds on

2 of 29 references.

References · 2

  1. 2015SourcererCC: Scaling Code Clone Detection to Big Codecited by 40
  2. 2018Oreo: Detection of Clones in the Twilight Zonecited by 19

Built on by

Cited by year

Citing papers per year: 2022: 1.

1 paper.