Skip to main content
Journal cover image

Cross-project concurrency bug prediction using domain-adversarial neural network

Publication ,  Journal Article
Qin, F; Zheng, Z; Sui, Y; Gong, S; Shi, Z; Trivedi, KS
Published in: Journal of Systems and Software
August 1, 2024

In recent years, software bug prediction has shown to be effective in narrowing down the potential bug modules and boosting the efficiency and precision of existing testing and analysis tools. However, due to its non-deterministic nature and low presence, concurrency bug labeling is a challenging task, which limits the implementation of within-project concurrency bug prediction. This paper proposes DACon, a Domain-Adversarial neural network-based cross-project Concurrency bug prediction approach to tackle this problem by leveraging information from another related project. By combining a set of designed concurrency code metrics with widely used sequential code metrics, DACon uses SMOTE (Synthetic Minority Over-sampling TEchnique) and domain-adversarial neural network to mitigate two challenges including the severe class imbalance between concurrency bug-prone samples and concurrency bug-free samples, and shift between source and target distribution during bug prediction implementation. Our evaluation on 20 pair-wise groups of experiments constructed from 5 real-world projects indicates that cross-project concurrency bug prediction is feasible, and DACon can effectively predict concurrency bugs across different projects.

Duke Scholars

Published In

Journal of Systems and Software

DOI

ISSN

0164-1212

Publication Date

August 1, 2024

Volume

214

Related Subject Headings

  • Software Engineering
  • 46 Information and computing sciences
  • 0806 Information Systems
  • 0804 Data Format
  • 0803 Computer Software
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Qin, F., Zheng, Z., Sui, Y., Gong, S., Shi, Z., & Trivedi, K. S. (2024). Cross-project concurrency bug prediction using domain-adversarial neural network. Journal of Systems and Software, 214. https://doi.org/10.1016/j.jss.2024.112077
Qin, F., Z. Zheng, Y. Sui, S. Gong, Z. Shi, and K. S. Trivedi. “Cross-project concurrency bug prediction using domain-adversarial neural network.” Journal of Systems and Software 214 (August 1, 2024). https://doi.org/10.1016/j.jss.2024.112077.
Qin F, Zheng Z, Sui Y, Gong S, Shi Z, Trivedi KS. Cross-project concurrency bug prediction using domain-adversarial neural network. Journal of Systems and Software. 2024 Aug 1;214.
Qin, F., et al. “Cross-project concurrency bug prediction using domain-adversarial neural network.” Journal of Systems and Software, vol. 214, Aug. 2024. Scopus, doi:10.1016/j.jss.2024.112077.
Qin F, Zheng Z, Sui Y, Gong S, Shi Z, Trivedi KS. Cross-project concurrency bug prediction using domain-adversarial neural network. Journal of Systems and Software. 2024 Aug 1;214.
Journal cover image

Published In

Journal of Systems and Software

DOI

ISSN

0164-1212

Publication Date

August 1, 2024

Volume

214

Related Subject Headings

  • Software Engineering
  • 46 Information and computing sciences
  • 0806 Information Systems
  • 0804 Data Format
  • 0803 Computer Software