Checking for code plagiarism with JavaScript

Alex Ciminian picture Alex Ciminian · Apr 6, 2010 · Viewed 13.4k times · Source

I was wondering how I can detect code plagiarism with Javascript. I want to test assignment submissions for homework I'm going to hand out.

I've looked at using MOSS, but—from what I've heard—it's pretty poor for anything other than C. Unfortunately, I can't test it yet because I don't have submissions.

How can I go about detecting code plagiarism with JavaScript?

Answer

Strelok picture Strelok · Apr 6, 2010

They claim that MOSS works on Javascript. Why don't you just try it. Write a Javascript file, then modify it, like a cheater would modify somebody elses code and feed it to MOSS to see what it says?