Title :
Refactoring - improving coupling and cohesion of existing code
Author :
Du Bois, Bart ; Demeyer, Serge ; Verelst, Jan
Author_Institution :
Lab On ReEng., Univ. Antwerpen, Belgium
Abstract :
Refactorings are widely recognised as ways to improve the internal structure of object-oriented software while maintaining its external behaviour. Unfortunately, refactorings concentrate on the treatment of symptoms (the so called code-smells), thus improvements depend a lot on the skills of the maintained coupling and cohesion on the other hand are quality attributes which are generally recognized as being among the most likely quantifiable indicators for software maintainability. Therefore, this paper analyzes how refactorings manipulate coupling/cohesion characteristics, and how to identify refactoring opportunities that improve these characteristics. As such we provide practical guidelines for the optimal usage of refactoring in a software maintenance process.
Keywords :
object-oriented programming; software maintenance; code cohesion; code coupling; code-smells; object-oriented software; refactoring; software maintenance; Application software; Computer architecture; Concrete; Guidelines; Information systems; Open source software; Principal component analysis; Software maintenance; Software quality; Software systems;
Conference_Titel :
Reverse Engineering, 2004. Proceedings. 11th Working Conference on
Print_ISBN :
0-7695-2243-2
DOI :
10.1109/WCRE.2004.33