UPSI Digital Repository (UDRep)
Start | FAQ | About

QR Code Link :

Type :article
Subject :Q Science (General)
ISSN :2169-3536
Main Author :Shazlyn Milleana Shaharudin
Title :A refactoring classification framework for efficient software maintenance
Place of Production :Tanjung Malim
Publisher :Fakulti Sains dan Matematik
Year of Publication :2023
Notes :IEEE Access
Corporate Name :Universiti Pendidikan Sultan Idris
HTTP Link :Click to view web link

Abstract : Universiti Pendidikan Sultan Idris
The expenses associated with software maintenance and evolution constitute a significant portion, surpassing more than 80% of the overall costs involved in software development. Refactoring, a widely embraced technique, plays a crucial role in streamlining and minimizing maintenance activities and expenses. However, the effect of refactoring techniques on quality attributes presents inconsistent and conflicting findings, making it challenging for software developers to enhance software quality effectively. Additionally, the absence of a comprehensive framework further complicates the decision-making process for developers when selecting appropriate refactoring techniques aligned with specific design objectives. In light of these considerations, this research aims to introduce a novel framework for classifying refactoring techniques based on their measurable influence on internal quality attributes. Initially, an exploratory study was conducted to identify commonly employed refactoring techniques, followed by an experimental analysis involving five case studies to evaluate the effects of these techniques on internal quality attributes. Subsequently, the framework was constructed based on the outcomes of the exploratory and experimental studies, further reinforced by a multi-case analysis. Comprising three key components, namely the methodology for applying refactoring techniques, the Quality Model for Object-Oriented Design (QMOOD), and the classification scheme for refactoring techniques, this proposed framework serves as a valuable guideline for developers. By comprehending the effect of each refactoring technique on internal quality attributes, developers can make informed decisions and select suitable techniques to enhance specific aspects of their software. Consequently, this framework optimizes developers' time and effort by minimizing the need to weigh the pros and cons of different refactoring techniques, potentially leading to a reduction in maintenance activities and associated costs. 2013 IEEE.

References

M. Fowler, K. Beck, J. Brant, W. Opdyke, and D. Roberts, Refactoring: Improving the Design of Existing Code. Reading, MA, USA: AddisonWesley Professional, 2002.

M. Fowler and K. Beck, Refactoring Improving the Design of Existing Code Refactoring, 2nd ed. Reading, MA, USA: Addison-Wesley Professional, 2019.

C. Abid, V. Alizadeh, M. Kessentini, T. D. N. Ferreira, and D. Dig, ‘‘30 years of software refactoring research: A systematic literature review,’’ 2020, arXiv:2007.02194.

M. Kaya, S. Conley, Z. S. Othman, and A. Varol, ‘‘Effective software refactoring process,’’ in Proc. 6th Int. Symp. Digit. Forensic Secur. (ISDFS), Antalya, Turkey, Mar. 2018, pp. 1–6, doi: 10.1109/ISDFS.2018.8355350.

V. Alizadeh, M. Kessentini, W. Mkaouer, M. Ocinneide, A. Ouni, and Y. Cai, ‘‘Interactive and dynamic multi-objective software refactoring recommendations,’’ in Proc. 33rd ACM/IEEE Int. Conf. Automated Softw., Sep. 2019, pp. 1–30. [Online]. Available: https://deepblue.lib.umich.edu/bitstream/handle/2027.42/147343/papertse.pdf?sequence=1

V. Alizadeh, M. A. Ouali, M. Kessentini, and M. Chater, ‘‘RefBot: Intelligent software refactoring bot,’’ in Proc. 34th IEEE/ACM Int. Conf. Automated Softw. Eng. (ASE), Nov. 2019, pp. 823–834. [Online]. Available: https://ieeexplore.ieee.org/document/8952287

M. Alotaibi, ‘‘Advances and challenges in software refactoring: A tertiary systematic literature review,’’ M.S. thesis, Dept. Softw. Eng., B. Thomas Golisano College Comput. Inf. Sci., Rochester Inst. Technol., Rochester, NY, USA, 2018.

