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 条
  • [21] Code Refactoring Strategies of Third Year Software Engineering Students
    Rajapakse, Roshan
    Szabo, Claudia
    PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024, 2024, : 562 - 568
  • [22] Transformation of centralized software components into distributed ones by code refactoring
    Seriai, Abdelhak
    Bastide, Gautier
    Oussalah, Mourad
    DISTRIBUTED APPLICATIONS AND INTEROPERABLE SYSTEMS, PROCEEDINGS, 2006, 4025 : 332 - 346
  • [23] Transformation of centralized software components into distributed ones by code refactoring
    Ecole de Mines de Douai, 941 rue Charles Bourseul, Douai
    59508, France
    不详
    44322, France
    Lect. Notes Comput. Sci., 2006, (332-346):
  • [24] Software Models for Source Code Maintainability: A Systematic Literature Review
    Baldassarre, Maria Teresa
    Caivano, Danilo
    Romano, Simone
    Scanniello, Giuseppe
    2019 45TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2019), 2019, : 252 - 259
  • [25] A Proposal of Software Maintainability Model using Code Smell Measurement
    Wagey, Billy C.
    Hendradjaya, Bayu
    Mardiyanto, M. Sukrisno
    2015 INTERNATIONAL CONFERENCE ON DATA AND SOFTWARE ENGINEERING (ICODSE), 2015, : 25 - 30
  • [26] Source Code Explorer System to Enhance the Software Maintainability and Scalability
    Al-Batah, Mohammad Subhi
    Alhindawi, Nouh
    Oqeili, Saleh
    Al-Hazaimeh, Obaida M.
    INTERNATIONAL JOURNAL OF EDUCATION AND INFORMATION TECHNOLOGIES, 2019, 13 : 94 - 101
  • [27] Refactoring Patterns Study in Code Clones during Software Evolution
    Kanwal, Jaweria
    Inoue, Katsuro
    Maqbool, Onaiza
    2017 IEEE 11TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC), 2017, : 45 - 46
  • [28] A Framework for the Assessment and Training of Software Refactoring Competences
    Haendler, Thorsten
    Neumann, Gustaf
    KMIS: PROCEEDINGS OF THE 11TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE DISCOVERY, KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT, VOL 3: KMIS, 2019, : 307 - 316
  • [29] Assessment of maintainability in object-oriented software
    Alagar, VS
    Li, QY
    Ormandjieva, OS
    TOOLS 39: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS, PROCEEDINGS: SOFTWARE TECHNOLOGY FOR THE AGE OF THE INTERNET, 2001, 39 : 194 - 205
  • [30] Code Smells Analysis Mechanisms, Detection Issues, and Effect on Software Maintainability
    Lafi, Mohammed
    Botros, Joseph Wassily
    Kafaween, Hamzah
    Al-Dasoqi, Ahmad Bassam
    Al-Tamimi, Abdelfatah
    2019 IEEE JORDAN INTERNATIONAL JOINT CONFERENCE ON ELECTRICAL ENGINEERING AND INFORMATION TECHNOLOGY (JEEIT), 2019, : 663 - 666