Using machine learning approaches to classify false-positives generated by static analysis tools - An empirical study using small datasets
Lakmal Deshapriya, Sherlock A. Licorish, Brendon J. Woodford
Key points
From the paper's conclusion- We identified the best Code Representation Learning (CRL) techniques and ML algorithms for identifying false-positives, where results show that performance outcomes vary based on the characteristics of the training datasets and the goal of the model building.
Abstract
Static Code Analysis (SCA) tools are vital for software development to reduce the cost and time required for manual code reviews. It was established in our previous study that the best tools reported in the software engineering community return high false-positive and false-negative rates when used for code analysis. Several approaches have been taken in existing studies to identify false-positive alarms generated by SCA tools, in helping to enhance the utility of these tools. However, existing studies reveal several limitations, chiefly among which is the tendency to focus on a limited number of alarm types or failing to evaluate a large breadth of Machine-Learning (ML) techniques comprehensively. This study has addressed this opportunity. We identified the best Code Representation Learning (CRL) techniques and ML algorithms for identifying false-positives, where results show that performance outcomes vary based on the characteristics of the training datasets and the goal of the model building. Given the evidence established in this study, we recommend further investigations targeting specific configurations of advanced CRLs and ML Algorithms, including simple ML models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Evaluating the Performance of Static Code Analysers: The Gaps between Academia and IndustryACM Computing Surveys · 2026
- Beyond Benchmarks: Evaluating Large Language Models and Agentic Patterns for Static Code Analysis Warning ClassificationarXiv · 2026
- Test Case Selection for Deep Neural Networks: A Replication Study on LLMs for Code (Replicability Study)Proceedings of the ACM on Software Engineering · 2026
- VulnSAGE: Adjudicating SAST Reports by Connecting LLM Reasoning to Program StructurearXiv · 2026
- An audit of machine learning experiments on software defect predictionEmpirical Software Engineering · 2026
- Sifting the Noise: A Comparative Study of LLM Agents in Vulnerability False Positive FilteringProceedings of the ACM on Software Engineering · 2026