Print Email Facebook Twitter Selecting Bug-prone Components to Study the Effectiveness of Reengineering and Unit Testing Title Selecting Bug-prone Components to Study the Effectiveness of Reengineering and Unit Testing Author De Swart, J. Contributor Zaidman, A.E. (mentor) Van Deursen, A. (mentor) Vengina, W. (mentor) Faculty Electrical Engineering, Mathematics and Computer Science Department Software Technology Programme Software Engineering Research Group (SERG) Date 2013-08-28 Abstract Many software companies see their code grow into legacy code. Making changes to such code is risky, as existing functionality elsewhere can easily be broken. By reengineering the code and covering it with unit tests, the code can be brought back into a maintainable state. In this study we measure the effect of reengineering and unit testing code on the number of fixed bugs. We do so by comparing the predicted and actual number of bugs for a component, after reengineering and unit testing it. We predict the bug-proneness of components by mining the bug repository, and provide and evaluate an approach for selecting the most feasible components by including the estimated test effort. Initial results indicate that the number of bug fixes decreases after a bug-prone component has been reengineered and covered with unit tests. We conclude that our approach is able to predict the bug-proneness of components, and successfully ranks them by feasibility. But in order to formulate a final answer on the effectiveness, more data is needed. Subject bugpredictionreengineeringunit testingbug-proneness To reference this document use: http://resolver.tudelft.nl/uuid:fd4944a9-b82c-4df3-a8ef-c5a9f13f57c4 Part of collection Student theses Document type master thesis Rights (c) 2013 De Swart, J. Files PDF Jerry_de_Swart_-_Selectin ... esting.pdf 2.63 MB Close viewer /islandora/object/uuid:fd4944a9-b82c-4df3-a8ef-c5a9f13f57c4/datastream/OBJ/view