Plagiarism is detected by comparing statements within source code of a first program to comments within source code of a second program.