[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-672874-105":59,"doc-detail-672874-en":130,"doc-similar-672874":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","adoption-and-evolution-of-code-style-and-best-programming-practices-in-open-source-projects","Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects","","Following code style conventions in software projects is essential to sustain code quality by improving maintainability, understandability, and extensibility while reducing defects and performance risks. This paper analyzes 1,036 popular open-source JAVA projects on GITHUB, measuring how code style and best practices are adopted and evolve, including the prevalence of common violations. It also tracks changes in active repositories monthly, highlighting frequent Javadoc and Naming issues and gaps missed by modern static analysis, with guidance for improvement.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/adoption-and-evolution-of-code-style-and-best-programming-practices-in-open-source-projects/672874/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/adoption-and-evolution-of-code-style-and-best-programming-practices-in-open-source-projects/672874.png","ImageObject",300,407,{"name":92,"@type":93},"Elsa","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-10","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the purpose of this paper?","Question",{"text":112,"@type":113},"To study how code style conventions and best programming practices are adopted and evolve in open-source JAVA projects, and to identify the most common violations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How was the empirical study conducted?",{"text":117,"@type":113},"The authors run the extended GRADESTYLE tool on 1,036 popular JAVA repositories from GITHUB, and analyze a subset of active repositories monthly over the past year to track change over time.",{"name":119,"@type":110,"acceptedAnswer":120},"What code style violations are most common?",{"text":121,"@type":113},"The study finds widespread violations, with Javadoc and Naming violations being among the most frequently violated categories, including many cases related to the GOOGLE Java Style Guide.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},672874,1793611845,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":41,"preview_page_count":19,"preview_urls":144},137455077381,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects  \nAlvari Kupari  \nUniversity of Auckland Auckland, New Zealand [akup390@aucklanduni.ac.nz](akup390@aucklanduni.ac.nz)  \nNasser Giacaman  \nUniversity of Auckland Auckland, New Zealand [n.giacaman@auckland.ac.nz](n.giacaman@auckland.ac.nz)  \nValerio Terragni  \nUniversity of Auckland Auckland, New Zealand [v.terragni@auckland.ac.nz](v.terragni@auckland.ac.nz)  \narXiv :2601 .09832v 1 [ cs . SE] 14 Jan 2026  \nAbstract—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.  \nIndex Terms—Software quality, Code style conventions and standards, Software maintainability, Open-source software, JAVA programming, Static analysis, Software evolution, Mining software repositories, Software development practices, Software metrics.  \nI. INTRODUCTION  \nFollowing code style conventions is essential for maintaining high-quality software [1] . Proper code style improves readability, maintainability, and consistency, making it easier for developers to collaborate and extend software projects [2] . Given the prominent role of open-source software [3], understanding the degree to which projects adhere to established style conventions is increasingly important.  \nPrevious studies on code style and programming practice adoption [3]–[8] have been limited in scale. Many focused on small datasets and small number of code-style checkers. Additionally, it remains unclear how adherence to code-style evolves over time or whether explicitly claiming adherence in documentation leads to better code-style.  \nTo address these gaps, this paper presents a large-scale empirical study on JAVA code style and best programming practice adherence. Specifically, we rely on GOOGLE’s JAVA Style Guide [9], which is widely considered the most popular JAVA coding convention. To conduct this study, we extended  \nGRADESTYLE [10], an open-source tool we previously developed as a style checker for assessing the code style of student assignments. Our extension allows the tool to analyze open-source repositories. We also implemented eight new code style and programming practice checkers based on GOOGLE’s JAVA Style Guide to improve the tool’s ability to assess realworld projects. To the best of our knowledge, the extended version of GRADESTYLE provides the most comprehensive detection of GOOGLE JAVA code style violations available. Indeed, commercial tools like PMD and CHECKSTYLE miss important violations [10] .  \nWe analyzed 1,036 open-source JAVA repositories from GITHUB, selected based on their popularity (ranked by stars) . By running GRADESTYLE on these repositories, we studied the adopti","cbCaicZLPnUlGdOQ","https://ap.wps.com/l/cbCaicZLPnUlGdOQ","pdf",416849,12,"English","# Introduction\n## Motivation and research gaps\n## Study design and methods\n## Dataset and evaluation approach\n## Key findings and contributions","[{\"question\":\"What is the purpose of this paper?\",\"answer\":\"To study how code style conventions and best programming practices are adopted and evolve in open-source JAVA projects, and to identify the most common violations.\"},{\"question\":\"How was the empirical study conducted?\",\"answer\":\"The authors run the extended GRADESTYLE tool on 1,036 popular JAVA repositories from GITHUB, and analyze a subset of active repositories monthly over the past year to track change over time.\"},{\"question\":\"What code style violations are most common?\",\"answer\":\"The study finds widespread violations, with Javadoc and Naming violations being among the most frequently violated categories, including many cases related to the GOOGLE Java Style Guide.\"}]","Adoption and Evolution of Code Style and Best Programming Practices in Open-Source Projects | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/26942d4b0897f96f19e3834f00ca2a30.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/289a855ff86476885b837e4457e4719f.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/691b0a5a117de4e2bd36645485879648.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fadedc01a28d116dcb428d75c1eb6a08.webp",980,1268,{"list":162,"token":66},[163,170,176,183,189,196,202,208,215,221],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},83789,"An Evaluation of Role-Based Multi-Agent Code Generation on Repository-Scale Problems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809095859/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=JruupSgtkVTvOtglEDvHDTN4w8E%3D","an-evaluation-of-role-based-multi-agent-code-generation-on-repository-scale-problems",31,1784190409,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":81,"category_name":40,"create_tm":175},693003,"Defects4REST: A Benchmark of Real-World Defects to Enable Controlled Testing and Debugging Studies for REST APIs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005040266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=fDpHd%2Bz1RoSx0BQAlu7rpEqDfoE%3D","defects4rest-a-benchmark-of-real-world-defects-to-enable-controlled-testing-and-debugging-studies-for-rest-apis",1794244974,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},83570,"RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808868669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=HUD82DXIIKShV7oIQvzr5EJ11MY%3D","reporescue-an-empirical-study-of-llm-agents-on-whole-repository-compatibility-rescue",32,1784188910,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":81,"category_name":40,"create_tm":188},696156,"Building Robust REST APIs with Spring Boot - A Practical Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009756946/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=Nrob8l6q%2B1z6%2BQ2rgICiGyHUQVU%3D","building-robust-rest-apis-with-spring-boot-a-practical-guide",1794431611,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},85649,"Deforking the World of Code: A Project-Provenance Map that Recovers Cross-Forge Fork Families that Platform Graphs Cannot See","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809339081/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=BuQmOT6XLwtTWgVBnn7sJeUbEd8%3D","deforking-the-world-of-code-a-project-provenance-map-that-recovers-cross-forge-fork-families-that-platform-graphs-cannot-see",27,1784205349,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":194,"category_name":40,"create_tm":201},82857,"An Exploration of Agentic Information Fusion for Test Maintenance Prediction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808915052/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=RjytapUCxh%2BOVPYQv841266GrMk%3D","an-exploration-of-agentic-information-fusion-for-test-maintenance-prediction",1784183491,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":34,"category_name":40,"create_tm":207},489415,"GitHub Template Repositories - Served Domains, Maintenance, and Practitioner Guidelines","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927000377/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=rimwtIsYKSzAIQ2mwVDemU9n7rA%3D","github-template-repositories-served-domains-maintenance-and-practitioner-guidelines",1790822870,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},84831,"Scientific Code Search at Scale: A Multi-Domain Dataset and Benchmark","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809072811/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=iKuFLF7OnXmCPDY5R6ghpREUuOM%3D","scientific-code-search-at-scale-a-multi-domain-dataset-and-benchmark",29,1784198593,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":39,"category_name":40,"create_tm":220},423016,"Mining Programming Language Vocabularies from Source Code - Proceedings","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922611455/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=gySjdgneZDrl4k1j4rcTm33XGPE%3D","mining-programming-language-vocabularies-from-source-code-proceedings",1790629755,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":226,"category_name":40,"create_tm":227},118768,"Frouros - A Python library for drift detection in machine learning systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834872625/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=gkHz5dkx1OyAXznbUSJ1HqdtsUg%3D","frouros-a-python-library-for-drift-detection-in-machine-learning-systems",22,1785720133]