Assessing Validity of Static Analysis Warnings using Ensemble Learning
Anshul Tanwar, Hariharan Manikandan, Krishna Sundaresan, Prasanna, Ganesan, Sathish Kumar Chandrasekaran, Sriram Ravi

TL;DR
This paper introduces a machine learning ensemble approach to improve static analysis warning validity, significantly reducing false positives and aiding developers in identifying genuine bugs more efficiently.
Contribution
It presents a novel ML-based method that integrates source code, commit history, and ensemble classifiers to filter false static analysis warnings in complex codebases.
Findings
Deep learning reduces false positive rates in static analysis warnings.
The approach improves developer efficiency by prioritizing true bugs.
Evaluation on networking C code shows high accuracy in warning validation.
Abstract
Static Analysis (SA) tools are used to identify potential weaknesses in code and fix them in advance, while the code is being developed. In legacy codebases with high complexity, these rules-based static analysis tools generally report a lot of false warnings along with the actual ones. Though the SA tools uncover many hidden bugs, they are lost in the volume of fake warnings reported. The developers expend large hours of time and effort in identifying the true warnings. Other than impacting the developer productivity, true bugs are also missed out due to this challenge. To address this problem, we propose a Machine Learning (ML)-based learning process that uses source codes, historic commit data, and classifier-ensembles to prioritize the True warnings from the given list of warnings. This tool is integrated into the development workflow to filter out the false warnings and prioritize…
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
TopicsRisk and Safety Analysis · Occupational Health and Safety Research · Safety Warnings and Signage
