TransClone: A Language Agnostic Code Clone Detector

2023 IEEE 17TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2023(2023)

引用 0|浏览4
暂无评分
摘要
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).
更多
查看译文
关键词
Code Clone Detection,Cross-Language Clones,Software Maintenance Tools
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要