A preliminary evaluation of text-based and dependency-based techniques for determining the origins of bugs

Davies, Steven and Roper, Marc and Wood, Murray; (2011) A preliminary evaluation of text-based and dependency-based techniques for determining the origins of bugs. In: 18th Working Conference on Reverse Engineering (WCRE 2011). IEEE, IRL, pp. 201-210. ISBN 978-1-4577-1948-6 (https://doi.org/10.1109/WCRE.2011.32)

[thumbnail of wcre11_paper.pdf]
Preview
PDF. Filename: wcre11_paper.pdf
Accepted Author Manuscript

Download (362kB)| Preview

Abstract

A crucial step in understanding the life cycle of software bugs is identifying their origin. Unfortunately this information is not usually recorded and recovering it at a later date is challenging. Recently two approaches have been developed that attempt to solve this problem: the text approach and the dependency approach. However only limited evaluation has been carried out on their effectiveness so far, partially due to the lack of data sets linking bugs to their introduction. Producing such data sets is both time-consuming and challenging due to the subjective nature of the problem. To improve this, the origins of 166 bugs in two open-source projects were manually identified. These were then compared to a simulation of the approaches. The results show that both approaches were partially successful across a variety of different types of bugs. They achieved a precision of 29%{79% and a recall of 40%{70%, and could perform better when combined. However there remain a number of challenges to overcome in future development|large commits, unrelated changes and large numbers of versions between the origin and the x all reduce their effectiveness.

ORCID iDs

Davies, Steven, Roper, Marc ORCID logoORCID: https://orcid.org/0000-0001-6794-4637 and Wood, Murray ORCID logoORCID: https://orcid.org/0000-0002-9449-1036;