Selecting Bug-prone Components to Study the Effectiveness of Reengineering and Unit Testing:
Year: 2013
Type: dissertation
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.
Author: Johan Swart
Institution: Delft University of Technology
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W103941664
