Logo image
Using machine learning approaches to classify false-positives generated by static analysis tools - An empirical study using small datasets
Preprint   Open access

Using machine learning approaches to classify false-positives generated by static analysis tools - An empirical study using small datasets

Lakmal Deshapriya, Sherlock A Licorish and Brendon J Woodford
arXiv
arXiv, Inc.
14/11/2026
Handle:
https://hdl.handle.net/10523/53361

Abstract

Computer Science - Learning Computer Science - Software Engineering Empirical study Machine Learning Software Code Quality Classification Software Engineering Static Code Analysis Warnings
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.
pdf
2611.19079v11.03 MBDownloadView
Preprint (Author's original) v1 Open Access CC BY V4.0
url
https://doi.org/10.48550/arXiv.2611.19079View
Preprint (Author's original) Open CC BY V4.0

Metrics

1 File views/ downloads
1 Record Views

Details

Logo image