WASS: A Weakness-Aware Subset Selection Framework for Source-Sharing-Constrained Cross-Project Defect Prediction

IF 1.4 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
IET Software Pub Date : 2026-09-08 DOI:10.1049/sfw2/6370008
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,&nbsp;Yongchang Ding,&nbsp;Xiao-Yuan Jing,&nbsp;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.

面向资源共享约束的跨项目缺陷预测的弱点感知子集选择框架
跨项目缺陷预测(CPDP)对于缺乏历史数据的新软件项目是一种很有前途的解决方案。然而,现代隐私/遵从性约束和有限的共享预算通常限制了可以跨组织传输的标记源实例的数量。现有的实例选择策略通常优先考虑“安全”多数实例,或者依赖于随机抽样,这可能会在非常小的预算下错过边界定义缺陷。为了解决这个问题,我们提出了弱点感知子集选择(WASS),这是一个在资源共享预算下进行源端本地管理的框架。WASS结合了目标域相似性、弱点感知评分和类感知配额分配,以管理源实例的紧凑可转移子集。使用七种不同的分类器(包括转移成分分析[TCA] +逻辑回归[LR]和支持向量机[SVM])对88个定向同家族CPDP对进行了广泛的实验,结果显示在评估方案下存在1%-5%的黄金窗口。实验方案还澄清了源共享会计,重复运行的随机性和家庭水平的变化。因此,WASS是一种实用的、即插即用的冷启动加速器,适用于源代码共享受限的CPDP。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IET Software
IET Software 工程技术-计算机:软件工程
CiteScore
4.20
自引率
0.00%
发文量
27
审稿时长
9 months
期刊介绍: 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
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书