TY - GEN
T1 - An Exploratory Study of the Code Quality of Open-Source JavaScript Projects
AU - Mohammad, Suzad
AU - Jobair, Abdullah Al
AU - Abedeen, Iftekharul
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
PY - 2026
Y1 - 2026
N2 - JavaScript (JS) has been the most dominant language in the programming world, extending its use across diverse domains. Despite the wide usage of JavaScript, a limited study highlights the programming trends and code quality metrics and their influence on one another. Addressing this gap, we conduct an exploratory study of the code quality of open-source JavaScript projects to examine code practices across various project sizes and developer experience levels, uncovering the underlying factors impacting code quality metrics and their influence on development. We choose 200 open-source projects from GitHub, select six code evaluation tools, and perform in-depth code analysis using 10 code metrics. The analyzed code metrics include maintainability, average estimated error, lint error, cyclomatic complexity, cognitive complexity, code smell, code duplication, issue density, Line of Code (LOC), and code quality. Furthermore, we conduct an analysis of 69 open-source Continuous Integration and Continuous Deployment (CI/CD) implemented projects and compare how CI/CD practices influence code metrics. It becomes evident from the results that with the increment of project size, maintainability tends to decrease, and average estimated error, lint error, cyclomatic complexity, cognitive complexity, and code smell increase. The more experience a developer has, the better the quality of code produced. Furthermore, projects implementing a CI/CD pipeline are also seen to have better code quality metrics, indicating a direct relation between the implementation of CI/CD practices and improved software quality. This study contributes to bridging the gap between academic research and practical software development by uncovering concealed insights for better development practices. Moreover, by highlighting the recent CI/CD trends and their impact on software development, the study opens up future directions of relevant research in this domain.
AB - JavaScript (JS) has been the most dominant language in the programming world, extending its use across diverse domains. Despite the wide usage of JavaScript, a limited study highlights the programming trends and code quality metrics and their influence on one another. Addressing this gap, we conduct an exploratory study of the code quality of open-source JavaScript projects to examine code practices across various project sizes and developer experience levels, uncovering the underlying factors impacting code quality metrics and their influence on development. We choose 200 open-source projects from GitHub, select six code evaluation tools, and perform in-depth code analysis using 10 code metrics. The analyzed code metrics include maintainability, average estimated error, lint error, cyclomatic complexity, cognitive complexity, code smell, code duplication, issue density, Line of Code (LOC), and code quality. Furthermore, we conduct an analysis of 69 open-source Continuous Integration and Continuous Deployment (CI/CD) implemented projects and compare how CI/CD practices influence code metrics. It becomes evident from the results that with the increment of project size, maintainability tends to decrease, and average estimated error, lint error, cyclomatic complexity, cognitive complexity, and code smell increase. The more experience a developer has, the better the quality of code produced. Furthermore, projects implementing a CI/CD pipeline are also seen to have better code quality metrics, indicating a direct relation between the implementation of CI/CD practices and improved software quality. This study contributes to bridging the gap between academic research and practical software development by uncovering concealed insights for better development practices. Moreover, by highlighting the recent CI/CD trends and their impact on software development, the study opens up future directions of relevant research in this domain.
KW - CI/CD
KW - Code duplication
KW - Code quality
KW - Code smell
KW - Cognitive complexity
KW - Cyclomatic complexity
KW - Developer Experience
KW - GitHub
KW - JavaScript
KW - Maintainability
KW - Open-source software
KW - Project size
KW - Software metric
UR - https://www.scopus.com/pages/publications/105039013385
U2 - 10.1007/978-3-032-19050-5_12
DO - 10.1007/978-3-032-19050-5_12
M3 - Conference contribution
AN - SCOPUS:105039013385
SN - 9783032190499
T3 - Communications in Computer and Information Science
SP - 242
EP - 272
BT - Evaluation of Novel Approaches to Software Engineering - 19th International Conference, ENASE 2024, Revised Selected Papers
A2 - Maciaszek, Leszek
A2 - Kaindl, Hermann
A2 - Mannion, Mike
PB - Springer Science and Business Media Deutschland GmbH
T2 - 19th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2024
Y2 - 28 April 2024 through 29 April 2024
ER -