Skip to content

gpoo/ccfinderx

Repository files navigation

CCFinderX

CCFinderX is a tool for detecting code clones from source code, originally developed by Toshiro Kamiya. It is a re-design a previous tool CCFinder, described in the paper "CCFinder: A Multi-Linguistic Token-based Code Clone Detection System for Large Scale Source Code".

CCFindeX can extract code code clones correctly from source code even in cases where the names of variables habe changed.

Features of CCFinderX

About this repository

This is a clone of CCFinderX that has the settings to build with autoconf on a Linux machine.

ccfinderx requires the development packages for Python, Boost, JNI (Java SDK), and ICU.

On Debian 8 (jessie), you need at least the following packages installed: # aptitude install libtool autoconf automake make build-essential autoconf-archive

You'll also need various Boost libraries, it may be easiest to just do:

# aptitude install libboost-all-dev

Note that autconf-archive is important to get AX_JNI_INCLUDE_DIR and AX_BOOST_BASE referenced in configure.ac.

After dependencies are installed, the process to build ccfinderx is:

$ libtoolize
$ aclocal -I m4 --install
$ autoconf
$ automake --foreign --add-missing
$ ./configure
$ make

If there is an error in make ccfinderx_CCFinderX.h, then is necessary to generate it via:

$ cd GemX
$ make ccfinderx_CCFinderX_h

To build GemX (the graphical user interface):

$ cd GemX
$ make

License

This fork was made of CCFinder distributed under MIT License since January 25, 2010 (as declared in CCFinder official web page.