Saved in:
Bibliographic Details
Main Authors: Kupari, Alvari, Giacaman, Nasser, Terragni, Valerio
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.09832
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918289998872576
author Kupari, Alvari
Giacaman, Nasser
Terragni, Valerio
author_facet Kupari, Alvari
Giacaman, Nasser
Terragni, Valerio
contents Following code style conventions in software projects is essential for maintaining overall code quality. Adhering to these conventions improves maintainability, understandability, and extensibility. Additionally, following best practices during software development enhances performance and reduces the likelihood of errors. This paper analyzes 1,036 popular open-source JAVA projects on GITHUB to study how code style and programming practices are adopted and evolve over time, examining their prevalence and the most common violations. Additionally, we study a subset of active repositories on a monthly basis to track changes in adherence to coding standards over time. We found widespread violations across repositories, with Javadoc and Naming violations being the most common. We also found a significant number of violations of the GOOGLE Java Style Guide in categories often missed by modern static analysis tools. Furthermore, repositories claiming to follow code-style practices exhibited slightly higher overall adherence to code-style and best-practices. The results provide valuable insights into the adoption of code style and programming practices, highlighting key areas for improvement in the open-source development community. Furthermore, the paper identifies important lessons learned and suggests future directions for improving code quality in JAVA projects.
format Preprint
id arxiv_https___arxiv_org_abs_2601_09832
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects
Kupari, Alvari
Giacaman, Nasser
Terragni, Valerio
Software Engineering
Following code style conventions in software projects is essential for maintaining overall code quality. Adhering to these conventions improves maintainability, understandability, and extensibility. Additionally, following best practices during software development enhances performance and reduces the likelihood of errors. This paper analyzes 1,036 popular open-source JAVA projects on GITHUB to study how code style and programming practices are adopted and evolve over time, examining their prevalence and the most common violations. Additionally, we study a subset of active repositories on a monthly basis to track changes in adherence to coding standards over time. We found widespread violations across repositories, with Javadoc and Naming violations being the most common. We also found a significant number of violations of the GOOGLE Java Style Guide in categories often missed by modern static analysis tools. Furthermore, repositories claiming to follow code-style practices exhibited slightly higher overall adherence to code-style and best-practices. The results provide valuable insights into the adoption of code style and programming practices, highlighting key areas for improvement in the open-source development community. Furthermore, the paper identifies important lessons learned and suggests future directions for improving code quality in JAVA projects.
title Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects
topic Software Engineering
url https://arxiv.org/abs/2601.09832