If you're looking for students copying others, you might try using 'diff' on the source code or even the compiled files and look for files that are somewhat similar and inspect those files closer.
I'm a grader for a Computer Science class at my University and I would really like it if I can find some software to assist me in grading these assignments. They are done in C++.
Does anyone know of some good code analyzing software, especially if it pertains to this? What would be really nice is if there was something that could analyze code structure and see if there are any possibilities of cheating. I would always, of course, check with my own eyes to make sure, but at least it would help me to pin point those persons' sources that look similar.
If you're looking for students copying others, you might try using 'diff' on the source code or even the compiled files and look for files that are somewhat similar and inspect those files closer.
Vim 6 has a 'diff' mode which shows two documents and highlights where they are different.
The problem is that diff doesn't look at structure. It doesn't take much to change function and variable names. I don't think that any student is stupid enough to just copy code line for line.
Use vim in vertical split mode and scroll down.The problem is that diff doesn't look at structure. *It doesn't take much to change function and variable names. *I don't think that any student is stupid enough to just copy code line for line.
Bookmarks