A Comparative Analysis on Code Smell Refactoring Sequencing for Object-Oriented Systems using Hybrid Optimization Approaches | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Systematic Review A Comparative Analysis on Code Smell Refactoring Sequencing for Object-Oriented Systems using Hybrid Optimization Approaches Ritika, Dr.Navdeep Kaur, Dr.Amandeep Kaur This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-6570475/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Code smells are indicators of potential design flaws in object-oriented systems that can lead to maintenance challenges, reduced performance, and increased technical debt. Refactoring these smells is essential to improving software quality. However, the process of sequencing refactorings efficiently remains a complex optimization problem. This systematic review explores the role of hybrid optimization approaches in automating and enhancing code smell refactoring sequences. We analyse existing research on refactoring strategies, highlighting how heuristic, metaheuristic, and machine learning-based techniques have been combined to optimize refactoring decisions. Various hybrid models such as genetic algorithms, particle swarm optimization, ant colony optimization, and deep learning have been proposed to balance code maintainability, modularity, and performance. Our study categorizes these methods based on their effectiveness in detecting and mitigating different types of code smells, including long methods, large classes, and feature envy. We also discuss empirical evaluations that compare different hybrid approaches, shedding light on their strengths and limitations. This review provides a comprehensive synthesis of recent advancements in code smell refactoring sequencing and identifies future research directions. Software Engineering Optimization Software Engineering Code smells Refactoring Sequencing Full Text Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-6570475","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Systematic Review","associatedPublications":[],"authors":[{"id":450568058,"identity":"e2ad5755-fb96-4720-b5af-eaf7d0d48874","order_by":0,"name":"Ritika","email":"","orcid":"","institution":"Sri Guru Granth Sahib World University Fatehgarh Sahib","correspondingAuthor":false,"prefix":"","firstName":"","middleName":"","lastName":"Ritika","suffix":""},{"id":450568059,"identity":"85e01990-919b-4414-b8fa-ab496ef3c3f4","order_by":1,"name":"Dr.Navdeep Kaur","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA9klEQVRIiWNgGAWjYDCCAyCCDYjZG+BiBmBEWAvPAZK1SCQga8ED+G6fPSbxo8xGzlzy+eOXX/4cTmxgb94mwVBwB6cWyXN5aZI959KMLWfnmFnLtgG18Bwrk2AweIZTi8EZHmMDXqDKDbdz2IwlG24nNkjkmAG1HMarxfBv2//6DTePPzOW+APUIv+GoBbDx7xtBxIMbjAYP/zABrKFB78WSZAWmXPJhjt7csyYGdv+G7fxpBVbJODRwneGx+DgmzI7eXP2448//viTJtvPfnjjjQ9/cGtBuBAYO9I8DJA4YkggrAGshfnjD2JUjoJRMApGwYgDAJCPWKwOYl4PAAAAAElFTkSuQmCC","orcid":"","institution":"Sri Guru Granth Sahib World University Fatehgarh Sahib","correspondingAuthor":true,"prefix":"Dr.","firstName":"Navdeep","middleName":"","lastName":"Kaur","suffix":""},{"id":450568060,"identity":"7b741995-96a7-457b-8ab7-d68a4b4dcee1","order_by":2,"name":"Dr.Amandeep Kaur","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABFElEQVRIiWNgGAWjYLACHiBmYzh88MEHBgkGCR6EIH4tfIzHkg1nMEhIEK9FjvmMmTCQAdeCE/BPO/zswZsKmzw2tgNmzLY7LOoke84+YPhRwyBjjkOLxO00c8M5Z9KK2XgOpD3OPSMhIc3bbsDYc4yBx7IBh57bCWbSvG2HE9skDhw3zm2TkJDjZ2Ng4G1g4DE4gF2H/O30b9K8//4ntsk/bJO2hGph/ItHi8HtHKAtDQcS2xgOs0kztoEc1sbAjM8Ww9s5ZZJzjiUXszEcYzbsbZOQnAn0x2GZYxI4tcjdTt8m8abGLk++4fzHBz/b6vglzqQxPnxTY2OPSwsMJKDwgIol8KvH0DIKRsEoGAWjABkAAF0JVF57WVsEAAAAAElFTkSuQmCC","orcid":"","institution":"NIT, Kurukshetra","correspondingAuthor":true,"prefix":"Dr.","firstName":"Amandeep","middleName":"","lastName":"Kaur","suffix":""}],"badges":[],"createdAt":"2025-05-01 08:42:43","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":true,"conflictsOfInterestStatement":true,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":true},"doi":"10.21203/rs.3.rs-6570475/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-6570475/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":81842270,"identity":"09642230-676c-4eef-8cb9-5f2cd30745d7","added_by":"auto","created_at":"2025-05-02 16:29:11","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":541585,"visible":true,"origin":"","legend":"","description":"","filename":"Springerpaper.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6570475/v1_covered_101e2f71-2f74-4f58-9712-b33d6a002f31.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e\u003cstrong\u003eA Comparative Analysis on Code Smell Refactoring Sequencing for Object-Oriented Systems using Hybrid Optimization Approaches\u003c/strong\u003e\u003c/p\u003e","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"Sri Guru Granth Sahib World University","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":true,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Optimization, Software Engineering, Code smells, Refactoring, Sequencing","lastPublishedDoi":"10.21203/rs.3.rs-6570475/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-6570475/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eCode smells are indicators of potential design flaws in object-oriented systems that can lead to maintenance challenges, reduced performance, and increased technical debt. Refactoring these smells is essential to improving software quality. However, the process of sequencing refactorings efficiently remains a complex optimization problem. This systematic review explores the role of hybrid optimization approaches in automating and enhancing code smell refactoring sequences. We analyse existing research on refactoring strategies, highlighting how heuristic, metaheuristic, and machine learning-based techniques have been combined to optimize refactoring decisions. Various hybrid models such as genetic algorithms, particle swarm optimization, ant colony optimization, and deep learning have been proposed to balance code maintainability, modularity, and performance. Our study categorizes these methods based on their effectiveness in detecting and mitigating different types of code smells, including long methods, large classes, and feature envy. We also discuss empirical evaluations that compare different hybrid approaches, shedding light on their strengths and limitations. This review provides a comprehensive synthesis of recent advancements in code smell refactoring sequencing and identifies future research directions.\u003c/p\u003e","manuscriptTitle":"A Comparative Analysis on Code Smell Refactoring Sequencing for Object-Oriented Systems using Hybrid Optimization Approaches","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-05-02 16:13:06","doi":"10.21203/rs.3.rs-6570475/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"71fccba7-2ec2-418d-8468-ad39563588ef","owner":[],"postedDate":"May 2nd, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":47941327,"name":"Software Engineering"}],"tags":[],"updatedAt":"2025-05-02T16:13:06+00:00","versionOfRecord":[],"versionCreatedAt":"2025-05-02 16:13:06","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-6570475","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-6570475","identity":"rs-6570475","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.