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

07/22/2023
by   Siyuan Jin, et al.
0

Code quality is a crucial construct in open-source software (OSS) with three dimensions: maintainability, reliability, and functionality. To accurately measure them, we divide 20 distinct metrics into two types: 1) threshold-type metrics that influence code quality in a monotonic manner; 2) non-threshold-type metrics that lack a monotonic relationship to evaluate. We propose a distribution-based method to provide scores for metrics, which demonstrates great explainability on OSS adoption. Our empirical analysis includes more than 36,460 OSS projects and their raw metrics from SonarQube and CK. Our work contributes to the understanding of the multi-dimensional construct of code quality and its metric measurements.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/02/2017

The impact of software complexity on cost and quality - A comparative analysis between Open source and proprietary software

Early prediction of software quality is important for better software pl...
research
08/30/2019

An Empirical Study of the Relationships between Code Readability and Software Complexity

Code readability and software complexity are important software quality ...
research
12/22/2020

Do We Need Improved Code Quality Metrics?

The software development community has been using code quality metrics f...
research
11/11/2020

Guiding user annotations for units-of-measure verification

This extended abstract reports on previous work of the CamFort project i...
research
06/29/2020

New developer metrics: Are comments as crucial as code contributions?

Open-source code development has become widespread in recent years. As a...
research
12/16/2020

The Mind Is a Powerful Place: How Showing Code Comprehensibility Metrics Influences Code Understanding

Static code analysis tools and integrated development environments prese...
research
10/05/2020

UNIFUZZ: A Holistic and Pragmatic Metrics-Driven Platform for Evaluating Fuzzers

A flurry of fuzzing tools (fuzzers) have been proposed in the literature...

Please sign up or login with your details

Forgot password? Click here to reset