Print Email Facebook Twitter Removing Redundant Statements in Amplified Test Cases Title Removing Redundant Statements in Amplified Test Cases Author Oosterbroek, W. (TU Delft Electrical Engineering, Mathematics and Computer Science) Brandt, C.E. (TU Delft Software Engineering) Zaidman, A.E. (TU Delft Software Engineering) Faculty Electrical Engineering, Mathematics and Computer Science Date 2021 Abstract Test amplification generates new tests by modifying existing, manually written tests.Up until now, this process preserves statements that were relevant for the original test case but are no longer needed for the behavior of the new test case.These unnecessary statements impact the readability of the tests in question.As a part of the effort to make amplified test cases more readable, we investigate dynamic slicing, taint analysis and static analysis as approaches to remove redundant statements.We design and evaluate a static analysis approach that we implemented as part of the test amplification tool DSpot.Our empirical evaluation on 274 amplified test cases shows that the implemented approach works well: while being rudimentary, it is able to remove a significant portion of the redundant statements in the amplified test cases.While the removal of the statements themselves is fast, verifying that the tests still work as intended through mutation testing is still resource-intensive. To reference this document use: http://resolver.tudelft.nl/uuid:33fb7ad6-110a-464c-864e-38a2608d37a0 DOI https://doi.org/10.1109/SCAM52516.2021.00037 Publisher IEEE Computer Society - Conference Publishing Services Embargo date 2022-07-01 ISBN 978-1-6654-4897-0 Source 2021 IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) Series Proceedings - IEEE 21st International Working Conference on Source Code Analysis and Manipulation, SCAM 2021 Bibliographical note Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public. Part of collection Institutional Repository Document type conference paper Rights © 2021 W. Oosterbroek, C.E. Brandt, A.E. Zaidman Files PDF Removing_Redundant_Statem ... _Cases.pdf 1.02 MB Close viewer /islandora/object/uuid:33fb7ad6-110a-464c-864e-38a2608d37a0/datastream/OBJ/view