Skip to content

CodeCloneDL/datasets.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 

Repository files navigation

CCDetector is a tool based on NiCad, suitable for Python projects, implementing clone type separation as well as co-changed clone detection.

Prerequisites

  1. NiCad-6.2

  2. Java17

Clone Type Separation

This process is implemented by CloneSeparator.java.

  • Input : InputCS.If you don't have this folder, you need to create it by yourself and then, put the NiCad result files in this folder.As shown in the figure below.Each project detects three clone types.

Image

  • Output : InputCS/Results/“......clone-abstract”.

Co-changed Clone Detection

This process is implemented by FindCoChangeClone.java.

  • Input : Input.If you don't have this folder, you need to create it by yourself. Your operation should look like the following figure.

Image

  • Output : InputCS/Results/“......clone-abstract”.

Co-changed Clone Type Separation

This process is implemented by CCloneSeparator.java.

  • Input 1 : InputCCTA.If you don't have this folder, you need to create it by yourself and then, put the Co-changed Clone Detection result files in this folder.As shown in the figure below.

Image

  • Input 2 : InputCS.If you don't have this folder, you need to create it by yourself and then, put the Clone Type Separation result files in this folder.As shown in the figure below.

Image

  • Output.The result is written into the FinalResults file in the Co-changed Clone Detection result files.

Bug-prone Co-changed Clone Detection

This process is implemented by FindBuggyCClone.java.

About

Paper: Exploring the Impact of Code Clones on Deep Learning Software.See our website: https://codeclonedl.github.io/datasets.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors