菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-04-12
📄 Abstract - The Code Whisperer: LLM and Graph-Based AI for Smell and Vulnerability Resolution

Code smells and software vulnerabilities both increase maintenance cost, yet they are often handled by separate tools that miss structural context and produce noisy warnings. This paper presents The Code Whisperer, a hybrid framework that combines graph-based program analysis with large language models to detect, explain, and repair maintainability and security issues within a unified workflow. The method aligns Abstract Syntax Trees (ASTs), Control Flow Graphs (CFGs), Program Dependency Graphs (PDGs), and token-level code embeddings so that structural and semantic signals can be learned jointly. We evaluate the framework on multi-language datasets and compare it with rule-based analyzers and single-model baselines. The results indicate that the hybrid design improves detection performance and produces more useful repair suggestions than either graph-only or language-model-only approaches. We also examine explainability and CI/CD integration as practical requirements for adopting AI-assisted code review in everyday software engineering workflows.

顶级标签: llm systems model evaluation
详细标签: code analysis program repair graph neural networks software engineering ai-assisted development 或 搜索:

代码耳语者:基于大语言模型和图分析的代码异味与漏洞修复框架 / The Code Whisperer: LLM and Graph-Based AI for Smell and Vulnerability Resolution


1️⃣ 一句话总结

这篇论文提出了一个名为‘代码耳语者’的混合框架,它巧妙地将图分析(捕捉代码结构关系)与大语言模型(理解代码语义)结合起来,在一个流程中更准确地检测、解释并修复代码中的可维护性问题(如代码异味)和安全漏洞,比单独使用任何一种方法效果更好。

源自 arXiv: 2604.13114