Print Email Facebook Twitter Removing redundant statements in amplified test cases Title Removing redundant statements in amplified test cases Author Oosterbroek, Wessel (TU Delft Electrical Engineering, Mathematics and Computer Science; TU Delft Software Technology) Contributor Brandt, C.E. (mentor) Zaidman, A.E. (graduation committee) Pawełczak, Przemysław (graduation committee) Degree granting institution Delft University of Technology Programme Computer Science and Engineering Project CSE3000 Research Project Date 2021-06-30 Abstract Amplified test cases created by DSpot and TestCube often contain unnecessary statements that impact the readability of the tests in question. As a part of the effort to make these amplified test cases more developer-friendly, we investigate (dynamic) slicing, taint analysis and static analysis as approaches to remove redundant statements. In addition, we evaluate a simple static analysisapproach that we implemented into DSpot. Our results show 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. A problem with removing redundant statements is the fact that it, at least for the approaches we discuss in this paper, will take a significant amount of time depending on the size and quality of the original tests. While the removal of the statements themselves is relatively fast, especially when using our implemented static analysis approach, verifying that the tests still work as intended through mutation testing is resource-intensive. To reference this document use: http://resolver.tudelft.nl/uuid:f0b28278-800a-423e-8d6c-1001de249576 Part of collection Student theses Document type bachelor thesis Rights © 2021 Wessel Oosterbroek Files PDF Removing_redundant_statem ... _cases.pdf 565.44 KB Close viewer /islandora/object/uuid:f0b28278-800a-423e-8d6c-1001de249576/datastream/OBJ/view