Inferring Test Models from Kate's Bug Reports Using Multi-objective Search

Models inferred from system execution logs can be used to test general system behaviour. In this paper, we infer test models from user bug reports that are written in the natural language. The inferred models can be used to derive new tests which further exercise the buggy features reported by users. Our search-based model inference approach considers three objectives: (1) to reduce the number of invalid user events generated (over approximation), (2) to reduce the number of unrecognised user events (under approximation), (3) to reduce the size of the model (readability). We apply our approach to 721 of Kate’s bug reports which contain the information required to reproduce the bugs. We compare our results to start-of-the-art KLFA tool. Our results show that our inferred models require 19 tests to reveal a bug on average, which is 98 times fewer than the models inferred by KLFA.

[1]  Leonardo Mariani,et al.  Automated Identification of Failure Causes in System Logs , 2008, 2008 19th International Symposium on Software Reliability Engineering (ISSRE).

[2]  Lothar Thiele,et al.  Multiobjective evolutionary algorithms: a comparative case study and the strength Pareto approach , 1999, IEEE Trans. Evol. Comput..

[3]  Leonardo Mariani,et al.  Automatic generation of software behavioral models , 2008, 2008 ACM/IEEE 30th International Conference on Software Engineering.

[4]  Ding Yuan,et al.  How do fixes become bugs? , 2011, ESEC/FSE '11.

[5]  Mark Harman,et al.  Finding the Optimal Balance between Over and Under Approximation of Models Inferred from Execution Logs , 2012, 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation.

[6]  Yuriy Brun,et al.  Using dynamic execution traces and program invariants to enhance behavioral model inference , 2010, 2010 ACM/IEEE 32nd International Conference on Software Engineering.

[7]  Petr Sojka,et al.  Software Framework for Topic Modelling with Large Corpora , 2010 .

[8]  N. Cliff Ordinal methods for behavioral data analysis , 1996 .