detect duplicated programs
My final year project is to develop a java application which should get the two java programs as input and tell us if the programs are copied or not.
The copiers should not be able to cheat if they just change the variable names.
The copiers should not be able to cheat if they add just spaces in between the code lines or inside the code line.
x has written a program(a class assignment) and submitted, in the form of .java file, and y also submits an assignment. now when these two files are given to our application it should tell whether someone have copied from the other person or not.
i am confused as to how to proceed initially.
Your help is greatly appreciated..