• DocumentCode
    3442577
  • Title

    Suggesting Extract Class Refactoring Opportunities by Measuring Strength of Method Interactions

  • Author

    Pappalardo, Giuseppe ; Tramontana, Emiliano

  • Author_Institution
    Dipt. di Mat. e Inf., Univ. of Catania, Catania, Italy
  • Volume
    2
  • fYear
    2013
  • fDate
    2-5 Dec. 2013
  • Firstpage
    105
  • Lastpage
    110
  • Abstract
    For improving the modularity of a large software system, metrics can be valuable to help finding refactoring opportunities for classes. We define a novel metric that is intended to suggest how closely connected are the elements of a class. The metric characterises the strength of the coupling between methods of a class, based on invocations and the size of the parameters involved, as well as attribute accesses. The assessment of the strength of interactions turns out to be valuable in providing an indication on the possible changes that classes need to become more modular and prone to be reused. According to the computed metric and the assessment of system-wide relationships between classes, we are able to suggest Extract Class refactoring opportunities. The capability of the proposed approach to evaluate object-oriented systems is demonstrated by analysing a large software system.
  • Keywords
    object-oriented methods; software metrics; extract class refactoring opportunities; large software system analysis; method interactions strength measurement; object-oriented systems; software metrics; Complexity theory; Couplings; Open source software; Receivers; Software measurement; Software systems; metrics; modularity; refactoring;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference (APSEC), 2013 20th Asia-Pacific
  • Conference_Location
    Bangkok
  • ISSN
    1530-1362
  • Print_ISBN
    978-1-4799-2143-0
  • Type

    conf

  • DOI
    10.1109/APSEC.2013.123
  • Filename
    6754362