{"id":{"repo_id":"queens","oai_identifier":"oai:queensu.scholaris.ca:1974/34165"},"canonical_url":"https://search.ndltd.org/etd/queens/oai:queensu.scholaris.ca:1974/34165","repository":{"repo_id":"queens","name":"Queens University","base_url":"https://qspace.library.queensu.ca/server/oai/request"},"display":{"title":"Empirical Studies on Code Refactoring Practices in Software Development Process","abstract":"Refactoring is a crucial aspect of code maintenance, involving modifications to the internal structure of code without altering its external behavior. Developers often invest significant effort in improving code through refactoring. Refactoring provides benefits, such as simplifying maintenance, enhancing code readability, and helping developers gain a better understanding of the code. Due to the absence of large-scale studies and comprehensive quality evaluations, the refactoring practices employed by developers and their impact on code quality during software development remain largely unexplored. For example, it is unclear how often developers engage in refactoring and whether frequent refactoring leads to better code quality compared to infrequent refactoring. Additionally, the lack of comprehensive refactoring tools for popular programming languages like Python, which is commonly used in emerging domains such as machine learning (ML), skews research toward more widely studied languages like Java, which has benefited from more advanced refactoring detection tools in recent years. This thesis addresses these gaps by conducting three empirical studies to (1) identify short-term and long-term refactoring strategies and their relationship with code quality, (2) analyze release-wise refactoring patterns and their impact on release quality, and (3) detect and study refactoring-related commits in Python ML projects through an ML-based refactoring detection approach. The research conducted in this thesis helps practitioners understand current refactoring trends, their relationship with code quality, and provides a machine learning-based refactoring detection tool for studying refactoring practices in the Python ML domain, which is intended to guide future research toward less-studied languages, such as Python.","abstract_html":"Refactoring is a crucial aspect of code maintenance, involving modifications to the internal structure of code without altering its external behavior. Developers often invest significant effort in improving code through refactoring. Refactoring provides benefits, such as simplifying maintenance, enhancing code readability, and helping developers gain a better understanding of the code. Due to the absence of large-scale studies and comprehensive quality evaluations, the refactoring practices employed by developers and their impact on code quality during software development remain largely unexplored. For example, it is unclear how often developers engage in refactoring and whether frequent refactoring leads to better code quality compared to infrequent refactoring. Additionally, the lack of comprehensive refactoring tools for popular programming languages like Python, which is commonly used in emerging domains such as machine learning (ML), skews research toward more widely studied languages like Java, which has benefited from more advanced refactoring detection tools in recent years. This thesis addresses these gaps by conducting three empirical studies to (1) identify short-term and long-term refactoring strategies and their relationship with code quality, (2) analyze release-wise refactoring patterns and their impact on release quality, and (3) detect and study refactoring-related commits in Python ML projects through an ML-based refactoring detection approach. The research conducted in this thesis helps practitioners understand current refactoring trends, their relationship with code quality, and provides a machine learning-based refactoring detection tool for studying refactoring practices in the Python ML domain, which is intended to guide future research toward less-studied languages, such as Python.","abstract_has_math":false,"creators":["Noei, Shayan"],"institution":"Queen's University at Kingston","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Zou, Ying"],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024-11-01","date_published":"2024-11-01","updated_at":"2026-11-19T09:09:52Z","subjects":["Code Refactoring","Code Quality","Refactoring Practices","Refactoring Detection"],"languages":["eng"],"rights":["Attribution 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1974/34165","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1974/34165","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aqueens%3Aoai%3Aqueensu.scholaris.ca%3A1974%2F34165","prefix":"oai_dc"},"source_record":{"url":"https://qspace.library.queensu.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aqueensu.scholaris.ca%3A1974%2F34165","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Zou, Ying"]},{"key":"dc:creator","label":"Author","values":["Noei, Shayan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-11-01T13:32:36Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-11-01T13:32:36Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-11-01"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Canadian theses"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Queen's University at Kingston"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Code Refactoring","Code Quality","Refactoring Practices","Refactoring Detection"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Attribution 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1974/34165"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Refactoring is a crucial aspect of code maintenance, involving modifications to the internal structure of code without altering its external behavior. Developers often invest significant effort in improving code through refactoring. Refactoring provides benefits, such as simplifying maintenance, enhancing code readability, and helping developers gain a better understanding of the code. Due to the absence of large-scale studies and comprehensive quality evaluations, the refactoring practices employed by developers and their impact on code quality during software development remain largely unexplored. For example, it is unclear how often developers engage in refactoring and whether frequent refactoring leads to better code quality compared to infrequent refactoring. Additionally, the lack of comprehensive refactoring tools for popular programming languages like Python, which is commonly used in emerging domains such as machine learning (ML), skews research toward more widely studied languages like Java, which has benefited from more advanced refactoring detection tools in recent years. This thesis addresses these gaps by conducting three empirical studies to (1) identify short-term and long-term refactoring strategies and their relationship with code quality, (2) analyze release-wise refactoring patterns and their impact on release quality, and (3) detect and study refactoring-related commits in Python ML projects through an ML-based refactoring detection approach. The research conducted in this thesis helps practitioners understand current refactoring trends, their relationship with code quality, and provides a machine learning-based refactoring detection tool for studying refactoring practices in the Python ML domain, which is intended to guide future research toward less-studied languages, such as Python."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["PhD"]},{"key":"dc:title","label":"Title","values":["Empirical Studies on Code Refactoring Practices in Software Development Process"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Electrical and Computer Engineering"],"dc:contributor.supervisor":["Zou, Ying"],"dc:creator":["Noei, Shayan"],"dc:date.accessioned":["2024-11-01T13:32:36Z"],"dc:date.available":["2024-11-01T13:32:36Z"],"dc:date.issued":["2024-11-01"],"dc:description.abstract":["Refactoring is a crucial aspect of code maintenance, involving modifications to the internal structure of code without altering its external behavior. Developers often invest significant effort in improving code through refactoring. Refactoring provides benefits, such as simplifying maintenance, enhancing code readability, and helping developers gain a better understanding of the code. Due to the absence of large-scale studies and comprehensive quality evaluations, the refactoring practices employed by developers and their impact on code quality during software development remain largely unexplored. For example, it is unclear how often developers engage in refactoring and whether frequent refactoring leads to better code quality compared to infrequent refactoring. Additionally, the lack of comprehensive refactoring tools for popular programming languages like Python, which is commonly used in emerging domains such as machine learning (ML), skews research toward more widely studied languages like Java, which has benefited from more advanced refactoring detection tools in recent years. This thesis addresses these gaps by conducting three empirical studies to (1) identify short-term and long-term refactoring strategies and their relationship with code quality, (2) analyze release-wise refactoring patterns and their impact on release quality, and (3) detect and study refactoring-related commits in Python ML projects through an ML-based refactoring detection approach. The research conducted in this thesis helps practitioners understand current refactoring trends, their relationship with code quality, and provides a machine learning-based refactoring detection tool for studying refactoring practices in the Python ML domain, which is intended to guide future research toward less-studied languages, such as Python."],"dc:description.degree":["PhD"],"dc:identifier.uri":["https://hdl.handle.net/1974/34165"],"dc:language.iso":["eng"],"dc:relation.ispartofseries":["Canadian theses"],"dc:rights":["Attribution 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by/4.0/"],"dc:subject":["Code Refactoring","Code Quality","Refactoring Practices","Refactoring Detection"],"dc:title":["Empirical Studies on Code Refactoring Practices in Software Development Process"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:institution_name":["Queen's University at Kingston"]},"updated_at":"2026-11-19T09:09:52Z"}