{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/15473"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/15473","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"Federated Learning in Software Engineering: A Comprehensive Study on Commit Prediction and Name-based Bug Detection","abstract":"In the domain of software development, where bugs are a persistent challenge, there is an ever-growing need for advanced predictive techniques to enhance software robustness. This thesis addresses this need by investigating the efficacy of Federated Learning (FL) in predicting and detecting bugs, specifically focusing on Just-In-Time (JIT) and Real-Time (RT) bug-inducing commits and name-based bug detection. The research begins by identifying the challenges in current bug prediction methods, including the limitations in data sharing due to privacy concerns and the inadequacies of traditional tools in identifying certain types of bugs. To address these issues, the thesis is structured into three comprehensive studies. The first study surveys the perceptions of twenty-three developers in micro and small-scale enterprises across the globe, focusing on JIT and RT bug-inducing commit predictions. This survey highlights a notable gap in the awareness and application of JIT and RT bug prediction tools and identifies an interest in FL as a promising collaborative and privacy-conscious approach. The second study advances this exploration by applying FL in the prediction of JIT and RT bug-inducing commits. It compares traditional machine learning models, such as Logistic Regression and Deep Learning, with their federated counterparts across 126,103 commits spanning over three benchmarks. The results demonstrate that FL models outperform their standalone counterparts in cross-project consistency, effectively manage imbalanced datasets, and reduce training time, with certain aggregation strategies like FedAvgM improving accuracy. In the third study, FL's application is extended to multiclass name-based bug detection. Datasets encompassing 131 projects are used to develop models that identify errors in variable and function names. The comparison between FL and centralized learning models reveals FL's superior capability in generalizing across domains, reducing resource commitments, and improving cross-project outcomes, although some within-project evaluations showed a slight degradation in performance. Overall, this thesis presents FL as a viable and effective solution for enhancing bug prediction and detection in software development. It contributes significantly to the understanding of FL's application in software engineering, offering a blend of theoretical and practical insights. The findings advocate for the integration of FL in software development practices, highlighting its potential in addressing the dual challenges of privacy and efficiency in bug prediction and detection.","abstract_html":"In the domain of software development, where bugs are a persistent challenge, there is an ever-growing need for advanced predictive techniques to enhance software robustness. This thesis addresses this need by investigating the efficacy of Federated Learning (FL) in predicting and detecting bugs, specifically focusing on Just-In-Time (JIT) and Real-Time (RT) bug-inducing commits and name-based bug detection. The research begins by identifying the challenges in current bug prediction methods, including the limitations in data sharing due to privacy concerns and the inadequacies of traditional tools in identifying certain types of bugs. To address these issues, the thesis is structured into three comprehensive studies. The first study surveys the perceptions of twenty-three developers in micro and small-scale enterprises across the globe, focusing on JIT and RT bug-inducing commit predictions. This survey highlights a notable gap in the awareness and application of JIT and RT bug prediction tools and identifies an interest in FL as a promising collaborative and privacy-conscious approach. The second study advances this exploration by applying FL in the prediction of JIT and RT bug-inducing commits. It compares traditional machine learning models, such as Logistic Regression and Deep Learning, with their federated counterparts across 126,103 commits spanning over three benchmarks. The results demonstrate that FL models outperform their standalone counterparts in cross-project consistency, effectively manage imbalanced datasets, and reduce training time, with certain aggregation strategies like FedAvgM improving accuracy. In the third study, FL&#x27;s application is extended to multiclass name-based bug detection. Datasets encompassing 131 projects are used to develop models that identify errors in variable and function names. The comparison between FL and centralized learning models reveals FL&#x27;s superior capability in generalizing across domains, reducing resource commitments, and improving cross-project outcomes, although some within-project evaluations showed a slight degradation in performance. Overall, this thesis presents FL as a viable and effective solution for enhancing bug prediction and detection in software development. It contributes significantly to the understanding of FL&#x27;s application in software engineering, offering a blend of theoretical and practical insights. The findings advocate for the integration of FL in software development practices, highlighting its potential in addressing the dual challenges of privacy and efficiency in bug prediction and detection.","abstract_has_math":false,"creators":["Islam, Md Rayhan"],"institution":"University of Saskatchewan","degree_name":"Master of Science (M.Sc.)","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Roy, Banani"],"committee_chairs":[],"committee_members":["Rochan, Mrigank","Deters, Ralph"],"year":2024,"date_issued":"2024-01-30","date_published":"2024-01-30","updated_at":"2026-11-19T10:11:42Z","subjects":["Bug Prediction, JIT, Machine Learning, Federated Learning, Deep Learning, Named-Based Bug, Bug Detection"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0005-0022-2716"],"render_values":[{"text":"0009-0005-0022-2716","href":"https://orcid.org/0009-0005-0022-2716","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/10388/15473","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/15473","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%3Asask%3Aoai%3Aharvest.usask.ca%3A10388%2F15473","prefix":"oai_dc"},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F15473","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Roy, Banani"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Rochan, Mrigank","Deters, Ralph"]},{"key":"dc:creator","label":"Author","values":["Islam, Md Rayhan"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0005-0022-2716"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-01-30T19:42:55Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2024"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-04"]},{"key":"dc:date.issued","label":"Date","values":["2024-01-30"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["April 2024"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2024-01-30T19:42:55Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.Sc.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Bug Prediction, JIT, Machine Learning, Federated Learning, Deep Learning, Named-Based Bug, Bug Detection"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/15473"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["In the domain of software development, where bugs are a persistent challenge, there is an ever-growing need for advanced predictive techniques to enhance software robustness. This thesis addresses this need by investigating the efficacy of Federated Learning (FL) in predicting and detecting bugs, specifically focusing on Just-In-Time (JIT) and Real-Time (RT) bug-inducing commits and name-based bug detection. The research begins by identifying the challenges in current bug prediction methods, including the limitations in data sharing due to privacy concerns and the inadequacies of traditional tools in identifying certain types of bugs. To address these issues, the thesis is structured into three comprehensive studies. The first study surveys the perceptions of twenty-three developers in micro and small-scale enterprises across the globe, focusing on JIT and RT bug-inducing commit predictions. This survey highlights a notable gap in the awareness and application of JIT and RT bug prediction tools and identifies an interest in FL as a promising collaborative and privacy-conscious approach. The second study advances this exploration by applying FL in the prediction of JIT and RT bug-inducing commits. It compares traditional machine learning models, such as Logistic Regression and Deep Learning, with their federated counterparts across 126,103 commits spanning over three benchmarks. The results demonstrate that FL models outperform their standalone counterparts in cross-project consistency, effectively manage imbalanced datasets, and reduce training time, with certain aggregation strategies like FedAvgM improving accuracy. In the third study, FL's application is extended to multiclass name-based bug detection. Datasets encompassing 131 projects are used to develop models that identify errors in variable and function names. The comparison between FL and centralized learning models reveals FL's superior capability in generalizing across domains, reducing resource commitments, and improving cross-project outcomes, although some within-project evaluations showed a slight degradation in performance. Overall, this thesis presents FL as a viable and effective solution for enhancing bug prediction and detection in software development. It contributes significantly to the understanding of FL's application in software engineering, offering a blend of theoretical and practical insights. The findings advocate for the integration of FL in software development practices, highlighting its potential in addressing the dual challenges of privacy and efficiency in bug prediction and detection."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Federated Learning in Software Engineering: A Comprehensive Study on Commit Prediction and Name-based Bug Detection"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Roy, Banani"],"dc:contributor.committeemember":["Rochan, Mrigank","Deters, Ralph"],"dc:creator":["Islam, Md Rayhan"],"dc:date.accessioned":["2024-01-30T19:42:55Z"],"dc:date.copyright":["2024"],"dc:date.created":["2024-04"],"dc:date.issued":["2024-01-30"],"dc:date.submitted":["April 2024"],"dc:date.updated":["2024-01-30T19:42:55Z"],"dc:description.abstract":["In the domain of software development, where bugs are a persistent challenge, there is an ever-growing need for advanced predictive techniques to enhance software robustness. This thesis addresses this need by investigating the efficacy of Federated Learning (FL) in predicting and detecting bugs, specifically focusing on Just-In-Time (JIT) and Real-Time (RT) bug-inducing commits and name-based bug detection. The research begins by identifying the challenges in current bug prediction methods, including the limitations in data sharing due to privacy concerns and the inadequacies of traditional tools in identifying certain types of bugs. To address these issues, the thesis is structured into three comprehensive studies. The first study surveys the perceptions of twenty-three developers in micro and small-scale enterprises across the globe, focusing on JIT and RT bug-inducing commit predictions. This survey highlights a notable gap in the awareness and application of JIT and RT bug prediction tools and identifies an interest in FL as a promising collaborative and privacy-conscious approach. The second study advances this exploration by applying FL in the prediction of JIT and RT bug-inducing commits. It compares traditional machine learning models, such as Logistic Regression and Deep Learning, with their federated counterparts across 126,103 commits spanning over three benchmarks. The results demonstrate that FL models outperform their standalone counterparts in cross-project consistency, effectively manage imbalanced datasets, and reduce training time, with certain aggregation strategies like FedAvgM improving accuracy. In the third study, FL's application is extended to multiclass name-based bug detection. Datasets encompassing 131 projects are used to develop models that identify errors in variable and function names. The comparison between FL and centralized learning models reveals FL's superior capability in generalizing across domains, reducing resource commitments, and improving cross-project outcomes, although some within-project evaluations showed a slight degradation in performance. Overall, this thesis presents FL as a viable and effective solution for enhancing bug prediction and detection in software development. It contributes significantly to the understanding of FL's application in software engineering, offering a blend of theoretical and practical insights. The findings advocate for the integration of FL in software development practices, highlighting its potential in addressing the dual challenges of privacy and efficiency in bug prediction and detection."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/15473"],"dc:language.iso":["en"],"dc:subject":["Bug Prediction, JIT, Machine Learning, Federated Learning, Deep Learning, Named-Based Bug, Bug Detection"],"dc:title":["Federated Learning in Software Engineering: A Comprehensive Study on Commit Prediction and Name-based Bug Detection"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0009-0005-0022-2716"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science (M.Sc.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T10:11:42Z"}