{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,19]],"date-time":"2026-03-19T09:28:33Z","timestamp":1773912513747,"version":"3.50.1"},"reference-count":47,"publisher":"Oxford University Press (OUP)","issue":"3","license":[{"start":{"date-parts":[[2025,11,6]],"date-time":"2025-11-06T00:00:00Z","timestamp":1762387200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/pages\/standard-publication-reuse-rights"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62172194"],"award-info":[{"award-number":["62172194"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62202206"],"award-info":[{"award-number":["62202206"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["U1836116"],"award-info":[{"award-number":["U1836116"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Qinglan Project of Jiangsu Province, and the Graduate Research Innovation Project of Jiangsu Province","award":["KYCX23 3676"],"award-info":[{"award-number":["KYCX23 3676"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2026,3,16]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Software defect prediction (SDP) is crucial for enhancing software quality and reducing development costs. Prevailing SDP methods often depend on traditional code metrics, which inadequately capture vital semantic information from source code, thereby limiting defect identification accuracy. This paper introduces DP-S3, a novel SDP model that integrates features from abstract syntax trees (ASTs), program slices, and standard metrics. DP-S3 extracts ASTs and program slices, transforming them into vector representations. A hierarchical long short-term memory network then learns semantic features from these vectors, which are combined with standard metrics from the PROMISE repository. A key innovation is our feature fusion strategy employing a channel self-attention mechanism to dynamically weight the three feature sets. We evaluated DP-S3 on seven open-source Java projects from the Apache repository against several state-of-the-art methods. The results demonstrate DP-S3\u2019s superior performance, achieving average improvements of up to 3.8% in area under the receiver operating characteristic curve, 4.5% in F1, and 7.5% in Matthews correlation coefficient over baselines, showcasing its effectiveness. Key limitations include its current focus on Java projects and within-project defect prediction. Nevertheless, this work concludes that a synergistic fusion of syntactic, semantic (slice-based), and traditional metric features, guided by attention mechanisms, significantly enhances SDP capabilities and offers a promising direction for future research.<\/jats:p>","DOI":"10.1093\/comjnl\/bxaf126","type":"journal-article","created":{"date-parts":[[2025,11,9]],"date-time":"2025-11-09T05:51:46Z","timestamp":1762667506000},"page":"470-491","source":"Crossref","is-referenced-by-count":0,"title":["DP-S3: software defect prediction through feature fusion with syntax trees, program slices and standard features"],"prefix":"10.1093","volume":"69","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3124-5452","authenticated-orcid":false,"given":"Jinfu","family":"Chen","sequence":"first","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]},{"name":"Jiangsu Key Laboratory of Security Technology for Industrial Cyberspace , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-1662-7839","authenticated-orcid":false,"given":"Zhehao","family":"Li","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-8268-3023","authenticated-orcid":false,"given":"Jiaping","family":"Xu","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0743-1156","authenticated-orcid":false,"given":"Saihua","family":"Cai","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]},{"name":"Jiangsu Key Laboratory of Security Technology for Industrial Cyberspace , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5428-2045","authenticated-orcid":false,"given":"Jian","family":"Sun","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5527-5114","authenticated-orcid":false,"given":"Rexford Nii Ayitey","family":"Sosu","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]},{"name":"Faculty of Computing and Information Systems , Ghana Communication Technology University, Tesano, Accra GA-416-8689,","place":["Ghana"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3204-6006","authenticated-orcid":false,"given":"Jiming","family":"Chen","sequence":"additional","affiliation":[{"name":"School of Computer Science and Communication Engineering , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]},{"name":"Jiangsu Key Laboratory of Security Technology for Industrial Cyberspace , Jiangsu University, 301 Xuefu Road, Jingkou District, Zhenjiang, Jiangsu 212013,","place":["China"]}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"286","published-online":{"date-parts":[[2025,11,6]]},"reference":[{"key":"2026031900571478900_ref1","first-page":"874","article-title":"Software defect prediction via transformer","volume-title":"2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC)","author":"Zhang"},{"key":"2026031900571478900_ref2","doi-asserted-by":"publisher","first-page":"46","DOI":"10.1109\/MS.2017.3571582","article-title":"Software testing: the state of the practice","volume":"34","author":"Kassab","year":"2017","journal-title":"IEEE Softw"},{"key":"2026031900571478900_ref3","doi-asserted-by":"publisher","first-page":"100","DOI":"10.1016\/j.neucom.2019.11.067","article-title":"Deep learning based software defect prediction","volume":"385","author":"Qiao","year":"2020","journal-title":"Neurocomputing"},{"key":"2026031900571478900_ref4","first-page":"20","article-title":"Empirical studies on multi-objective file-level software defect prediction method","volume":"30","author":"Chen","year":"2020","journal-title":"J Software"},{"key":"2026031900571478900_ref5","first-page":"1308","article-title":"Cross-project defect prediction method based on feature transfer and instance transfer","volume":"30","author":"Ni","year":"2019","journal-title":"J Software"},{"key":"2026031900571478900_ref6","first-page":"575","article-title":"Research on construction method of defect prediction dataset for spacecraft software","volume":"48","author":"Zheng","year":"2021","journal-title":"Comput Sci"},{"key":"2026031900571478900_ref7","doi-asserted-by":"publisher","first-page":"122","DOI":"10.1145\/2902362","article-title":"On the naturalness of software","volume":"59","author":"Hindle","year":"2016","journal-title":"Commun ACM"},{"key":"2026031900571478900_ref8","first-page":"46","article-title":"Lessons learned from using a deep tree-based model for software defect prediction in practice","volume-title":"Proceedings of the 16th International Conference on Mining Software Repositories, MSR 2019, 26-27 May 2019, Montreal, Canada","author":"Dam"},{"key":"2026031900571478900_ref9","doi-asserted-by":"publisher","first-page":"142","DOI":"10.1016\/j.infsof.2018.10.001","article-title":"Automatically identifying code features for software defect prediction: Using AST n-grams","volume":"106","author":"Shippey","year":"2019","journal-title":"Inf Softw Technol"},{"key":"2026031900571478900_ref10","first-page":"1","article-title":"A model based on program slice and deep learning for software defect prediction","volume-title":"29th International Conference on Computer Communications and Networks, ICCCN 2020, Honolulu, HI, USA, August 3-6, 2020","author":"Tian"},{"key":"2026031900571478900_ref11","doi-asserted-by":"publisher","first-page":"84","DOI":"10.1109\/TSE.2022.3144348","article-title":"DeepLineDP: towards a deep learning approach for line-level defect prediction","volume":"49","author":"Pornprasit","year":"2023","journal-title":"IEEE Trans Software Eng"},{"key":"2026031900571478900_ref12","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3183339","article-title":"How far we have progressed in the journey? An examination of cross-project defect prediction","volume":"27","author":"Zhou","year":"2018","journal-title":"ACM Trans Softw Eng Methodol"},{"key":"2026031900571478900_ref13","doi-asserted-by":"publisher","first-page":"304","DOI":"10.1109\/TR.2020.3001918","article-title":"FCCA: hybrid code representation for functional clone detection using attention networks","volume":"70","author":"Hua","year":"2021","journal-title":"IEEE Trans Reliab"},{"key":"2026031900571478900_ref14","doi-asserted-by":"publisher","first-page":"443","DOI":"10.1049\/iet-sen.2019.0149","article-title":"Software defect prediction via LSTM","volume":"14","author":"Deng","year":"2020","journal-title":"IET Softw"},{"key":"2026031900571478900_ref15","doi-asserted-by":"publisher","first-page":"711","DOI":"10.1109\/TR.2020.3047396","article-title":"Software defect prediction based on gated hierarchical lstms","volume":"70","author":"Wang","year":"2021","journal-title":"IEEE Trans Reliab"},{"key":"2026031900571478900_ref16","doi-asserted-by":"publisher","first-page":"170844","DOI":"10.1109\/ACCESS.2019.2953696","article-title":"An abstract syntax tree encoding method for cross-project defect prediction","volume":"7","author":"Cai","year":"2019","journal-title":"IEEE Access"},{"key":"2026031900571478900_ref17","doi-asserted-by":"publisher","first-page":"249","DOI":"10.1109\/TSUSC.2023.3248965","article-title":"Defect prediction via tree-based encoding with hybrid granularity for software sustainability","volume":"9","author":"Qiu","year":"2024","journal-title":"IEEE Trans Sustainable Comput"},{"key":"2026031900571478900_ref18","first-page":"45","article-title":"Convolutional neural networks over control flow graphs for software defect prediction","volume-title":"29th IEEE International Conference on Tools with Artificial Intelligence, ICTAI 2017, Boston, MA, USA, November 6-8, 2017","author":"Phan"},{"key":"2026031900571478900_ref19","doi-asserted-by":"publisher","first-page":"1279","DOI":"10.1007\/s00521-022-08046-y","article-title":"The application of neural network for software vulnerability detection: a review","volume":"35","author":"Zhu","year":"2023","journal-title":"Neural Comput Appl"},{"key":"2026031900571478900_ref20","doi-asserted-by":"publisher","first-page":"267","DOI":"10.1007\/978-981-15-9651-3_23","article-title":"A review on word embedding techniques for text classification","volume-title":"Innovative Data Communication Technologies and Application","author":"Selva Birunda","year":"2021"},{"key":"2026031900571478900_ref21","doi-asserted-by":"publisher","first-page":"74","DOI":"10.33365\/jtk.v14i2.732","article-title":"Perbandingan kinerja word embedding word2vec, glove, dan fasttext pada klasifikasi teks","volume":"14","author":"Nurdin","year":"2020","journal-title":"Jurnal Tekno Kompak"},{"key":"2026031900571478900_ref22","doi-asserted-by":"publisher","first-page":"155","DOI":"10.1017\/S1351324916000334","article-title":"Word2vec","volume":"23","author":"Church","year":"2017","journal-title":"Nat Lang Eng"},{"key":"2026031900571478900_ref23","first-page":"1532","article-title":"Glove: Global vectors for word representation","volume-title":"Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group of the ACL","author":"Pennington"},{"key":"2026031900571478900_ref24","doi-asserted-by":"publisher","first-page":"83812","DOI":"10.1109\/ACCESS.2019.2925313","article-title":"Seml: a semantic LSTM model for software defect prediction","volume":"7","author":"Liang","year":"2019","journal-title":"IEEE Access"},{"key":"2026031900571478900_ref25","first-page":"1","article-title":"Neural network based software defect prediction using genetic algorithm and particle swarm optimization","volume-title":"2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT)","author":"Ayon"},{"key":"2026031900571478900_ref26","volume-title":"Advances in Neural Information Processing Systems 30 (NIPS 2017)"},{"key":"2026031900571478900_ref27","first-page":"671","article-title":"Quantitative measurement of program quality","volume-title":"Proceedings of the 23rd ACM national conference, ACM 1968, USA, 1968","author":"Rubey"},{"key":"2026031900571478900_ref28","doi-asserted-by":"publisher","first-page":"e0247444","DOI":"10.1371\/journal.pone.0247444","article-title":"Attention based GRU-LSTM for software defect prediction","volume":"16","author":"Munir","year":"2021","journal-title":"PLoS One"},{"key":"2026031900571478900_ref29","doi-asserted-by":"publisher","first-page":"94","DOI":"10.6025\/jnt\/2018\/9\/3\/94-101","article-title":"Software fault-prediction using combination of neural network and naive Bayes algorithm","volume":"9","author":"Arasteh","year":"2018","journal-title":"J Netw Technol"},{"key":"2026031900571478900_ref30","doi-asserted-by":"publisher","first-page":"229","DOI":"10.1007\/s10836-024-06116-8","article-title":"Sahand: A software fault-prediction method using autoencoder neural network and k-means algorithm","volume":"40","author":"Arasteh","year":"2024","journal-title":"J Electron Test"},{"key":"2026031900571478900_ref31","doi-asserted-by":"publisher","DOI":"10.1016\/j.compeleceng.2024.109336","article-title":"A software defect prediction method using binary gray wolf optimizer and machine learning algorithms","volume":"118","author":"Wang","year":"2024","journal-title":"Comput Electr Eng"},{"key":"2026031900571478900_ref32","doi-asserted-by":"publisher","first-page":"10093","DOI":"10.1007\/s10586-024-04486-4","article-title":"A new binary chaos-based metaheuristic algorithm for software defect prediction","volume":"27","author":"Arasteh","year":"2024","journal-title":"Clust Comput"},{"key":"2026031900571478900_ref33","first-page":"297","article-title":"Automatically learning semantic features for defect prediction","volume-title":"Proceedings of the 38th International Conference on Software Engineering, ICSE 2016, Austin, TX, USA, May 14-22, 2016","author":"Wang"},{"key":"2026031900571478900_ref34","first-page":"318","article-title":"Software defect prediction via convolutional neural network","volume-title":"2017 IEEE International Conference on Software Quality, Reliability and Security, QRS 2017, Prague, Czech Republic, July 25-29, 2017","author":"Li"},{"key":"2026031900571478900_ref35","volume-title":"Proceedings of the 15th International Conference on Mining Software Repositories (MSR '18)"},{"key":"2026031900571478900_ref36","first-page":"244","article-title":"Deep semantic feature learning with embedded static metrics for software defect prediction","volume-title":"26th Asia-Pacific Software Engineering Conference, APSEC 2019, Putrajaya, Malaysia, December 2-5, 2019","author":"Fan"},{"key":"2026031900571478900_ref37","doi-asserted-by":"publisher","first-page":"137","DOI":"10.1007\/s10515-011-0095-y","article-title":"Guest editorial: learning to organize testing","volume":"19","author":"Bener","year":"2012","journal-title":"Autom Softw Eng"},{"key":"2026031900571478900_ref38","first-page":"87","article-title":"Quantifying the vanishing gradient and long distance dependency problem in recursive neural networks and recursive lstms","volume-title":"Proceedings of the 1st Workshop on Representation Learning for NLP, Rep4NLP@ACL 2016, Berlin, Germany, August 11, 2016","author":"Le"},{"key":"2026031900571478900_ref39","doi-asserted-by":"publisher","first-page":"e0320808","DOI":"10.1371\/journal.pone.0320808","article-title":"Features extraction and fusion by attention mechanism for software defect prediction","volume":"20","author":"Qiu","year":"2025","journal-title":"PLoS One"},{"key":"2026031900571478900_ref40","doi-asserted-by":"publisher","first-page":"14771","DOI":"10.1038\/s41598-024-65639-4","article-title":"Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model","volume":"14","author":"Abdu","year":"2024","journal-title":"Sci Rep"},{"key":"2026031900571478900_ref41","doi-asserted-by":"publisher","first-page":"97","DOI":"10.1007\/11575467_8","article-title":"Using datalog with binary decision diagrams for program analysis","volume-title":"Asian Symposium on Programming Languages and Systems","author":"Whaley","year":"2005"},{"key":"2026031900571478900_ref42","doi-asserted-by":"publisher","first-page":"1145","DOI":"10.1016\/S0031-3203(96)00142-2","article-title":"The use of the area under the ROC curve in the evaluation of machine learning algorithms","volume":"30","author":"Bradley","year":"1997","journal-title":"Pattern Recognit"},{"key":"2026031900571478900_ref43","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1155\/2014\/675368","article-title":"Discrimination analysis for predicting defect-prone software modules","volume":"2014","author":"Ma","year":"2014","journal-title":"J Appl Math"},{"key":"2026031900571478900_ref44","first-page":"1","article-title":"What is the impact of imbalance on software defect prediction performance?","volume-title":"Proceedings of the 11th International Conference on Predictive Models and Data Analytics in Software Engineering","author":"Mahmood"},{"key":"2026031900571478900_ref45","first-page":"1897","article-title":"Membership inference attacks from first principles","volume-title":"2022 IEEE Symposium on Security and Privacy (SP)","author":"Carlini"},{"key":"2026031900571478900_ref46","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1155\/2019\/6230953","article-title":"Software defect prediction via attention-based recurrent neural network","volume":"2019","author":"Fan","year":"2019","journal-title":"Sci Program"},{"key":"2026031900571478900_ref47","doi-asserted-by":"publisher","first-page":"545","DOI":"10.11144\/Javeriana.upsy10-2.cdcp","article-title":"Cliff\u2019s delta calculator: a non-parametric effect size program for two groups of observations","volume":"10","author":"Macbeth","year":"2011","journal-title":"Universitas Psychologica"}],"container-title":["The Computer Journal"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/69\/3\/470\/65235123\/bxaf126.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/69\/3\/470\/65235123\/bxaf126.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,19]],"date-time":"2026-03-19T04:57:21Z","timestamp":1773896241000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/comjnl\/article\/69\/3\/470\/8315887"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,6]]},"references-count":47,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2025,11,6]]},"published-print":{"date-parts":[[2026,3,16]]}},"URL":"https:\/\/doi.org\/10.1093\/comjnl\/bxaf126","relation":{},"ISSN":["0010-4620","1460-2067"],"issn-type":[{"value":"0010-4620","type":"print"},{"value":"1460-2067","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2026,3]]},"published":{"date-parts":[[2025,11,6]]}}}