Actionable Warning Is Not Enough: Recommending Valid Actionable Warnings with Weak Supervision
Zhipeng Xue, Zhipeng Gao, Tongtong Xu, Xing Hu, Xin Xia, Shanping Li

TL;DR
This paper introduces a novel two-stage framework, ACWRecommender, that leverages weak supervision and large datasets to accurately recommend actionable warnings likely to be real bugs, improving static analysis tool effectiveness.
Contribution
It constructs the first large actionable warning dataset from GitHub repositories and proposes a weakly supervised learning approach for better bug warning recommendations.
Findings
Outperforms baselines in nDCG and MRR metrics.
Successfully identifies real bugs among top warnings.
Practical tool verified by manual developer confirmation.
Abstract
The use of static analysis tools has gained increasing popularity among developers in the last few years. However, the widespread adoption of static analysis tools is hindered by their high false alarm rates. Previous studies have introduced the concept of actionable warnings and built a machine-learning method to distinguish actionable warnings from false alarms. However, according to our empirical observation, the current assumption used for actionable warning(s) collection is rather shaky and inaccurate, leading to a large number of invalid actionable warnings. To address this problem, in this study, we build the first large actionable warning dataset by mining 68,274 reversions from Top-500 GitHub C repositories, we then take one step further by assigning each actionable warning a weak label regarding its likelihood of being a real bug. Following that, we propose a two-stage…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Advanced Malware Detection Techniques · Software Engineering Techniques and Practices
