Automated Static Warning Identification via Path-based Semantic Representation
Yuwei Zhang, Ying Xing, Ge Li, Zhi Jin

TL;DR
This paper introduces a deep learning approach that uses control flow graph paths and pre-trained language models to improve static warning identification accuracy by capturing code semantics more effectively.
Contribution
It proposes a novel method employing path-based semantic representations and fine-tuning pre-trained models to enhance false positive classification in static analysis warnings.
Findings
Outperforms state-of-the-art baselines on eight open-source projects.
Effectively captures semantic information from control flow graph paths.
Reduces false positive rates in static warning identification.
Abstract
Despite their ability to aid developers in detecting potential defects early in the software development life cycle, static analysis tools often suffer from precision issues (i.e., high false positive rates of reported alarms). To improve the availability of these tools, many automated warning identification techniques have been proposed to assist developers in classifying false positive alarms. However, existing approaches mainly focus on using hand-engineered features or statement-level abstract syntax tree token sequences to represent the defective code, failing to capture semantics from the reported alarms. To overcome the limitations of traditional approaches, this paper employs deep neural networks' powerful feature extraction and representation abilities to generate code semantics from control flow graph paths for warning identification. The control flow graph abstractly…
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 · Software System Performance and Reliability · Software Engineering Techniques and Practices
