Title | Bulk Fixing Coding Issues and Its Effects on Software Quality: Is It Worth Refactoring? |
Publication Type | Conference Paper |
Year of Publication | 2014 |
Authors | Szőke G, Antal G, Nagy C, Ferenc R, Gyimóthy T |
Conference Name | Proceedings of the 14th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2014) |
Pagination | 95–104 |
Date Published | sep |
Publisher | IEEE Computer Society |
Conference Location | Victoria, British Columbia, Canada |
Keywords | Antipatterns, coding issues, ISO/IEC 25010, maintainability, software quality |
Abstract | The quality of a software system is mostly defined by its source code. Software evolves continuously, it gets modified, enhanced, and new requirements always arise. If we do not spend time periodically on improving our source code, it becomes messy and its quality will decrease inevitably. Literature tells us that we can improve the quality of our software product by regularly refactoring it. But does refactoring really increase software quality? Can it happen that a refactoring decreases the quality? Is it possible to recognize the change in quality caused by a single refactoring operation? In our paper, we seek answers to these questions in a case study of refactoring large-scale proprietary software systems. We analyzed the source code of 5 systems, and measured the quality of several revisions for a period of time. We analyzed 2 million lines of code and identified nearly 200 refactoring commits which fixed over 500 coding issues. We found that one single refactoring only makes a small change (sometimes even decreases quality), but when we do them in blocks, we can significantly increase quality, which can result not only in the local, but also in the global improvement of the code. |
URL | http://ieeexplore.ieee.org/document/6975643/ |
DOI | 10.1109/SCAM.2014.18 |
Bulk Fixing Coding Issues and Its Effects on Software Quality: Is It Worth Refactoring?
Page last modified: January 23, 2018