Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Code analysis software?
Results 1 to 6 of 6

Thread: Code analysis software?

Hybrid View

  1. #1

    Code analysis software?

    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.

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    280

    Re: Code analysis software?

    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.

  3. #3
    Guest

    Re: Code analysis software?

    Vim 6 has a 'diff' mode which shows two documents and highlights where they are different.

  4. #4

    Re: Code analysis software?

    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.

  5. #5
    Guest

    Re: Code analysis software?


    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.

  6. #6

    Re: Code analysis software?

    vimdiff will not only show you what lines are different, it will also show you what parts of the line are different. If you have two students who you think copied, just do a "vimdiff file1 file2" and it'll show you everything

Similar Threads

  1. Sendmail Log Analysis Report
    By kdnyazema in forum Tutorials
    Replies: 2
    Last Post: 12-20-2011, 02:07 AM
  2. disk r/w and server performance analysis tools
    By lovewadhwa in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 09-20-2006, 05:47 PM
  3. software patents and free software (in the EU)
    By chris78 in forum Linux - General Topics
    Replies: 0
    Last Post: 05-02-2004, 05:36 AM
  4. Free Software Better Than Commercial Software
    By Coral_Sea in forum Linux - Software, Applications & Programming
    Replies: 23
    Last Post: 09-10-2003, 12:00 AM
  5. /var/log/messages: log entry analysis
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-26-2002, 03:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •