paper-with-me

홈 › Papers

Assessing Validity of Static Analysis Warnings using Ensemble Learning

2021-04-21 · Anshul Tanwar, Hariharan Manikandan, Krishna Sundaresan, Prasanna Ganesan, Sathish Kumar Chandrasekaran, Sriram Ravi

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 actual bugs. We evaluated our approach on the networking C codes, from a large data pool of static analysis warnings reported by the tools. Time-to-time these warnings are addressed by the developers, labelling them as authentic bugs or fake alerts. The ML model is trained with full supervision over the code features. Our results confirm that applying deep learning over the traditional static analysis reports is an assuring approach for drastically reducing the false positive rates.

📄 PDF Abstract BibTeX arXiv:2104.11593

Code (0)

등록된 구현이 없습니다.

Tasks

Ensemble Learning

Similar Papers 제목 키워드 기반

How to Find Actionable Static Analysis Warnings: A Case Study with FindBugs

2022-05-21 · Rahul Yedida, Hong Jin Kang, Huy Tu, Xueqi Yang 외

Automatically generated static code warnings suffer from a large number of false alarms. Hence, developers only take action on a small percent of those warnings. To better predict which static code warnings should not be…

On the adequacy of static analysis warnings with respect to code smell prediction

2022-03-17 · Empirical Software Engineering 2022 3 · Fabiano Pecorelli, Savanna Lujan, Valentina Lenarduzzi, Fabio Palomba 외

Code smells are poor implementation choices that developers apply while evolving source code and that affect program maintainability. Multiple automated code smell detectors have been proposed: while most of them relied …

Enhancing Code Quality with Generative AI: Boosting Developer Warning Compliance

2025-05-16 · Hansen Chang, Christian DeLozier

Programmers have long ignored warnings, especially those generated by static analysis tools, due to the potential for false-positives. In some cases, warnings may be indicative of larger issues, but programmers may not u…

Speed at the Cost of Quality: How Cursor AI Increases Short-Term Velocity and Long-Term Complexity in Open-Source Projects

2025-11-06 · Hao He, Courtney Miller, Shyam Agarwal, Christian Kästner 외 arxiv

Large language models (LLMs) have demonstrated the promise to revolutionize the field of software engineering. Among other things, LLM agents are rapidly gaining momentum in software development, with practitioners repor…

Learning to Reduce False Positives in Analytic Bug Detectors

2022-03-08 · Anant Kharkar, Roshanak Zilouchian Moghaddam, Matthew Jin, Xiaoyu Liu 외

Due to increasingly complex software design and rapid iterative development, code defects and security vulnerabilities are prevalent in modern software. In response, programmers rely on static analysis tools to regularly…