English

Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects

Software Engineering 2026-01-16 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2601.09832,
  title  = {Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects},
  author = {Alvari Kupari and Nasser Giacaman and Valerio Terragni},
  journal= {arXiv preprint arXiv:2601.09832},
  year   = {2026}
}

Comments

Published in IEEE International Conference on Software Maintenance and Evolution (ICSME 2025). Authors' version

R2 v1 2026-07-01T09:04:53.705Z