Refactoring - Improving coupling and cohesion of existing code

被引:92
作者
Du Bois, B [1 ]
Demeyer, S [1 ]
Verelst, J [1 ]
机构
[1] Univ Antwerp, Lab ReEngn, B-2020 Antwerp, Belgium
来源
11TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS | 2004年
关键词
D O I
10.1109/WCRE.2004.33
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:144 / 151
页数:8
相关论文
共 13 条
  • [1] A Unified Framework for Cohesion Measurement in Object-Oriented Systems
    Briand L.C.
    Daly J.W.
    Wüst J.
    [J]. Empirical Software Engineering, 1998, 3 (1) : 65 - 117
  • [2] Modeling development effort in object-oriented systems using design properties
    Briand, LC
    Wüst, J
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (11) : 963 - 986
  • [3] A unified framework for coupling measurement in object-oriented systems
    Briand, LC
    Daly, JW
    Wüst, JK
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (01) : 91 - 121
  • [4] DEMEYER S, 2000, P INT C OOPSLA 2000
  • [5] DUBOIS B, 2004, IN PRESS INT WORKSH
  • [6] Fowler M., 2018, Refactoring: improving the design of existing code, V2nd
  • [7] A quantitative evaluation of maintainability enhancement by refactoring
    Kataoka, Y
    Imai, T
    Andou, H
    Fukaya, T
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2002, : 576 - 585
  • [8] Polymetric views - A lightweight visual approach to reverse engineering
    Lanza, M
    Ducasse, S
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (09) : 782 - 795
  • [9] Sahraoui HA, 2000, PROC IEEE INT CONF S, P154, DOI 10.1109/ICSM.2000.883034
  • [10] Simon F, 2001, FIFTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, P30, DOI 10.1109/CSMR.2001.914965