Towards Semantic Clone Detection via Probabilistic Software Modeling

01/21/2020
by   Hannes Thaller, et al.
0

Semantic clones are program components with similar behavior, but different textual representation. Semantic similarity is hard to detect, and semantic clone detection is still an open issue. We present semantic clone detection via Probabilistic Software Modeling (PSM) as a robust method for detecting semantically equivalent methods. PSM inspects the structure and runtime behavior of a program and synthesizes a network of Probabilistic Models (PMs). Each PM in the network represents a method in the program and is capable of generating and evaluating runtime events. We leverage these capabilities to accurately find semantic clones. Results show that the approach can detect semantic clones in the complete absence of syntactic similarity with high precision and low error rates.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/11/2020

Semantic Clone Detection via Probabilistic Software Modeling

Semantic clone detection is the process of finding program elements with...
research
01/21/2020

Towards Fault Localization via Probabilistic Software Modeling

Software testing helps developers to identify bugs. However, awareness o...
research
12/17/2019

Probabilistic Software Modeling: A Data-driven Paradigm for Software Analysis

Software systems are complex, and behavioral comprehension with the incr...
research
06/15/2018

Oreo: Detection of Clones in the Twilight Zone

Source code clones are categorized into four types of increasing difficu...
research
11/28/2021

Code Clone Detection based on Event Embedding and Event Dependency

The code clone detection method based on semantic similarity has importa...
research
06/23/2018

Probabilistic Software Modeling

Software Engineering and the implementation of software has become a cha...
research
03/24/2018

Extended Abstract: Mimicry Resilient Program Behavior Modeling with LSTM based Branch Models

In the software design, protecting a computer system from a plethora of ...

Please sign up or login with your details

Forgot password? Click here to reset