Skip to content

borisdaeppen/School-Code-Compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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