A Code Refactoring Dataset and Its Assessment Regarding Software Maintainability

被引:17
|
作者
Kadar, Istvan [1 ]
Hegedus, Peter [1 ]
Ferenc, Rudolf [1 ]
Gyimothy, Tibor [1 ]
机构
[1] Univ Szeged, Szeged, Hungary
来源
2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1 | 2016年
关键词
code refactoring; software maintainability; empirical study;
D O I
10.1109/SANER.2016.42
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
It is very common in various fields that there is a gap between theoretical results and their practical applications. This is true for code refactoring as well, which has a solid theoretical background while being used in development practice at the same time. However, more and more studies suggest that developers perform code refactoring entirely differently than the theory would suggest. Our paper encourages the further investigation of code refactorings in practice by providing an excessive open dataset of source code metrics and applied refactorings through several releases of 7 open-source systems. As a first step of processing this dataset, we examined the quality attributes of the refactored source code classes and the values of source code metrics improved by those refactorings. Our early results show that lower maintainability indeed triggers more code refactorings in practice and these refactorings significantly decrease complexity, code lines, coupling and clone metrics. However, we observed a decrease in comment related metrics in the refactored code.
引用
收藏
页码:599 / 603
页数:5
相关论文
共 50 条
  • [41] Helping Mobile Software Code Reviewers: A Study of Bug Repair and Refactoring Patterns
    Chen, Zhiyuan
    2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 34 - 35
  • [42] Automated Refactoring of Software using Version History and a Code Element Recentness Measure
    Mohan, Michael
    Greer, Des
    PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2018, : 455 - 462
  • [43] A probabilistic-based approach for automatic identification and refactoring of software code smells
    Saheb-Nassagh, Raana
    Ashtiani, Mehrdad
    Minaei-Bidgoli, Behrouz
    APPLIED SOFT COMPUTING, 2022, 130
  • [44] Open source software development should strive for even greater code maintainability
    Samoladas, I
    Stamelos, I
    Angelis, L
    Oikonomou, A
    COMMUNICATIONS OF THE ACM, 2004, 47 (10) : 83 - 87
  • [45] A systematic literature review: Refactoring for disclosing code smells in object oriented software
    Singh, Satwinder
    Kaur, Sharanpreet
    AIN SHAMS ENGINEERING JOURNAL, 2018, 9 (04) : 2129 - 2151
  • [46] A public unified bug dataset for java and its assessment regarding metrics and bug prediction
    Rudolf Ferenc
    Zoltán Tóth
    Gergely Ladányi
    István Siket
    Tibor Gyimóthy
    Software Quality Journal, 2020, 28 : 1447 - 1506
  • [47] Assessment of optimum refactoring sequence to improve the software quality of object-oriented software
    Tarwani, Sandhya
    Chug, Anuradha
    JOURNAL OF INFORMATION & OPTIMIZATION SCIENCES, 2020, 41 (06): : 1433 - 1442
  • [48] Tales from the Code #2: A Detailed Assessment of Code Refactoring's Impact on Energy Consumption
    Ournani, Zakaria
    Rouvoy, Romain
    Rust, Pierre
    Penhoat, Joel
    SOFTWARE TECHNOLOGIES, ICSOFT 2021, 2022, 1622 : 94 - 116
  • [49] 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
  • [50] APPLICATION OF CCITT SDL FOR SOFTWARE DEVELOPMENT AND ITS MAINTAINABILITY.
    Bagnoli, Paolo
    Giorcelli, Silvano
    Longo, Francesco
    Saracco, Roberto
    CSELT Rapporti Tecnici (Centro Studi e Laboratori Telecomunicazioni), 1981, 9 (5 Suppl): : 535 - 541