A. Almogahed, M. Omar, N. H. Zakaria, G. Muhammad, and S. A. AlQahtani, ‘‘Revisiting scenarios of using refactoring techniques to improve software systems quality,’’ IEEE Access, vol. 11, pp. 28800–28819, 2023, doi: 10.1109/ACCESS.2022.3218007.

D. Arcelli, V. Cortellessa, and D. D. Pompeo, ‘‘Performance-driven software model refactoring,’’ Inf. Softw. Technol., vol. 95, pp. 366–397, Mar. 2018, doi: 10.1016/j.infsof.2017.09.006.

A. Ouni, M. Kessentini, H. Sahraoui, K. Inoue, and K. Deb, ‘‘Multi-criteria code refactoring using search-based software engineering: An industrial case study,’’ ACM Trans. Softw. Eng. Methodol., vol. 25, no. 3, pp. 1–53, Aug. 2016, doi: 10.1145/2932631.

L. Sousa, D. Cedrim, A. Garcia, W. Oizumi, A. C. Bibiano, D. Oliveira, M. Kim, and A. Oliveira, ‘‘Characterizing and identifying composite refactorings: Concepts, heuristics and patterns,’’ in Proc. IEEE/ACM 17th Int. Conf. Mining Softw. Repositories (MSR), Seoul, South Korea, May 2020, pp. 186–197, doi: 10.1145/3379597.3387477.

E. Fernandes, A. Chávez, A. Garcia, I. Ferreira, D. Cedrim, L. Sousa, and W. Oizumi, ‘‘Refactoring effect on internal quality attributes: What haven’t they told you yet?’’ Inf. Softw. Technol., vol. 126, Oct. 2020, Art. no. 106347, doi: 10.1016/j.infsof.2020.106347.

G. Lacerda, F. Petrillo, M. Pimenta, and Y. G. Guéhéneuc, ‘‘Code smells and refactoring: A tertiary systematic review of challenges and observations,’’ J. Syst. Softw., vol. 167, Sep. 2020, Art. no. 110610, doi:10.1016/j.jss.2020.110610.

M. Alshayeb, ‘‘Empirical investigation of refactoring effect on software quality,’’ Inf. Softw. Technol., vol. 51, no. 9, pp. 1319–1326, Sep. 2009, doi: 10.1016/j.infsof.2009.04.002.

N. Rachatasumrit and M. Kim, ‘‘An empirical investigation into the impact of refactoring on regression testing,’’ in Proc. 28th IEEE Int. Conf. Softw. Maintenance (ICSM), Sep. 2012, pp. 357–366, doi:10.1109/ICSM.2012.6405293.

N. Tsantalis, V. Guana, E. Stroulia, and A. Hindle, ‘‘A multidimensional empirical study on refactoring activity,’’ in Proc. Conf. Center Adv. Stud. Collaborative Res., 2013, pp. 132–146. [Online]. Available:https://dl.acm.org/doi/10.5555/2555523.2555539

N. Naiya, S. Counsell, and T. Hall, ‘‘The relationship between depth of inheritance and refactoring: An empirical study of eclipse releases,’’ in Proc. 41st Euromicro Conf. Softw. Eng. Adv. Appl., Aug. 2015, pp. 88–91. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/7302436

F. Palomba, A. Zaidman, R. Oliveto, and A. De Lucia, ‘‘An exploratory study on the relationship between changes and refactoring,’’ in Proc. IEEE/ACM 25th Int. Conf. Program Comprehension (ICPC), May 2017, pp. 176–185. [Online]. Available:https://ieeexplore.ieee.org/document/7961515

S. H. Kannangara and W. M. J. I. Wijayanayake, ‘‘An empirical exploration of refactoring effect on software quality using external quality factors,’’ Int. J. Adv. ICT Emerg. Regions, vol. 7, no. 2, p. 36, May 2014, doi:10.4038/icter.v7i2.7176.

K. Stroggylos and D. Spinellis, ‘‘Refactoring-does it improve software quality?’’ in Proc. 5th Int. Workshop Softw. Quality (WoSQ: ICSE Workshops), Minneapolis, MN, USA, May 2007, p. 10, doi:10.1109/WOSQ.2007.11.

