Giter Site home page Giter Site logo

island255 / fcdetector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shiyy123/fcdetector

0.0 0.0 0.0 81.36 MB

Functional clone detection(currently maintained version)

License: GNU General Public License v3.0

Shell 10.21% C++ 0.06% Python 4.78% C 11.50% Java 38.33% Scala 6.75% MATLAB 22.45% M 0.02% Makefile 0.13% Batchfile 5.76%

fcdetector's Introduction

Project structure

  • AutoenCODE: This folder contains the source code of word2vec.
  • graph2vec: This folder contains the source code of graph2vec.
  • joern: This folder contains the source code of joern, which is used to extract AST and CFG.
  • script: This folder contains the deep learning model to detect code clone used in our experiment.
  • src: This folder contains the code of extracting the syntactical and semantic embedding features of the C++ source code. It also used to generate clone and non-clone pairs.

Usage

Generate the embedding features

The src/main/java/test/GenerateTrainingData.java file is the entrance of generating embedding feature data set for the C++ source code. The embedding features of the data set have been created and store here.

Training clone detection model

The script/Classify/Classifier.py file is the entrance of training clone detection model.

fcdetector's People

Contributors

shiyy123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.