Live
Black Hat USADark ReadingBlack Hat AsiaAI BusinessOver one million AI-driven cyberattacks target Vietnamese firms - Báo VietNamNetGoogle News - AI VietnamFrontken Poised To Benefit From AI Chip Boom - BusinessToday MalaysiaGNews AI chips'AI-pilled' engineers are working harder and burning out faster, Django co-creator saysBusiness InsiderMeituan’s pivot: The rise of the “AI Super Gateway” - China Travel NewsGoogle News - Meituan AIThe New Power Broker in Consumer Decisions Is AI - PYMNTS.comGoogle News: AI[D] TMLR reviews seem more reliable than ICML/NeurIPS/ICLRReddit r/MachineLearningqwen 3.6 votingReddit r/LocalLLaMAWhy Microsoft is Expanding Thai Cloud and AI Infrastructure - Data Centre MagazineGoogle News - AI ThailandK-pop has an AI problem - dazeddigital.comGoogle News: Generative AIOpenAI’s new ChatGPT base model ‘Spud’: All you need to know - Storyboard18Google News: ChatGPTGoogle DeepMind Launches Gemma 4 Amid Competition from Chinese Open Models - Analytics India MagazineGoogle News: DeepMindMicrosoft releases foundational AI models targeting enterprisesSilicon RepublicBlack Hat USADark ReadingBlack Hat AsiaAI BusinessOver one million AI-driven cyberattacks target Vietnamese firms - Báo VietNamNetGoogle News - AI VietnamFrontken Poised To Benefit From AI Chip Boom - BusinessToday MalaysiaGNews AI chips'AI-pilled' engineers are working harder and burning out faster, Django co-creator saysBusiness InsiderMeituan’s pivot: The rise of the “AI Super Gateway” - China Travel NewsGoogle News - Meituan AIThe New Power Broker in Consumer Decisions Is AI - PYMNTS.comGoogle News: AI[D] TMLR reviews seem more reliable than ICML/NeurIPS/ICLRReddit r/MachineLearningqwen 3.6 votingReddit r/LocalLLaMAWhy Microsoft is Expanding Thai Cloud and AI Infrastructure - Data Centre MagazineGoogle News - AI ThailandK-pop has an AI problem - dazeddigital.comGoogle News: Generative AIOpenAI’s new ChatGPT base model ‘Spud’: All you need to know - Storyboard18Google News: ChatGPTGoogle DeepMind Launches Gemma 4 Amid Competition from Chinese Open Models - Analytics India MagazineGoogle News: DeepMindMicrosoft releases foundational AI models targeting enterprisesSilicon Republic
AI NEWS HUBbyEIGENVECTOREigenvector

CodeCureAgent: Automatic Classification and Repair of Static Analysis Warnings

arXiv cs.MAby Pascal Joos, Islem Bouzenia, Michael PradelApril 2, 20262 min read0 views
Source Quiz

arXiv:2509.11787v4 Announce Type: replace-cross Abstract: Static analysis tools are widely used to detect bugs, vulnerabilities, and code smells. Traditionally, developers must resolve these warnings manually. Because this process is tedious, developers sometimes ignore warnings, leading to an accumulation of warnings and a degradation of code quality. This paper presents CodeCureAgent, an approach that harnesses LLM-based agents to automatically analyze, classify, and repair static analysis warnings. Unlike previous work, our method does not follow a predetermined algorithm. Instead, we adopt an agentic framework that iteratively invokes tools to gather additional information from the codebase (e.g., via code search) and edit the codebase to resolve the warning. CodeCureAgent detects and

View PDF HTML (experimental)

Abstract:Static analysis tools are widely used to detect bugs, vulnerabilities, and code smells. Traditionally, developers must resolve these warnings manually. Because this process is tedious, developers sometimes ignore warnings, leading to an accumulation of warnings and a degradation of code quality. This paper presents CodeCureAgent, an approach that harnesses LLM-based agents to automatically analyze, classify, and repair static analysis warnings. Unlike previous work, our method does not follow a predetermined algorithm. Instead, we adopt an agentic framework that iteratively invokes tools to gather additional information from the codebase (e.g., via code search) and edit the codebase to resolve the warning. CodeCureAgent detects and suppresses false positives, while fixing true positives when identified. We equip CodeCureAgent with a three-step heuristic to approve patches: (1) build the project, (2) verify that the warning disappears without introducing new warnings, and (3) run the test suite. We evaluate CodeCureAgent on a dataset of 1,000 SonarQube warnings found in 106 Java projects and covering 291 distinct rules. Our approach produces plausible fixes for 96.8% of the warnings, outperforming state-of-the-art baseline approaches by 29.2%-34.0% in plausible-fix rate. Manual inspection of 291 cases reveals a correct-fix rate of 86.3%, showing that CodeCureAgent can reliably repair static analysis warnings. The approach incurs LLM costs of about 2.9 cents (USD) and an end-to-end processing time of about four minutes per warning. We envision CodeCureAgent helping to clean existing codebases and being integrated into CI/CD pipelines to prevent the accumulation of static analysis warnings.

Subjects:

Software Engineering (cs.SE); Multiagent Systems (cs.MA)

Cite as: arXiv:2509.11787 [cs.SE]

(or arXiv:2509.11787v4 [cs.SE] for this version)

https://doi.org/10.48550/arXiv.2509.11787

arXiv-issued DOI via DataCite

Submission history

From: Pascal Joos [view email] [v1] Mon, 15 Sep 2025 11:16:04 UTC (1,032 KB) [v2] Wed, 8 Oct 2025 14:40:12 UTC (1,032 KB) [v3] Wed, 25 Feb 2026 12:42:03 UTC (1,038 KB) [v4] Wed, 1 Apr 2026 15:51:14 UTC (1,038 KB)

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

announceanalysisagentic

Knowledge Map

Knowledge Map
TopicsEntitiesSource
CodeCureAge…announceanalysisagenticagentpaperarxivarXiv cs.MA

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 129 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Products