{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,28]],"date-time":"2026-10-28T01:34:22Z","timestamp":1793151262916,"version":"4.5.0"},"reference-count":31,"publisher":"Wiley","issue":"10","license":[{"start":{"date-parts":[[2026,10,27]],"date-time":"2026-10-27T00:00:00Z","timestamp":1793059200000},"content-version":"vor","delay-in-days":26,"URL":"http:\/\/onlinelibrary.wiley.com\/termsAndConditions#vor"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"tdm","delay-in-days":0,"URL":"http:\/\/doi.wiley.com\/10.1002\/tdm_license_1.1"}],"content-domain":{"domain":["onlinelibrary.wiley.com"],"crossmark-restriction":true},"short-container-title":["J Software Evolu Process"],"published-print":{"date-parts":[[2026,10]]},"abstract":"<jats:title>ABSTRACT<\/jats:title>\n                  <jats:p>\n                    Software defect prediction supports targeted quality assurance by identifying modules that warrant early testing and maintenance attention. This study presents an Explainable Graph Neural Network (X\u2010GNN) framework for class\u2010level defect prediction, in which software versions are modeled as directed dependency graphs. Each class is represented by a hybrid feature vector combining code metrics with graph\u2010derived structural metrics. A Graph Convolutional Network (GCN) propagates information through class dependencies, while an attention mechanism assigns nonuniform importance to neighboring classes. SHapley Additive exPlanations (SHAP) are applied only after model training to interpret the resulting predictions. The empirical study is deliberately bounded to Defects4J v3.0.1, which contains 854 active reproducible defects across 17 Java projects. Under the adopted within\u2010project stratified train\/validation\/test protocol, X\u2010GNN achieved an accuracy of 0.85, F1\u2010score of 0.83, precision of 0.82, recall of 0.84, and ROC\u2010AUC of 0.88, outperforming random forest (RF), logistic regression (LR), and standard GCN. On the closure project, X\u2010GNN attained a ROC\u2010AUC of 0.94, compared with 0.90 for standard GCN and 0.87 for RF. SHAP\u2010based evaluation on the Lang project yielded a fidelity of 0.94, coverage of 0.91, and node importance agreement (NIA) of 0.87. The project\u2010level F1\u2010score comparison between X\u2010GNN and Standard sCN produced\n                    <jats:italic>p<\/jats:italic>\n                    \u2009=\u20090.003 with Cohen's\n                    <jats:italic>d<\/jats:italic>\n                    \u2009=\u20090.75. The results provide benchmark\u2010specific evidence that attention\u2010enhanced graph learning improves class\u2010level defect prediction, while post hoc attribution provides model\u2010centric interpretive information. The empirical claims are restricted to Defects4J and do not imply cross\u2010benchmark generalization or cross\u2010method explanation agreement.\n                  <\/jats:p>","DOI":"10.1002\/smr.70177","type":"journal-article","created":{"date-parts":[[2026,10,28]],"date-time":"2026-10-28T01:06:40Z","timestamp":1793149600000},"update-policy":"https:\/\/doi.org\/10.1002\/crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["X\u2010GNN for Interpretable Class\u2010Level Software Defect Prediction: An Empirical Study on Defects4J"],"prefix":"10.1002","volume":"38","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1452-0878","authenticated-orcid":false,"given":"Muhammad","family":"Saqib","sequence":"first","affiliation":[{"name":"Faculty of Electrical &amp; Computer Engineering University of Engineering &amp; Technology (UET)  Peshawar Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5594-7504","authenticated-orcid":false,"given":"Ijazul","family":"Haq","sequence":"additional","affiliation":[{"name":"Shien\u2010Ming Wu School of Intelligent Manufacturing South China University of Technology  Guangzhou China"},{"name":"Guangdong Janus Biotechnology Co. Ltd.  Guangzhou China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ibrar Ali","family":"Shah","sequence":"additional","affiliation":[{"name":"Department of Computer Software Engineering University of Engineering &amp; Technology (UET)  Mardan Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7958-9900","authenticated-orcid":false,"given":"Muhammad Faisal","family":"Abrar","sequence":"additional","affiliation":[{"name":"Department of Software Engineering, College of Computer Science and Engineering University of Hail  Hail Saudi Arabia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad Faisal","family":"Nadeem","sequence":"additional","affiliation":[{"name":"Informatics Complex  Islamabad Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2052-236X","authenticated-orcid":false,"given":"Sadaqat","family":"Jan","sequence":"additional","affiliation":[{"name":"Department of Computer Software Engineering University of Engineering &amp; Technology (UET)  Mardan Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"311","published-online":{"date-parts":[[2026,10,27]]},"reference":[{"key":"e_1_2_10_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.879815"},{"key":"e_1_2_10_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2007.256941"},{"key":"e_1_2_10_4_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2008.10.027"},{"key":"e_1_2_10_5_1","doi-asserted-by":"crossref","unstructured":"H.AljamaanandA.Alazba \u201c\u201cSoftware Defect Prediction Using Tree\u2010Based Ensembles \u201d in Proceedings of the 16th ACM International Conference on Predictive Models and Data Analytics in Software Engineering \u201d (2020): 1\u201110.","DOI":"10.1145\/3416508.3417114"},{"key":"e_1_2_10_6_1","first-page":"22092","article-title":"Graph Random Neural Networks for Semi\u2010Supervised Learning on Graphs","volume":"33","author":"Feng W.","year":"2020","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_10_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNNLS.2020.2978386"},{"key":"e_1_2_10_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2022.3144598"},{"key":"e_1_2_10_9_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2024.125290"},{"key":"e_1_2_10_10_1","doi-asserted-by":"crossref","unstructured":"L.Tang C.Tao H.Guo andJ.Zhang \u201cSoftware Defect Prediction via GCN Based on Structural and Context Information \u201d in 2022 9th International Conference on Dependable Systems and Their Applications (DSA) IEEE (2022): 310\u2011319.","DOI":"10.1109\/DSA56465.2022.00049"},{"key":"e_1_2_10_11_1","doi-asserted-by":"crossref","unstructured":"J.HumphreysandH. K.Dam \u201cAn Explainable Deep Model for Defect Prediction \u201d 2019 IEEE\/ACM 7th International Workshop on Realizing Artificial Intelligence Synergies in Software Engineering (RAISE) IEEE (2019): 49\u201155.","DOI":"10.1109\/RAISE.2019.00016"},{"key":"e_1_2_10_12_1","first-page":"4765","article-title":"A Unified Approach to Interpreting Model Predictions","volume":"30","author":"Lundberg S. M.","year":"2017","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_10_13_1","unstructured":"M.Staniak M.Ku\u017aba andP.Biecek \u201cLocal Explanations of Complex Machine Learning Models \u201d."},{"key":"e_1_2_10_14_1","doi-asserted-by":"crossref","unstructured":"C.Tantithamthavorn S.McIntosh A. E.Hassan andK.Matsumoto \u201cAutomated Parameter Optimization of Classification Techniques for Defect Prediction Models \u201d Proceedings of the 38th International Conference on Software Engineering (2016): 321\u2011332.","DOI":"10.1145\/2884781.2884857"},{"key":"e_1_2_10_15_1","doi-asserted-by":"crossref","unstructured":"A.Panichella C. V.Alexandru S.Panichella A.Bacchelli andH. C.Gall \u201cA Search\u2010Based Training Algorithm for Cost\u2010Aware Defect Prediction \u201d in Proceedings of the Genetic and Evolutionary Computation Conference 2016 (2016): 1077\u20111084.","DOI":"10.1145\/2908812.2908938"},{"key":"e_1_2_10_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950353"},{"key":"e_1_2_10_17_1","doi-asserted-by":"crossref","unstructured":"S.Herbold \u201cTraining Data Selection for Cross\u2010Project Defect Prediction \u201d in Proceedings of the 9th International Conference on Predictive Models in Software Engineering(2013): 1\u201110.","DOI":"10.1145\/2499393.2499395"},{"key":"e_1_2_10_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2018.11.005"},{"key":"e_1_2_10_19_1","doi-asserted-by":"crossref","unstructured":"S.Wang T.Liu andL.Tan \u201cAutomatically Learning Semantic Features for Defect Prediction \u201d Proceedings of the 38th International Conference on Software Engineering (2016): 297\u2011308.","DOI":"10.1145\/2884781.2884804"},{"key":"e_1_2_10_20_1","doi-asserted-by":"crossref","unstructured":"J.Li P.He J.Zhu andM. R.Lyu \u201cSoftware Defect Prediction via Convolutional Neural Network \u201d in 2017 IEEE International Conference on Software Quality Reliability and Security (QRS) IEEE (2017): 318\u2011328.","DOI":"10.1109\/QRS.2017.42"},{"key":"e_1_2_10_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290353"},{"key":"e_1_2_10_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3212695"},{"key":"e_1_2_10_23_1","unstructured":"A.Kanade P.Maniatis G.Balakrishnan andK.Shi \u201cLearning and Evaluating Contextual Embedding of Source Code \u201d in International Conference on Machine Learning PMLR (2020): 5110\u20115121."},{"key":"e_1_2_10_24_1","doi-asserted-by":"crossref","unstructured":"Z.Feng D.Guo D.Tang et\u00a0al. \u201cCodebert: A Pre\u2010Trained Model for Programming and Natural Languages \u201d Findings of the Association for Computational Linguistics: EMNLP 2020 (2020): 1536\u20111547.","DOI":"10.18653\/v1\/2020.findings-emnlp.139"},{"key":"e_1_2_10_25_1","doi-asserted-by":"crossref","unstructured":"Z.Zeng H.Tan H.Zhang J.Li Y.Zhang andL.Zhang \u201cAn Extensive Study on Pre\u2010Trained Models for Program Understanding and Generation \u201d in Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis (2022): 39\u201151.","DOI":"10.1145\/3533767.3534390"},{"key":"e_1_2_10_26_1","doi-asserted-by":"publisher","DOI":"10.3390\/fi16090318"},{"key":"e_1_2_10_27_1","first-page":"110346","article-title":"Simple and Efficient Heterogeneous Temporal Graph Neural Network","volume":"38","author":"Wang Y.","year":"2026","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_10_28_1","doi-asserted-by":"crossref","unstructured":"B.GeziciandA. K.Tarhan \u201cExplainable AI for Software Defect Prediction With Gradient Boosting Classifier \u201d in 2022 7th International Conference on Computer Science and Engineering (UBMK) IEEE (2022): 1\u20116.","DOI":"10.1109\/UBMK55850.2022.9919490"},{"key":"e_1_2_10_29_1","doi-asserted-by":"crossref","unstructured":"M. T.Ribeiro S.Singh andC.Guestrin \u201c\u2018Why Should I Trust You?\u2019 Explaining the Predictions of Any Classifier \u201d Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (2016): 1135\u20111144.","DOI":"10.1145\/2939672.2939778"},{"key":"e_1_2_10_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10115-013-0679-x"},{"key":"e_1_2_10_31_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.asoc.2024.112205"},{"key":"e_1_2_10_32_1","doi-asserted-by":"crossref","unstructured":"P.Biecek A.Gosiewska H.Baniecki andA.Izdebski \u201cIBreakDown: Model Agnostic Instance Level Variable Attributions \u201d (2019).","DOI":"10.32614\/CRAN.package.iBreakDown"}],"container-title":["Journal of Software: Evolution and Process"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1002\/smr.70177","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/full-xml\/10.1002\/smr.70177","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1002\/smr.70177","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,28]],"date-time":"2026-10-28T01:28:06Z","timestamp":1793150886000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1002\/smr.70177"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10]]},"references-count":31,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2026,10]]}},"alternative-id":["10.1002\/smr.70177"],"URL":"https:\/\/doi.org\/10.1002\/smr.70177","archive":["Portico"],"relation":{},"ISSN":["2047-7473","2047-7481"],"issn-type":[{"value":"2047-7473","type":"print"},{"value":"2047-7481","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10]]},"assertion":[{"value":"2026-03-09","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-10-10","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-10-27","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"e70177"}}