Experimental Assessment of Software Metrics Using Automated Refactoring

被引:0
|
作者
Cinneide, Mel O. [1 ]
Tratt, Laurence [2 ]
Harman, Mark [3 ]
Counsell, Steve [4 ]
Moghadam, Iman Hemati [1 ]
机构
[1] Univ Coll Dublin, Sch Comp Sci & Informat, Dublin, Ireland
[2] Kings Coll London, Dept Informat, London, England
[3] UCL, Dept Comp Sci, London, England
[4] Brunel Univ, Dept Informat Syst & Comp, Uxbridge UB8 3PH, Middx, England
关键词
Software metrics; search based software engineering; refactoring;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:49 / 58
页数:10
相关论文
共 50 条
  • [21] Automated Refactoring using Design Differencing
    Moghadam, Iman Hemati
    Cinneide, Mel O.
    2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 43 - 52
  • [22] A Systematic Literature Survey of Software Metrics, Code Smells and Refactoring Techniques
    Agnihotri, Mansi
    Chug, Anuradha
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2020, 16 (04): : 915 - 934
  • [23] Automated refactoring using design differencing
    School of Computer Science and Informatics, University College Dublin, Ireland
    Proc. Eur. Conf. Software Maint. Reeng., (43-52):
  • [24] Automated refactoring of legacy Java']Java software to enumerated types
    Khatchadourian, Raffi
    AUTOMATED SOFTWARE ENGINEERING, 2017, 24 (04) : 757 - 787
  • [25] Automated Refactoring of Legacy Java']Java Software to Default Methods
    Khatchadourian, Raffi
    Masuhara, Hidehiko
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 82 - 93
  • [26] Automated refactoring of legacy Java']Java software to enumerated types
    Khatchadourian, Raffi
    Sawin, Jason
    Rountev, Atanas
    2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2007, : 334 - 343
  • [27] Metrics based refactoring
    Simon, F
    Steinbrückner, F
    Lewerentz, C
    FIFTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, 2001, : 30 - 38
  • [28] Early Risk Assessment in Software Development Life Cycle Using Software Metrics
    Hakizabera, Aline Uwera
    Ohsato, Ario
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION MANAGEMENT AND EVALUATION, 2010, : 122 - 128
  • [29] METRICS FOR SOFTWARE ARCHITECTURE ASSESSMENT
    Cioloca, Cecilia
    INTERNATIONAL CONFERENCE ON INFORMATICS IN ECONOMY, 2013, : 280 - 284
  • [30] An Approach for Source Code Classification Using Software Metrics and Fuzzy Logic to Improve Code Quality with Refactoring Techniques
    Lerthathairat, Pornchai
    Prompoon, Nakornthip
    SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 478 - 492