Checking for plagiarism in Java programming assignments
Articles
December 7, 2020

How to check for plagiarism in Java source code

In 30 seconds...

Many teachers choose to teach their students the Java programming language. It is a great foundation for any computer science or software engineering studies and one of the most popular and versatile languages. It serves as a great language to introduce students to Object Oriented Programming and a strongly typed language. But also more advanced courses in mobile application development, big data or enterprise software engineering often use Java, teaching tools such as Android Studio and Kotlin for app development and Apache Hadoop in big data and distributed computing courses.

With more and more students doing their assignments in Java, it has become more important to maintain academic integrity in the Java source code too. Detecting plagiarism is important not just to avoid having plagiarised source code but also to encourage students to learn, practice and test their own programming skills by submitting original content. 

We see that teachers unfortunately often still have to skip checking for plagiarism, as it is simply impossible to manually check for plagiarism in student submissions in all the student submissions and using separate plagiarism checker tools is found to be too cumbersome. Having to manually copy and paste source code to another tool and manually parsing results often only increases an already huge workload of teachers. Because of this, teachers often do acknowledge the importance of detecting plagiarism, but simply lack the time to do so effectively.

Start using a learning platform especially designed to teach programming!

With CodeGrade, teachers can finally check for plagiarism on Java source code with only a single click. CodeGrade is integrated directly into your learning management system (such as Canvas, Brightspace, Moodle, Blackboard and Open edX) so that all source code is directly taken into account in the plagiarism check and results are easily accessible via your LMS with our intuitive side-by-side comparison view. The CodeGrade plagiarism detection software works with all Java versions, Android Studio and Maven projects and when using frameworks like Swing or Hadoop, in addition to many other common programming languages including C, C++, C#, Python, Jupyter Notebooks, PHP, R, Scala and JavaScript.

Unlike other plagiarism detection tools, CodeGrade’s plagiarism checker is designed especially for source code: it does not simply check literal similarities in text, but looks for similarities in code structure after parsing and compiling the code. Additionally, it allows you to upload template code to ignore or include source code from third parties in your plagiarism check. This helps it easily detect students’ plagiarism, even when students try common tricks like:

  • Changing variable or method names
  • Adding or removing documentation and Javadoc
  • Altering the order of lines
  • Adding dummy code

Plagiarism detection is just one of CodeGrade’s many tools designed for computer science education. Next to our plagiarism checker, CodeGrade features autograding (even with tools like JUnit), instant feedback to students, tools for efficient manual grading, intuitive rubrics, powerful analysis tools and peer feedback for code.

Devin Hillenius

Devin Hillenius

Co-founder, Product Expert
Devin is co-founder and Product Expert at CodeGrade. During his studies Computer Science and work as a TA at the University of Amsterdam, he developed CodeGrade together with his co-founders to make their life easier. Devin supports instructors with their programming courses, focusing on both their pedagogical needs and innovative technical possibilities. He also hosts CodeGrade's monthly webinar.

Continue reading

CodeGrade Success Story at the University of Nevada, Las Vegas

CodeGrade increases student performance and helps teachers at UNLV. Professors and e-learning experts from the University of Nevada, Las Vegas share how they adopted CodeGrade and how it made their lives easier.

New CodeGrade features now delivered continuously to you!

CodeGrade now uses Continuous Delivery (CD) to deploy new bug fixes, tweaks and features even quicker and smoother to our customers. We chat with CodeGrade CTO Thomas Schaper to learn more about this improvement!

5 reasons to use CodeGrade in your high school coding classroom

Coding education is growing, especially in high schools. Find out how CodeGrade can support K12 students.

Teaching Intro to Python with CodeGrade

The CodeGrade Introduction to Python course is an 8-week basic Python course. Students are not required to have any prior knowledge on programming or Python. This course will cover the basic concepts of programming up to Python specific modules and OOP design. It is available for all instructors now.

Sign up to our newsletter

Book a quick 30-minute demo and see how it works for you!