Haihao Zhou, Yongchang Ding, Xiao-Yuan Jing, Rong Peng
{"title":"WASS: A Weakness-Aware Subset Selection Framework for Source-Sharing-Constrained Cross-Project Defect Prediction","authors":"Haihao Zhou, Yongchang Ding, Xiao-Yuan Jing, Rong Peng","doi":"10.1049/sfw2/6370008","DOIUrl":null,"url":null,"abstract":"<p>Cross-project defect prediction (CPDP) is a promising solution for new software projects lacking historical data. However, modern privacy/compliance constraints and limited sharing budgets often restrict how many labeled source instances can be transferred across organizations. Existing instance selection strategies typically prioritize “safe” majority instances or rely on random sampling, which can miss boundary-defining defects under very small budgets. To address this, we propose weakness-aware subset selection (WASS), a framework for source-side local curation under a source-sharing budget. WASS combines target-domain similarity, weakness-aware scoring, and class-aware quota allocation to curate a compact transferable subset of source instances. Extensive experiments on 88 directed same-family CPDP pairs with seven diverse classifiers (including transfer component analysis [TCA] + logistic regression [LR] and support vector machine [SVM]) show a clear 1%–5% Golden Window under the evaluated protocol. The experimental protocol also clarifies source-sharing accounting, repeated-run randomness, and family-level variation. Therefore, WASS is a practical, plug-and-play cold-start accelerator for source-sharing-constrained CPDP.</p>","PeriodicalId":50378,"journal":{"name":"IET Software","volume":"2026 1","pages":""},"PeriodicalIF":1.4000,"publicationDate":"2026-09-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1049/sfw2/6370008","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IET Software","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1049/sfw2/6370008","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Cross-project defect prediction (CPDP) is a promising solution for new software projects lacking historical data. However, modern privacy/compliance constraints and limited sharing budgets often restrict how many labeled source instances can be transferred across organizations. Existing instance selection strategies typically prioritize “safe” majority instances or rely on random sampling, which can miss boundary-defining defects under very small budgets. To address this, we propose weakness-aware subset selection (WASS), a framework for source-side local curation under a source-sharing budget. WASS combines target-domain similarity, weakness-aware scoring, and class-aware quota allocation to curate a compact transferable subset of source instances. Extensive experiments on 88 directed same-family CPDP pairs with seven diverse classifiers (including transfer component analysis [TCA] + logistic regression [LR] and support vector machine [SVM]) show a clear 1%–5% Golden Window under the evaluated protocol. The experimental protocol also clarifies source-sharing accounting, repeated-run randomness, and family-level variation. Therefore, WASS is a practical, plug-and-play cold-start accelerator for source-sharing-constrained CPDP.
期刊介绍:
IET Software publishes papers on all aspects of the software lifecycle, including design, development, implementation and maintenance. The focus of the journal is on the methods used to develop and maintain software, and their practical application.
Authors are especially encouraged to submit papers on the following topics, although papers on all aspects of software engineering are welcome:
Software and systems requirements engineering
Formal methods, design methods, practice and experience
Software architecture, aspect and object orientation, reuse and re-engineering
Testing, verification and validation techniques
Software dependability and measurement
Human systems engineering and human-computer interaction
Knowledge engineering; expert and knowledge-based systems, intelligent agents
Information systems engineering
Application of software engineering in industry and commerce
Software engineering technology transfer
Management of software development
Theoretical aspects of software development
Machine learning
Big data and big code
Cloud computing
Current Special Issue. Call for papers:
Knowledge Discovery for Software Development - https://digital-library.theiet.org/files/IET_SEN_CFP_KDSD.pdf
Big Data Analytics for Sustainable Software Development - https://digital-library.theiet.org/files/IET_SEN_CFP_BDASSD.pdf