{"id":{"repo_id":"uwo","oai_identifier":"oai:uwo.scholaris.ca:20.500.14721/40107"},"canonical_url":"https://search.ndltd.org/etd/uwo/oai:uwo.scholaris.ca:20.500.14721/40107","repository":{"repo_id":"uwo","name":"Western University","base_url":"https://uwo.scholaris.ca/server/oai/request"},"display":{"title":"Stateful File-Level Fault Proneness Prediction Framework Using Process and Source Code Metrics","abstract":"Software fault proneness prediction supports quality assurance in continuous software engineering by enabling early identification of fault prone components in DevOps and CI/CD environments. Existing approaches typically employ static snapshots of product or process metrics within black-box classifiers, which limit available temporal context, interpretability, and the capture of file-level evolutionary dynamics. This thesis develops Just-in-Time Stateful Filelevel Fault Proneness Prediction (JIT-SFPP), a framework that explicitly models each file Fj in commit Ci as a state S (FCi, j) defined by a three-facet vector: (i) process metrics (co-change count, churn), (ii) source-code metrics (cyclomatic complexity, fan-out), and (iii) differential metrics recording process and source code changes between consecutive commits. States are discretized into symbolic transitions (Up/Down/Steady) and tracked chronologically. Ground truth employs per-file look-ahead labelling over a horizon H, with fault-inducing commits identified via commit-message heuristics and the SZZ algorithm. The framework contributes five predictors: (1) a Historic Probability Forecasting (HPF) predictor; (2) Evolving Single Nucleotide Variation (E-SNV); (3) Combination Nucleotide Variation (CNV); (4) CNV with Logistic Regression (CNV-LR); and (5) the Fault Proneness Graph Predictor (FPGP). All predictors are evaluated on data extracted from open source software. We compare our results against a widely-used JIT defect prediction baseline reporting average F1 of 0.45. FPGP achieves an average F1 of 0.676. The file-level predictors (HPF, E-SNV, CNV, CNV-LR) achieve average F1 in the 0.36 to 0.44 range, which is comparable to the available baseline despite the finer analysis granularity. This comes in contrast with the F1-scores exceeding 80% achieved using all available file-history, as established by our version-level benchmark in Chapter 4. The thesis proposes transparent, evolution-aware fault proneness prediction techniques by introducing explicit file states and leveraging them within bio-inspired sequence analysis. We thus advance the state of the art by improving performance and increasing tractability. The introduction of graph sensitivity through FPGP further extends this contribution to the commit level providing a predictive framework where system structure, explicit or implicit, informs the predictive process. Limitations of the current framework are discussed, along with directions for future work.","abstract_html":"Software fault proneness prediction supports quality assurance in continuous software engineering by enabling early identification of fault prone components in DevOps and CI/CD environments. Existing approaches typically employ static snapshots of product or process metrics within black-box classifiers, which limit available temporal context, interpretability, and the capture of file-level evolutionary dynamics. This thesis develops Just-in-Time Stateful Filelevel Fault Proneness Prediction (JIT-SFPP), a framework that explicitly models each file Fj in commit Ci as a state S (FCi, j) defined by a three-facet vector: (i) process metrics (co-change count, churn), (ii) source-code metrics (cyclomatic complexity, fan-out), and (iii) differential metrics recording process and source code changes between consecutive commits. States are discretized into symbolic transitions (Up/Down/Steady) and tracked chronologically. Ground truth employs per-file look-ahead labelling over a horizon H, with fault-inducing commits identified via commit-message heuristics and the SZZ algorithm. The framework contributes five predictors: (1) a Historic Probability Forecasting (HPF) predictor; (2) Evolving Single Nucleotide Variation (E-SNV); (3) Combination Nucleotide Variation (CNV); (4) CNV with Logistic Regression (CNV-LR); and (5) the Fault Proneness Graph Predictor (FPGP). All predictors are evaluated on data extracted from open source software. We compare our results against a widely-used JIT defect prediction baseline reporting average F1 of 0.45. FPGP achieves an average F1 of 0.676. The file-level predictors (HPF, E-SNV, CNV, CNV-LR) achieve average F1 in the 0.36 to 0.44 range, which is comparable to the available baseline despite the finer analysis granularity. This comes in contrast with the F1-scores exceeding 80% achieved using all available file-history, as established by our version-level benchmark in Chapter 4. The thesis proposes transparent, evolution-aware fault proneness prediction techniques by introducing explicit file states and leveraging them within bio-inspired sequence analysis. We thus advance the state of the art by improving performance and increasing tractability. The introduction of graph sensitivity through FPGP further extends this contribution to the commit level providing a predictive framework where system structure, explicit or implicit, informs the predictive process. Limitations of the current framework are discussed, along with directions for future work.","abstract_has_math":false,"creators":["Grigoriou, Marios Stavros"],"institution":"The University of Western Ontario","degree_name":"Ph D","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Kontogiannis, Kostas"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-07-14","date_published":"2026-07-14","updated_at":"2026-11-26T14:01:51Z","subjects":["stateful representation","software maintenance","software metrics","software engineering","defect prediction","fault proneness prediction"],"languages":["en_ca"],"rights":["Marios Stavros Grigoriou, 2026"],"rights_urls":["https://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.14721/40107","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.14721/40107","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%3Auwo%3Aoai%3Auwo.scholaris.ca%3A20.500.14721%2F40107","prefix":"oai_dc"},"source_record":{"url":"https://uwo.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Auwo.scholaris.ca%3A20.500.14721%2F40107","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Kontogiannis, Kostas"]},{"key":"dc:creator","label":"Author","values":["Grigoriou, Marios Stavros"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-14T14:31:48Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-07-14"]},{"key":"dc:publisher","label":"Institution","values":["The University of Western Ontario"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Ph D"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Western Ontario"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["stateful representation","software maintenance","software metrics","software engineering","defect prediction","fault proneness prediction"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_ca"]},{"key":"dc:rights","label":"Dc Rights","values":["Marios Stavros Grigoriou, 2026"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.14721/40107"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Software fault proneness prediction supports quality assurance in continuous software engineering by enabling early identification of fault prone components in DevOps and CI/CD environments. Existing approaches typically employ static snapshots of product or process metrics within black-box classifiers, which limit available temporal context, interpretability, and the capture of file-level evolutionary dynamics. This thesis develops Just-in-Time Stateful Filelevel Fault Proneness Prediction (JIT-SFPP), a framework that explicitly models each file Fj in commit Ci as a state S (FCi, j) defined by a three-facet vector: (i) process metrics (co-change count, churn), (ii) source-code metrics (cyclomatic complexity, fan-out), and (iii) differential metrics recording process and source code changes between consecutive commits. States are discretized into symbolic transitions (Up/Down/Steady) and tracked chronologically. Ground truth employs per-file look-ahead labelling over a horizon H, with fault-inducing commits identified via commit-message heuristics and the SZZ algorithm. The framework contributes five predictors: (1) a Historic Probability Forecasting (HPF) predictor; (2) Evolving Single Nucleotide Variation (E-SNV); (3) Combination Nucleotide Variation (CNV); (4) CNV with Logistic Regression (CNV-LR); and (5) the Fault Proneness Graph Predictor (FPGP). All predictors are evaluated on data extracted from open source software. We compare our results against a widely-used JIT defect prediction baseline reporting average F1 of 0.45. FPGP achieves an average F1 of 0.676. The file-level predictors (HPF, E-SNV, CNV, CNV-LR) achieve average F1 in the 0.36 to 0.44 range, which is comparable to the available baseline despite the finer analysis granularity. This comes in contrast with the F1-scores exceeding 80% achieved using all available file-history, as established by our version-level benchmark in Chapter 4. The thesis proposes transparent, evolution-aware fault proneness prediction techniques by introducing explicit file states and leveraging them within bio-inspired sequence analysis. We thus advance the state of the art by improving performance and increasing tractability. The introduction of graph sensitivity through FPGP further extends this contribution to the commit level providing a predictive framework where system structure, explicit or implicit, informs the predictive process. Limitations of the current framework are discussed, along with directions for future work."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["When we build and update software, small changes made by developers can accidentally introduce faults, that is, unwanted behaviours that cause apps or systems to crash, slow down, or behave incorrectly. As software is now updated many times a day through continuous development and delivery (DevOps and CI/CD), finding and fixing these faults early has become critical. This thesis focuses on fault proneness prediction: automatically identifying which individual files in a large software project are most likely to contain or soon introduce a fault. Traditional prediction methods often rely on complex “black-box” machine-learning models that are hard for developers to understand or trust. This work offers a different, more transparent approach. The core idea is to treat each file as a living entity whose “health” is tracked over time. For every commit, the system records a three-part state for each file: how is it developed (process metrics), what are its internal “measurements” (source-code metrics such as complexity and maintainability), and how much those changed since the last commit (evolutionary metrics). These states are turned into simple symbolic sequences that resemble DNA sequences. Using this representation, the thesis introduces several new prediction methods, including Evolving Single Nucleotide Variation (E-SNV), Combination Nucleotide Variation (CNV), and a graph-based model that spreads risk warnings across connected files, much like vibrations travel through a spider’s web when it catches prey. All techniques respect the natural order of development (they never “look into the future”) and are evaluated using standard measures such as precision, recall, and F1-score on real open-source projects. The goal is to give developers clear, intuitive warnings they can act on immediately within fast-moving CI/CD pipelines, helping teams release higher-quality software more quickly and with fewer bugs. By borrowing well-understood ideas from biology and graph theory, this research aims to make fault prediction both accurate and understandable, bridging the gap between advanced research and everyday software development practice."]},{"key":"dc:title","label":"Title","values":["Stateful File-Level Fault Proneness Prediction Framework Using Process and Source Code Metrics"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Kontogiannis, Kostas"],"dc:creator":["Grigoriou, Marios Stavros"],"dc:date.accessioned":["2026-08-14T14:31:48Z"],"dc:date.issued":["2026-07-14"],"dc:description.abstract":["Software fault proneness prediction supports quality assurance in continuous software engineering by enabling early identification of fault prone components in DevOps and CI/CD environments. Existing approaches typically employ static snapshots of product or process metrics within black-box classifiers, which limit available temporal context, interpretability, and the capture of file-level evolutionary dynamics. This thesis develops Just-in-Time Stateful Filelevel Fault Proneness Prediction (JIT-SFPP), a framework that explicitly models each file Fj in commit Ci as a state S (FCi, j) defined by a three-facet vector: (i) process metrics (co-change count, churn), (ii) source-code metrics (cyclomatic complexity, fan-out), and (iii) differential metrics recording process and source code changes between consecutive commits. States are discretized into symbolic transitions (Up/Down/Steady) and tracked chronologically. Ground truth employs per-file look-ahead labelling over a horizon H, with fault-inducing commits identified via commit-message heuristics and the SZZ algorithm. The framework contributes five predictors: (1) a Historic Probability Forecasting (HPF) predictor; (2) Evolving Single Nucleotide Variation (E-SNV); (3) Combination Nucleotide Variation (CNV); (4) CNV with Logistic Regression (CNV-LR); and (5) the Fault Proneness Graph Predictor (FPGP). All predictors are evaluated on data extracted from open source software. We compare our results against a widely-used JIT defect prediction baseline reporting average F1 of 0.45. FPGP achieves an average F1 of 0.676. The file-level predictors (HPF, E-SNV, CNV, CNV-LR) achieve average F1 in the 0.36 to 0.44 range, which is comparable to the available baseline despite the finer analysis granularity. This comes in contrast with the F1-scores exceeding 80% achieved using all available file-history, as established by our version-level benchmark in Chapter 4. The thesis proposes transparent, evolution-aware fault proneness prediction techniques by introducing explicit file states and leveraging them within bio-inspired sequence analysis. We thus advance the state of the art by improving performance and increasing tractability. The introduction of graph sensitivity through FPGP further extends this contribution to the commit level providing a predictive framework where system structure, explicit or implicit, informs the predictive process. Limitations of the current framework are discussed, along with directions for future work."],"dc:description.abstractgeneral":["When we build and update software, small changes made by developers can accidentally introduce faults, that is, unwanted behaviours that cause apps or systems to crash, slow down, or behave incorrectly. As software is now updated many times a day through continuous development and delivery (DevOps and CI/CD), finding and fixing these faults early has become critical. This thesis focuses on fault proneness prediction: automatically identifying which individual files in a large software project are most likely to contain or soon introduce a fault. Traditional prediction methods often rely on complex “black-box” machine-learning models that are hard for developers to understand or trust. This work offers a different, more transparent approach. The core idea is to treat each file as a living entity whose “health” is tracked over time. For every commit, the system records a three-part state for each file: how is it developed (process metrics), what are its internal “measurements” (source-code metrics such as complexity and maintainability), and how much those changed since the last commit (evolutionary metrics). These states are turned into simple symbolic sequences that resemble DNA sequences. Using this representation, the thesis introduces several new prediction methods, including Evolving Single Nucleotide Variation (E-SNV), Combination Nucleotide Variation (CNV), and a graph-based model that spreads risk warnings across connected files, much like vibrations travel through a spider’s web when it catches prey. All techniques respect the natural order of development (they never “look into the future”) and are evaluated using standard measures such as precision, recall, and F1-score on real open-source projects. The goal is to give developers clear, intuitive warnings they can act on immediately within fast-moving CI/CD pipelines, helping teams release higher-quality software more quickly and with fewer bugs. By borrowing well-understood ideas from biology and graph theory, this research aims to make fault prediction both accurate and understandable, bridging the gap between advanced research and everyday software development practice."],"dc:identifier.uri":["https://hdl.handle.net/20.500.14721/40107"],"dc:language.iso":["en_ca"],"dc:publisher":["The University of Western Ontario"],"dc:rights":["Marios Stavros Grigoriou, 2026"],"dc:rights.uri":["https://creativecommons.org/licenses/by/4.0/"],"dc:subject":["stateful representation","software maintenance","software metrics","software engineering","defect prediction","fault proneness prediction"],"dc:title":["Stateful File-Level Fault Proneness Prediction Framework Using Process and Source Code Metrics"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Ph D"],"thesis:institution_name":["The University of Western Ontario"]},"updated_at":"2026-11-26T14:01:51Z"}