Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result format of code-clone detection in block-level #41

Open
FengWu1206 opened this issue Jan 23, 2020 · 1 comment
Open

result format of code-clone detection in block-level #41

FengWu1206 opened this issue Jan 23, 2020 · 1 comment

Comments

@FengWu1206
Copy link

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

@jinfuchen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants