GRADESTYLE: GitHub-Integrated and Automated Assessment of Java Code Style
Authors:
- 1 May 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 192-197
Abstract
Every programming language has its own style conventions and best practices, which help developers to write readable and maintainable code. Learning code style is an essential skill that every professional software engineer should master. As such, students should develop good habits for code style early on, when they start learning how to program. Unfortunately, manually assessing students’ code with timely and detailed feedback is often infeasible, and professional static analysis tools are unsuitable for educational contexts. This paper presents GRADESTYLE, a tool for automatically assessing the code style of Java assignments. GRADESTYLE automatically checks for violations of some of the most important Google Java Style conventions, and Java best practices. Students receive a report with a code style mark, a list of violations, and their source code locations. GRADESTYLE nicely integrates with GitHub and GitHub Classroom, and can be configured to provide continuous feedback every time a student pushes new code. We adopted our tool in a second-year software engineering programming course with 327 students and observed consistent improvements in the code style of their assignments.Keywords
This publication has 28 references indexed in Scilit:
- Understanding semantic style by analysing student code2018
- Investigating Static Analysis Errors in Student Java Programs2017
- Code Quality Issues in Student Programs2017
- Translating Principles of Effective Feedback for Students into the CS1 ContextACM Transactions on Computing Education, 2016
- On the Effectiveness of Simhash for Detecting Near-Miss Clones in Large Scale Software Systems2011
- Do code clones matter?2009
- An Assessment of Type-3 Clones as Detected by State-of-the-Art Tools2009
- A Normalized Levenshtein Distance MetricIEEE Transactions on Pattern Analysis and Machine Intelligence, 2007
- Supporting Students in C++ Programming Courses with Automatic Program Style AssessmentJournal of Information Technology Education: Research, 2004
- The use of Java as an introductory programming languageXRDS: Crossroads, The ACM Magazine for Students, 1998