A Quantitative Analysis of Open Source Software Code Quality: Insights from Metric Distributions

Shidai Jin,Mianmian Zhang, Y.Q. Guo, Yao He,Ziyuan Li,Bichao Chen, Bo Zhu,Yong Xia

arXiv (Cornell University)(2023)

引用 0|浏览0
暂无评分
摘要
Code quality is a construct in open-source software (OSS) with three dimensions: maintainability, reliability, and functionality. We identify 20 distinct metrics and categorize them into two types: 1) monotonic metrics that consistently influence code quality; and 2) non-monotonic metrics that lack a consistent relationship for evaluation. We propose a distribution-based method to evaluate both types, which demonstrates great explainability of OSS adoption. Our empirical analysis includes more than 36,460 OSS repositories and their raw metrics from SonarQube and CK. Our work contributes to the multi-dimensional construct of code quality and its metric measurements.
更多
查看译文
关键词
quality,metric distributions,software,quantitative
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要