G. Bavota, A. De Lucia, M. Di Penta, R. Oliveto, and F. Palomba, ‘‘An experimental investigation on the innate relationship between quality and refactoring,’’ J. Syst. Softw., vol. 107, pp. 1–14, Sep. 2015, doi:10.1016/j.jss.2015.05.024.

Q. D. Soetens and S. Demeyer, ‘‘Studying the effect of refactorings: A complexity metrics perspective,’’ in Proc. 7th Int. Conf. Quality Inf. Commun. Technol., Porto, Portugal, Sep. 2010, pp. 313–318, doi:10.1109/QUATIC.2010.58.

D. Wilking, U. F. Khan, and S. Kowalewski, ‘‘An empirical evaluation of refactoring,’’ E-Inform. Softw. Eng. J., vol. 1, no. 1, pp. 1–16, 2007. [Online]. Available: https://www.e-informatyka.pl/attach/e-Informatica_-_Volume_1/Vol1Iss1Art2eInformatica.pdf

K. O. Elish and M. Alshayeb, ‘‘Investigating the effect of refactoring on software testing effort,’’ in Proc. 16th Asia–Pacific Softw. Eng. Conf., Dec. 2009, pp. 29–34, doi: 10.1109/APSEC.2009.14.

M. Alshayeb, ‘‘Refactoring effect on cohesion metrics,’’ in Proc. Int. Conf. Comput., Eng. Inf., Fullerton, CA, USA, Apr. 2009, pp. 3–7, doi:10.1109/ICC.2009.12.

A. Halim and P. Mursanto, ‘‘Refactoring rules effect of class cohesion on high-level design,’’ in Proc. Int. Conf. Inf. Technol. Electr. Eng. (ICITEE), Yogyakarta, Indonesia, Oct. 2013, pp. 197–202, doi: 10.1109/ICITEED.2013.6676238.

A. S. Nyamawe, H. Liu, Z. Niu, W. Wang, and N. Niu, ‘‘Recommending refactoring solutions based on traceability and code metrics,’’ IEEE Access, vol. 6, pp. 49460–49475, 2018, doi: 10.1109/ACCESS.2018.2868990.

A. Almogahed, M. Omar, and N. H. Zakaria, ‘‘Refactoring codes to improve software security requirements,’’ Procedia Comput. Sci., vol. 204, pp. 108–115, 2022, doi: 10.1016/j.procs.2022.08.013.

A. Almogahed, M. Omar, and N. H. Zakaria, ‘‘Categorization refactoring techniques based on their effect on software quality attributes,’’ Int. J. Innov. Technol. Exploring Eng., vol. 8, no. 8S, pp. 439–445, 2019. [Online]. Available: https://www.ijitee.org/wpcontent/uploads/papers/v8i8s/H10760688S19.pdf

J. Al Dallal and A. Abdin, ‘‘Empirical evaluation of the impact of objectoriented code refactoring on quality attributes: A systematic literature review,’’ IEEE Trans. Softw. Eng., vol. 44, no. 1, pp. 44–69, Jan. 2018, doi:10.1109/TSE.2017.2658573.

S. Kaur and P. Singh, ‘‘How does object-oriented code refactoring influence software quality? Research landscape and challenges,’’ J. Syst. Softw., vol. 157, Nov. 2019, Art. no. 110394, doi: 10.1016/j.jss.2019.110394.

A. S. Nyamawe, ‘‘Mining commit messages to enhance software refactorings recommendation: A machine learning approach,’’ Mach. Learn. Appl., vol. 9, Sep. 2022, Art. no. 100316, doi: 10.1016/j.mlwa.2022.100316.


This material may be protected under Copyright Act which governs the making of photocopies or reproductions of copyrighted materials.
You may use the digitized material for private study, scholarship, or research.

Back to previous page

Installed and configured by Bahagian Automasi, Perpustakaan Tuanku Bainun, Universiti Pendidikan Sultan Idris
If you have enquiries, kindly contact us at pustakasys@upsi.edu.my or 016-3630263. Office hours only.