Optimal Refactoring

被引:1
|
作者
Siverland, Susanne [1 ]
Wernersson, Roger C. S. [2 ]
Sennersten, Charlotte [3 ]
机构
[1] Sigma IT & Management, Ostra Vittusgatan 36, SE-37133 Karlskrona, Sweden
[2] Ericsson AB, Olandsgatan 1,Box 518, SE-37133 Karlskrona, Sweden
[3] CSIRO, Digital Prod Flagship, Autonomous Syst, Coll Rd, Sandy Bay 7005, Australia
关键词
Refactoring; Software maintenance; Qualitative research; Software quality; Industry; Return of investment;
D O I
10.1007/978-3-319-18612-2_21
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper investigates if Code-Churn, Lines of Code (LoC), Duplicated Code, Complexity and Technical Debt (TD) can inform a coder where to prioritize refactoring. A mature code-base of 1 300 000 LoC in approximately 5000 files for a period of 20 months has been examined. The result is that code-churn is the strongest variable out of the studied variables followed by LoC and TD. Multiplying with code-churn strengthens LoC and TD even more, making them the strongest indicators of refactoring potential.
引用
收藏
页码:224 / 229
页数:6
相关论文
共 50 条
  • [1] Pareto Optimal Search Based Refactoring at the Design Level
    Harman, Mark
    Tratt, Laurence
    [J]. GECCO 2007: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, 2007, : 1106 - 1113
  • [2] "Refactoring" Refactoring
    Waguespack, Leslie J.
    Babb, Jeffry S.
    Yates, David J.
    [J]. PROCEEDINGS OF THE 50TH ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, 2017, : 4665 - 4674
  • [3] OBEY: Optimal Batched Refactoring Plan Execution for Class Responsibility Redistribution
    Jiau, Hewijin Christine
    Mar, Lee Wei
    Chen, Jinghong Cox
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (09) : 1245 - 1263
  • [4] Conflict-aware optimal scheduling of prioritised code clone refactoring
    Zibran, Minhaz Fahim
    Roy, Chanchal Kumar
    [J]. IET SOFTWARE, 2013, 7 (03) : 167 - 186
  • [5] The Optimal Refactoring Selection Problem - A Multi-Objective Evolutionary Approach
    Chisalita-Cretu, Camelia
    [J]. PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON VIRTUAL LEARNING, ICVL 2010, 2010, : 410 - 417
  • [6] Identifying the Optimal Refactoring Dependencies Using Heuristic Search Algorithms to Maximize Maintainability
    Chug, Anuradha
    Tarwani, Sandhya
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (06) : 803 - 835
  • [7] Refactoring
    Fowler, M
    [J]. ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2002, : 701 - 701
  • [8] Refactoring
    Ralf Reißing
    [J]. Informatik-Spektrum, 1999, 22 (3) : 210 - 211
  • [9] Refactoring
    Fowler, M
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 437 - 437
  • [10] Refactoring as a Lifeline: Lessons Learned from Refactoring
    Abdel-Hamid, Amr Noaman
    [J]. 2013 AGILE CONFERENCE (AGILE), 2013, : 129 - 136