• DocumentCode
    600256
  • Title

    Experimental assessment of software metrics using automated refactoring

  • Author

    Cinneide, M.O. ; Tratt, L. ; Harman, Mark ; Counsell, Steve ; Moghadam, I.H.

  • Author_Institution
    Sch. of Comput. Sci. & Inf., Univ. Coll. Dublin, Dublin, Ireland
  • fYear
    2012
  • fDate
    20-21 Sept. 2012
  • Firstpage
    49
  • Lastpage
    58
  • Abstract
    A large number of software metrics have been proposed in the literature, but there is little understanding of how these metrics relate to one another. We propose a novel experimental technique, based on search-based refactoring, to assess software metrics and to explore relationships between them. Our goal is not to improve the program being refactored, but to assess the software metrics that guide the automated refactoring through repeated refactoring experiments. We apply our approach to five popular cohesion metrics using eight real-world Java systems, involving 300,000 lines of code and over 3,000 refactorings. Our results demonstrate that cohesion metrics disagree with each other in 55% of cases, and show how our approach can be used to reveal novel and surprising insights into the software metrics under investigation.
  • Keywords
    Java; search problems; software maintenance; software metrics; automated refactoring; cohesion metrics; experimental assessment; experimental technique; real-world Java systems; search-based refactoring; software metrics; Abstracts; Educational institutions; Java; Software; Software metrics; Software metrics; refactoring; search based software engineering;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Empirical Software Engineering and Measurement (ESEM), 2012 ACM-IEEE International Symposium on
  • Conference_Location
    Lund
  • ISSN
    1938-6451
  • Print_ISBN
    978-1-4503-1056-7
  • Electronic_ISBN
    1938-6451
  • Type

    conf

  • DOI
    10.1145/2372251.2372260
  • Filename
    6475396