paper

On the Influence of Modification Timespan Weightings in the Location of Bugs in Models

Abstract

Bug location is a common task in Software Engineering, specially when maintaining and evolving software products. When locating bugs in code, results depend greatly on the way code modification timespans are weighted. However, the influence of timespan weightings on bug location in models has not received enough attention yet. Throughout this paper, we analyze the influence of several timespan weightings on bug location in models. These timespan weightings guide an evolutionary algorithm, which returns a ranking of model fragments relevant to the solution of a bug. We evaluated our timespan weightings in a real-world industrial case study, by measuring the results in terms of recall, precision, and F-measure. Results show that the use of the most recent timespan model modifications provide the best results in our study. We also performed a statistical analysis to provide evidence of the significance of the results.

Acknowledgements

  • VARIAMOS: Ministry of Economy and Competitiveness (MINECO) through the Spanish National R+D+i Plan and ERDF (FEDER) funds under the project (Model-Driven Variability Extraction for Software Product Line Adoption) under Grant TIN2015-64397-R