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 条
  • [1] Assessment of the Code Refactoring Dataset Regarding the Maintainability of Methods
    Kadar, Istvan
    Hegedus, Peter
    Ferenc, Rudolf
    Gyimothy, Tibor
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2016, PT IV, 2016, 9789 : 610 - 624
  • [2] Empirical evaluation of software maintainability based on a manually validated refactoring dataset
    Hegedus, Peter
    Kadar, Istvan
    Ferenc, Rudolf
    Gyimothy, Tibor
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 95 : 313 - 327
  • [3] Identifying Refactoring Sequences for Improving Software Maintainability
    Meananeatra, Panita
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 406 - 409
  • [4] Improving Code Maintainability: A Case Study on the Impact of Refactoring
    Wahler, Michael
    Drofenik, Uwe
    Snipes, Will
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 493 - 501
  • [5] Improving code maintainability: A case study on the impact of refactoring
    Wahler, Michael
    Drofenik, Uwe
    Snipes, Will
    Proceedings - 2016 IEEE International Conference on Software Maintenance and Evolution, ICSME 2016, 2017, : 493 - 501
  • [6] An Empirical Study to Assess the Effects of Refactoring on Software Maintainability
    Malhotra, Ruchika
    Chug, Anuradha
    2016 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2016, : 110 - 117
  • [7] Defining a Software Maintainability Dataset: Collecting, Aggregating and Analysing Expert Evaluations of Software Maintainability
    Schnappinger, Markus
    Fietzke, Arnaud
    Pretschner, Alexander
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 278 - 289
  • [8] Investigating the Effect of Aspect-Oriented Refactoring on Software Maintainability
    Al-Jamimi, Hamdi A.
    Alshayeb, Mohammad
    Elish, Mahmoud O.
    SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 611 - 623
  • [9] A fuzzy genetic automatic refactoring approach to improve software maintainability and flexibility
    Saheb Nasagh, Raana
    Shahidi, Mahnoosh
    Ashtiani, Mehrdad
    SOFT COMPUTING, 2021, 25 (06) : 4295 - 4325
  • [10] Code Refactoring and its Impact on Internal and External Software Quality: An Experimental Study
    Alawairdhi, Mohammed
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2019, 19 (06): : 12 - 17