Compare multiple files for common code

I have two projects with massive code base. I would like to run a tool to view all files in each project and show which files in projects have similar code. I'm not even sure if something like this exists, but I remember that I was in school, the teachers had a tool on which they ran all the code from several students to determine how similar their codes were (to catch cheaters).

+3


source to share


3 answers


What you want is a clone detection tool .



+2


source


Are you thinking of something like WinMerge ? It can compare entire directory trees to the value of files.



0


source


Many editors have tools to compare with each other. This will love the built-in versions of WinMerge. Notepad ++ and SublimeText2 come to mind.

0


source







All Articles