Implementation of a Coding Style Checking System in an Online Judge System 


Vol. 13,  No. 9, pp. 437-443, Sep.  2024
https://doi.org/10.3745/TKIPS.2024.13.9.437


PDF
  Abstract

Adhering to coding style guidelines is crucial for both companies and developers as it improves code readability and reduces the costs associated with testing and maintenance. However, teaching coding style in programming courses poses challenges. Setting up an environment for learning coding styles is hard, and there are no predefined coding style rules for beginners. From the learners' perspective, since adherence to coding styles does not affect their grades, they do not feel a strong need to learn them. This paper introduces a coding style checking system for an online evaluation system. The proposed system is implemented to check and evaluate coding styles in C, Java, and Python. Additionally, we applied 234 out of the 1,023 rules provided by the language-specific tools, which is 23.08%, allowing for the application of coding style rules according to the course progression. Moreover, we motivated learners to improve their coding style by adding quality scores to their basic scores. After introducing the coding style education system, the number of students scoring over 25 points on their initial submissions increased by 149.47%, from 18 students in the first week to 44 students in the sixth week. Learners used the coding style checking system to learn how to apply coding style rules and subsequently implemented their code in adherence to the specified coding styles.

  Statistics


  Cite this article

[IEEE Style]

Y. Kim, J. Cheon, G. Woo, "Implementation of a Coding Style Checking System in an Online Judge System," The Transactions of the Korea Information Processing Society, vol. 13, no. 9, pp. 437-443, 2024. DOI: https://doi.org/10.3745/TKIPS.2024.13.9.437.

[ACM Style]

Yeonghun Kim, Junseok Cheon, and Gyun Woo. 2024. Implementation of a Coding Style Checking System in an Online Judge System. The Transactions of the Korea Information Processing Society, 13, 9, (2024), 437-443. DOI: https://doi.org/10.3745/TKIPS.2024.13.9.437.