Print Email Facebook Twitter Search-based crash reproduction using behavioural model seeding Title Search-based crash reproduction using behavioural model seeding Author Derakhshanfar, P. (TU Delft Software Engineering) Devroey, Xavier (TU Delft Software Engineering) Perrouin, Gilles (University of Namur) Zaidman, A.E. (TU Delft Software Engineering) van Deursen, A. (TU Delft Software Technology) Department Software Technology Date 2020 Abstract Search-based crash reproduction approaches assist developers during debugging by generating a test case, which reproduces a crash given its stack trace. One of the fundamental steps of this approach is creating objects needed to trigger the crash. One way to overcome this limitation is seeding: using information about the application during the search process. With seeding, the existing usages of classes can be used in the search process to produce realistic sequences of method calls, which create the required objects. In this study, we introduce behavioural model seeding: a new seeding method that learns class usages from both the system under test and existing test cases. Learned usages are then synthesized in a behavioural model (state machine). Then, this model serves to guide the evolutionary process. To assess behavioural model seeding, we evaluate it against test seeding (the state-of-the-art technique for seeding realistic objects) and no seeding (without seeding any class usage). For this evaluation, we use a benchmark of 122 hard-to-reproduce crashes stemming from six open-source projects. Our results indicate that behavioural model seeding outperforms both test seeding and no seeding by a minimum of 6% without any notable negative impact on efficiency. Subject crash reproductionsearch-based software testingseed learning To reference this document use: http://resolver.tudelft.nl/uuid:1ff287e3-c45a-4b67-8b5c-84a5aba02aa9 DOI https://doi.org/10.1002/stvr.1733 ISSN 0960-0833 Source Software Testing, Verification and Reliability, 30 (3) Part of collection Institutional Repository Document type journal article Rights © 2020 P. Derakhshanfar, Xavier Devroey, Gilles Perrouin, A.E. Zaidman, A. van Deursen Files PDF stvr.1733_1.pdf 1.08 MB Close viewer /islandora/object/uuid:1ff287e3-c45a-4b67-8b5c-84a5aba02aa9/datastream/OBJ/view