{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,9,21]],"date-time":"2025-09-21T15:43:45Z","timestamp":1758469425906,"version":"3.44.0"},"reference-count":0,"publisher":"Zarqa University","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IAJIT"],"published-print":{"date-parts":[[2025]]},"abstract":"<jats:p>Software Defect Prediction (SDP) is one of the most reliability assurance methods before the delivery of software projects. However, class imbalance is a common issue in software projects, significantly hindering the ability of SDP methods to distinguish between defective and non-defective instances. Recently, although several SDP imbalance-handling methods have achieved certain success, they still exhibit limitations in terms of reliability and applicability. To address this, this paper proposes Neighborhood cleaning rule and Synthetic minority oversampling technique with Proximal Policy Optimization-based adaptive sampling (NS-PPO), a two stage-based data resampling framework aimed at mitigating the impact of class imbalance in software projects. NS-PPO operates in two phases. In the first phase, a hybrid sampler that combines Neighborhood CLeaning rule (NCL) and Synthetic Minority Oversampling TEchnique (SMOTE) is employed to generate a large number of synthetic samples for minority instances. In the second phase, a Deep Reinforcement Learning (DRL)-based undersampler is designed to filter high-quality synthetic samples. These selected samples are then combined with real samples to form the training set for the SDP methods. Extensive experiments are conducted on 18 software projects from the PRedictOr Models In Software Engineering (PROMISE) and National Aeronautics and Space Administration (NASA) datasets, with Matthews Correlation Coefficient (MCC), Area Under the Curve (AUC), and F-measure used as evaluation metrics. The findings demonstrate that, regardless of whether expert metrics or semantic metrics are used as inputs for SDP methods, NS-PPO exhibits significant advantages over the state-of-the-art SDP imbalance-handling methods, including Learning-To-Rank UnderSampling (LTRUS)<\/jats:p>","DOI":"10.34028\/iajit\/22\/5\/3","type":"journal-article","created":{"date-parts":[[2025,8,25]],"date-time":"2025-08-25T10:41:41Z","timestamp":1756118501000},"source":"Crossref","is-referenced-by-count":0,"title":["NS-PPO: A Two-Stage Data Resampling Framework for The Initial Phase of Software Defect Prediction"],"prefix":"10.34028","volume":"22","author":[{"given":"Xiaowei","family":"Zhao","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xuanye","family":"Wang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Siliang","family":"Suo","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Lu","family":"Lu","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"19944","published-online":{"date-parts":[[2025]]},"container-title":["The International Arab Journal of Information Technology"],"original-title":[],"language":"en","deposited":{"date-parts":[[2025,9,21]],"date-time":"2025-09-21T09:53:00Z","timestamp":1758448380000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.iajit.org\/upload\/files\/NS-PPO-A-Two-Stage-Data-Resampling-Framework-for-the-Initial-Phase-of-Software-Defect-Prediction.pdf"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025]]},"references-count":0,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2025]]},"published-print":{"date-parts":[[2025]]}},"URL":"https:\/\/doi.org\/10.34028\/iajit\/22\/5\/3","archive":["Internet Archive"],"relation":{},"ISSN":["2309-4524","1683-3198"],"issn-type":[{"type":"electronic","value":"2309-4524"},{"type":"print","value":"1683-3198"}],"subject":[],"published":{"date-parts":[[2025]]}}}