TransClone: A Language Agnostic Code Clone Detector
We introduce TransClone, a language-agnostic clone detection tool that leverages a source-to-source translator and an extended version of the graph matching network to detect clones. This tool accepts a source directory or directories as input and identifies code clones within it. It comes with a co...
Saved in:
Published in | 2023 IEEE 17th International Workshop on Software Clones (IWSC) pp. 29 - 32 |
---|---|
Main Authors | , , |
Format | Conference Proceeding |
Language | English |
Published |
IEEE
01.10.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | We introduce TransClone, a language-agnostic clone detection tool that leverages a source-to-source translator and an extended version of the graph matching network to detect clones. This tool accepts a source directory or directories as input and identifies code clones within it. It comes with a command line interface and reports identified clones in a CSV file format. Currently, it supports code written in Java and Python. However, TransClone's modular structure provides a flexible way to augment clone-detection support for multiple languages, as better code translators become available. Our experiment on the benchmark dataset shows that it can detect clones with high precision and recall. The TransClone tool including the datasets and trained model can be found here 1 1https://github.com/subrotonpi/transclone. |
---|---|
ISSN: | 2572-6587 |
DOI: | 10.1109/IWSC60764.2023.00012 |