• DocumentCode
    647214
  • Title

    Recommending Move Method refactorings using dependency sets

  • Author

    Sales, Vicent ; Terra, Ricardo ; Miranda, Luis Fernando ; Valente, Marco Tulio

  • Author_Institution
    Fed. Univ. of Minas, Brazil
  • fYear
    2013
  • fDate
    14-17 Oct. 2013
  • Firstpage
    232
  • Lastpage
    241
  • Abstract
    Methods implemented in incorrect classes are common bad smells in object-oriented systems, especially in the case of systems maintained and evolved for years. To tackle this design flaw, we propose a novel approach that recommends Move Method refactorings based on the set of static dependencies established by a method. More specifically, our approach compares the similarity of the dependencies established by a source method with the dependencies established by the methods in possible target classes. We evaluated our approach using systems from a compiled version of the Qualitas Corpus. We report that our approach provides an average precision of 60.63% and an average recall of 81.07%. Such results are, respectively, 129% and 49% better than the results achieved by JDeodorant, a well-known move method recommendation system.
  • Keywords
    object-oriented programming; program diagnostics; recommender systems; software maintenance; JDeodorant; Qualitas Corpus; dependency sets; move method recommendation system; move method refactorings; object-oriented systems; static dependencies; Computer architecture; Couplings; Educational institutions; Feature extraction; System analysis and design; Time measurement; Dependency sets; Move method refactorings; Recommendation systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2013 20th Working Conference on
  • Conference_Location
    Koblenz
  • Type

    conf

  • DOI
    10.1109/WCRE.2013.6671298
  • Filename
    6671298