{"id":{"repo_id":"rit","oai_identifier":"oai:repository.rit.edu:theses-12880"},"canonical_url":"https://search.ndltd.org/etd/rit/oai:repository.rit.edu:theses-12880","repository":{"repo_id":"rit","name":"Rochester Institute of Technology","base_url":"https://repository.rit.edu/do/oai/"},"display":{"title":"Improving Automatic Refactoring Candidate Identification","abstract":"Extract method refactoring is pivotal for enhancing code readability, maintainability, and modularity by segmenting complex code into clearer, isolated methods. Identifying opportunities for such refactorings necessitates a deep understanding of the codebase’s evolution and its intricate relationships. Current methodologies utilize developer commit messages, advanced graph analysis, and diverse machine learning approaches to automate this identification process. This research delves into the application of deep learning-based Large Language Models (LLMs) to tackle the complexities inherent in extract method refactoring. We introduce innovative approaches, including the use of LLMs to cluster code blocks based on complex patterns and dependencies, and the analysis of developer commit messages to infer the intent behind refactorings. These methods aim to enhance the precision of identifying refactoring opportunities by leveraging historical code data and contextual insights. Through rigorous experiments, we compare the efficacy of our proposed methods against traditional refactoring tools using metrics such as precision, recall, and F1-score. Our findings reveal the significant potential of integrating deep learning techniques into the refactoring workflow, enhancing the automation and efficacy of software maintenance. This study not only validates the use of deep learning-based approaches for code refactoring but also paves the way for future research aimed at the continuous improvement of automated software maintenance tasks.","abstract_html":"Extract method refactoring is pivotal for enhancing code readability, maintainability, and modularity by segmenting complex code into clearer, isolated methods. Identifying opportunities for such refactorings necessitates a deep understanding of the codebase’s evolution and its intricate relationships. Current methodologies utilize developer commit messages, advanced graph analysis, and diverse machine learning approaches to automate this identification process. This research delves into the application of deep learning-based Large Language Models (LLMs) to tackle the complexities inherent in extract method refactoring. We introduce innovative approaches, including the use of LLMs to cluster code blocks based on complex patterns and dependencies, and the analysis of developer commit messages to infer the intent behind refactorings. These methods aim to enhance the precision of identifying refactoring opportunities by leveraging historical code data and contextual insights. Through rigorous experiments, we compare the efficacy of our proposed methods against traditional refactoring tools using metrics such as precision, recall, and F1-score. Our findings reveal the significant potential of integrating deep learning techniques into the refactoring workflow, enhancing the automation and efficacy of software maintenance. This study not only validates the use of deep learning-based approaches for code refactoring but also paves the way for future research aimed at the continuous improvement of automated software maintenance tasks.","abstract_has_math":false,"creators":["Devoe, Ryan"],"institution":null,"degree_name":"Software Engineering (MS)","degree_level":"Thesis","degree_discipline":"Software Engineering, Department of","degree_department":null,"school":null,"contributors":["Mohamed W. Mkaouer"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:05:36Z","subjects":["Code embeddings","Developer intent","Extract method refactoring","Large language models","Machine learning"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.rit.edu/theses/11737","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.rit.edu/theses/11737","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.rit.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Arepository.rit.edu%3Atheses-12880","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Mohamed W. Mkaouer"]},{"key":"dc:creator","label":"Author","values":["Devoe, Ryan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2024-05-23T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-05-10T07:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Software Engineering, Department of"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Software Engineering (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Code embeddings","Developer intent","Extract method refactoring","Large language models","Machine learning"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.rit.edu/theses/11737"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Extract method refactoring is pivotal for enhancing code readability, maintainability, and modularity by segmenting complex code into clearer, isolated methods. Identifying opportunities for such refactorings necessitates a deep understanding of the codebase’s evolution and its intricate relationships. Current methodologies utilize developer commit messages, advanced graph analysis, and diverse machine learning approaches to automate this identification process. This research delves into the application of deep learning-based Large Language Models (LLMs) to tackle the complexities inherent in extract method refactoring. We introduce innovative approaches, including the use of LLMs to cluster code blocks based on complex patterns and dependencies, and the analysis of developer commit messages to infer the intent behind refactorings. These methods aim to enhance the precision of identifying refactoring opportunities by leveraging historical code data and contextual insights. Through rigorous experiments, we compare the efficacy of our proposed methods against traditional refactoring tools using metrics such as precision, recall, and F1-score. Our findings reveal the significant potential of integrating deep learning techniques into the refactoring workflow, enhancing the automation and efficacy of software maintenance. This study not only validates the use of deep learning-based approaches for code refactoring but also paves the way for future research aimed at the continuous improvement of automated software maintenance tasks."]},{"key":"dc:title","label":"Title","values":["Improving Automatic Refactoring Candidate Identification"]}]}],"canonical_facts":{"dc:contributor":["Mohamed W. Mkaouer"],"dc:creator":["Devoe, Ryan"],"dc:date.available":["2024-05-23T07:00:00Z"],"dc:date.created":["2024-05-10T07:00:00Z"],"dc:description.abstract":["Extract method refactoring is pivotal for enhancing code readability, maintainability, and modularity by segmenting complex code into clearer, isolated methods. Identifying opportunities for such refactorings necessitates a deep understanding of the codebase’s evolution and its intricate relationships. Current methodologies utilize developer commit messages, advanced graph analysis, and diverse machine learning approaches to automate this identification process. This research delves into the application of deep learning-based Large Language Models (LLMs) to tackle the complexities inherent in extract method refactoring. We introduce innovative approaches, including the use of LLMs to cluster code blocks based on complex patterns and dependencies, and the analysis of developer commit messages to infer the intent behind refactorings. These methods aim to enhance the precision of identifying refactoring opportunities by leveraging historical code data and contextual insights. Through rigorous experiments, we compare the efficacy of our proposed methods against traditional refactoring tools using metrics such as precision, recall, and F1-score. Our findings reveal the significant potential of integrating deep learning techniques into the refactoring workflow, enhancing the automation and efficacy of software maintenance. This study not only validates the use of deep learning-based approaches for code refactoring but also paves the way for future research aimed at the continuous improvement of automated software maintenance tasks."],"dc:identifier":["https://repository.rit.edu/theses/11737"],"dc:subject":["Code embeddings","Developer intent","Extract method refactoring","Large language models","Machine learning"],"dc:title":["Improving Automatic Refactoring Candidate Identification"],"thesis:degree_discipline":["Software Engineering, Department of"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Software Engineering (MS)"]},"updated_at":"2026-11-19T09:05:36Z"}