Back to search

The University of Western Ontario

Evaluating the Likelihood of Bug Inducing Commits Using Metrics Trend Analysis

Abstract

dc:description.abstract

Continuous software engineering principles advocate a release-small, release-often process model, where new functionality is added to a system, in small increments and very frequently. In such a process model, every time a change is introduced it is important to identify as early as possible, whether the system has entered a state where faults are more likely to occur. In this paper, we present a method that is based on process, quality, and source code metrics to evaluate the likelihood that an imminent bug-inducing commit is highly probable. More specifically, the method analyzes the correlations and the rate of change of selected metrics. The findings from the technical debt dataset extracted data from SonarQube indicate that before bug-inducing commits, metrics that otherwise are not correlated, suddenly exhibit a high correlation or a high rate of change. This metric behavior can then be used for assessing an impending bug-inducing commit. The technique is programing language agnostic, based on metrics that can be extracted without the use of specialized parsers and can be applied to forewarn developers that a file, or a collection of files, has entered a state where faults are highly probable.

Degree

thesis:*
Name thesis:degree_name
M Sc
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
The University of Western Ontario
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Parul, Parul
Advisor dc:contributor.advisor
  • Kontogiannis, Konstantinos

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en_ca

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Western University
Base URL
uwo.scholaris.ca/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Parul, Parul. Evaluating the Likelihood of Bug Inducing Commits Using Metrics Trend Analysis. The University of Western Ontario, 2023. https://hdl.handle.net/20.500.14721/37083