GRADESTYLE: GitHub-Integrated and Automated Assessment of Java Code Style

Callum Iddon, Nasser Giacaman, Valerio Terragni
{"title":"GRADESTYLE: GitHub-Integrated and Automated Assessment of Java Code Style","authors":"Callum Iddon, Nasser Giacaman, Valerio Terragni","doi":"10.1109/ICSE-SEET58685.2023.00024","DOIUrl":null,"url":null,"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.","PeriodicalId":68155,"journal":{"name":"软件产业与工程","volume":"17 1","pages":"192-197"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"软件产业与工程","FirstCategoryId":"1089","ListUrlMain":"https://doi.org/10.1109/ICSE-SEET58685.2023.00024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

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.
gradstyle: github -集成和自动评估Java代码风格
每种编程语言都有自己的风格约定和最佳实践,这有助于开发人员编写可读且可维护的代码。学习代码风格是每个专业软件工程师都应该掌握的基本技能。因此,当学生开始学习如何编程时,他们应该尽早养成良好的代码风格习惯。不幸的是,用及时和详细的反馈手动评估学生的代码通常是不可行的,并且专业的静态分析工具不适合教育环境。本文介绍了GRADESTYLE,一个用于自动评估Java分配的代码风格的工具。gradstyle自动检查是否违反了一些最重要的Google Java风格约定和Java最佳实践。学生将收到一份带有代码样式标记、违规列表和源代码位置的报告。gradstyle很好地集成了GitHub和GitHub Classroom,并且可以配置为每次学生推送新代码时提供持续的反馈。我们在一个有327名学生的二年级软件工程编程课程中采用了我们的工具,并观察到他们的作业在代码风格上的一致改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
676
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信