borisdaeppen / School-Code-Compare

Compare files containing text or code for similarity.
Other
0 stars 1 forks source link
education evaluation perl programming school

School-Code-Compare

This program is written in the Perl Programming Language.

Purpose

Compare files containing source code (or any plain text) on similarity to each other. This may help you to find files which contain similar code.

The approach is simplistic: Whitespace and comments are trimmed, then all files are compared using the Levenshtein algorithm.

Future releases may bring more sophisticated techniques.

Example Usage

find path/to/projects -type f -name Cow.java | perl -Ilib bin/find_similar_code.pl java -o html