• DocumentCode
    251828
  • Title

    In medio stat virtus: Extract class refactoring through nash equilibria

  • Author

    Bavota, Gabriele ; Oliveto, Rocco ; De Lucia, Andrea ; Marcus, Andrian ; Gueheneuc, Yann-Gael ; Antoniol, Giuliano

  • Author_Institution
    Univ. of Salerno, Fisciano, Italy
  • fYear
    2014
  • fDate
    3-6 Feb. 2014
  • Firstpage
    214
  • Lastpage
    223
  • Abstract
    Extract Class refactoring (ECR) is used to divide large classes with low cohesion into smaller, more cohesive classes. However, splitting a class might result in increased coupling in the system due to new dependencies between the extracted classes. Thus, ECR requires that a software engineer identifies a trade off between cohesion and coupling. Such a trade off may be difficult to identify manually because of the high complexity of the class to be refactored. In this paper, we present an approach based on game theory to identify refactoring solutions that provide a compromise between the desired increment in cohesion and the undesired increment in coupling. The results of an empirical evaluation indicate that the approach identifies meaningful ECRs from a developer´s point-of-view.
  • Keywords
    game theory; software maintenance; ECR; Medio Stat Virtus; Nash equilibria; cohesive classes; extract class refactoring; game theory; Couplings; Games; Measurement; Nash equilibrium; Semantics; Software; Design Quality; Game Theory; Refactoring;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, Reengineering and Reverse Engineering (CSMR-WCRE), 2014 Software Evolution Week - IEEE Conference on
  • Conference_Location
    Antwerp
  • Type

    conf

  • DOI
    10.1109/CSMR-WCRE.2014.6747173
  • Filename
    6747173