Large-Scale Identification and Analysis of Factors Impacting Simple Bug Resolution Times in Open Source Software Repositories
Open Access
- 28 February 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (5) , 3150
Abstract
One of the most prominent issues the ever-growing open-source software community faces is the abundance of buggy code. Well-established version control systems and repository hosting services such as GitHub and Maven provide a checks-and-balances structure to minimize the amount of buggy code introduced. Although these platforms are effective in mitigating the problem, it still remains. To further the efforts toward a more effective and quicker response to bugs, we must understand the factors that affect the time it takes to fix one. We apply a custom traversal algorithm to commits made for open source repositories to determine when “simple stupid bugs” were first introduced to projects and explore the factors that drive the time it takes to fix them. Using the commit history from the main development branch, we are able to identify the commit that first introduced 13 different types of simple stupid bugs in 617 of the top Java projects on GitHub. Leveraging a statistical survival model and other non-parametric statistical tests, we found that there were two main categories of categorical variables that affect a bug’s life; Time Factors and Author Factors. We find that bugs are fixed quicker if they are introduced and resolved by the same developer. Further, we discuss how the day of the week and time of day a buggy code was written and fixed affects its resolution time. These findings will provide vital insight to help the open-source community mitigate the abundance of code and can be used in future research to aid in bug-finding programs.Keywords
This publication has 29 references indexed in Scilit:
- Targeted Automatic Integer Overflow Discovery Using Goal-Directed Conditional Branch Enforcement2015
- How do software engineers understand code changes?2012
- Studying the fix-time for bugs in large open source projects2011
- Survival analysis on the duration of open source projectsInformation and Software Technology, 2010
- Mann‐Whitney U Test2010
- Toward an understanding of bug fix patternsEmpirical Software Engineering, 2008
- Empirical Analysis of the Bug Fixing Process in Open Source Projects2008
- A statistical framework for analyzing the duration of software projectsEmpirical Software Engineering, 2007
- How long did it take to fix bugs?2006
- Logistic Regression, Survival Analysis, and the Kaplan-Meier CurveJournal of the American Statistical Association, 1988