Refactoring " Improving Coupling and Cohesion of Existing Code

  • Authors:
  • Bart Du Bois;Serge Demeyer;Jan Verelst

  • Affiliations:
  • Universiteit Antwerpen;Universiteit Antwerpen;Universiteit Antwerpen

  • Venue:
  • WCRE '04 Proceedings of the 11th Working Conference on Reverse Engineering
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

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 maintainer. 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.