Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checking for code plagiarism with JavaScript

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?

like image 871
Alex Ciminian Avatar asked Feb 03 '23 05:02

Alex Ciminian


2 Answers

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?

like image 95
Strelok Avatar answered Feb 05 '23 20:02

Strelok


I build Clone detection tools, that find similar blocks of code across files. See CloneDR overview and example reports. CloneDR works for a wide variety of languages, and uses the langauge structure to makethe clone detection efficient and effective.

like image 41
Ira Baxter Avatar answered Feb 05 '23 20:02

Ira Baxter