Mondego / SourcererCC

Sourcerer's Code Clone project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

result format of code-clone detection in block-level

FengWu1206 opened this issue · comments

How to location the cloned code in lines in block-level mode?

Hi, you can find the mapping between results.pairs with files within bookkeeping_projs and file_block_stats.
In particular, you can use the existing script implemented by rprtr258 to extract the clones' source infos.
https://github.com/vvlevchenko/SourcererCC/blob/master/prettify_results.py