The Corrective Commit Probability Code Quality Metric

07/21/2020
by   Idan Amit, et al.
0

We present a code quality metric, Corrective Commit Probability (CCP), measuring the probability that a commit reflects corrective maintenance. We show that this metric agrees with developers' concept of quality, informative, and stable. Corrective commits are identified by applying a linguistic model to the commit messages. Corrective commits are identified by applying a linguistic model to the commit messages. We compute the CCP of all large active GitHub projects (7,557 projects with at least 200 commits in 2019). This leads to the creation of a quality scale, suggesting that the bottom 10 spend at least 6 times more effort on fixing bugs than the top 10 project attributes shows that lower CCP (higher quality) is associated with smaller files, lower coupling, use of languages like JavaScript and C# as opposed to PHP and C++, fewer developers, lower developer churn, better onboarding, and better productivity. Among other things these results support the "Quality is Free" claim, and suggest that achieving higher quality need not require higher expenses.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/09/2020

Is this GitHub Project Maintained? Measuring the Level of Maintenance Activity of Open-Source Projects

Context: GitHub hosts an impressive number of high-quality OSS projects....
research
02/07/2022

What Makes a Good Commit Message?

A key issue in collaborative software development is communication among...
research
03/21/2021

Understanding Code Smell Detection via Code Review: A Study of the OpenStack Community

Code review plays an important role in software quality control. A typic...
research
05/01/2023

Breaks and Code Quality: Investigating the Impact of Forgetting on Software Development. A Registered Report

Developers interrupting their participation in a project might slowly fo...
research
03/08/2021

Will You Come Back to Contribute? Investigating the Inactivity of OSS Core Developers in GitHub

Several Open Source Software (OSS) projects depend on the continuity of ...
research
03/02/2021

Follow Your Nose – Which Code Smells are Worth Chasing?

The common use case of code smells assumes causality: Identify a smell, ...
research
09/19/2020

Toward the Automatic Classification of Self-Affirmed Refactoring

The concept of Self-Affirmed Refactoring (SAR) was introduced to explore...

Please sign up or login with your details

Forgot password? Click here to reset