Using Agentic AI for contextualized and multifaceted code review at Ericsson

📅 2026-09-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出一种基于多智能体的代码审查方案,结合项目特定知识和专业技能,以提高代码质量,并在工业环境中验证了其有效性和准确性。
📝 Abstract
Context: Conducting effective code reviews is increasingly challenging due to the growing complexity of software systems and the accelerated code generation by AI coding agents. LLM-based approaches for code reviews have shown promising results in identifying defects and improving code quality. However, existing approaches rarely consider project-specific contextualized knowledge, and few have been evaluated in industrial settings. Objective: In this study, we propose a multi-agent-based solution that provides multifaceted assessments of code changes. Method: Following the Design Science Research Process, we developed and evaluated our solution in an industrial setting. Our solution combines specialized agent skills with context-specific knowledge to identify antipatterns in code changes across four dimensions: readability, maintainability, reliability, and performance. Using our solution, we generated reviews for several code commits and identified more than 200 issues. These issues were then manually validated by the developers of the case company for their correctness and importance. Results: The evaluation results show that our solution achieves 96% accuracy in correctly identifying issues in the investigated code commits. Furthermore, around 69% of the correctly identified issues were rated as important, with approximately 33% rated as severe issues that must be fixed and 36% as important issues that should be fixed. Qualitative feedback from developers corroborates these findings and highlights the usefulness of the generated reviews. Conclusion: Our findings provide empirical evidence from an industrial evaluation that combining specialized agent skills with context-specific knowledge yields accurate, practically useful code reviews.
Problem

Research questions and friction points this paper is trying to address.

code review
software complexity
AI coding agents
context-specific knowledge
industrial settings
Innovation

Methods, ideas, or system contributions that make the work stand out.

multi-agent-based solution
context-specific knowledge
code review
antipatterns
specialized agent skills
M
Muhammad Laiq
Blekinge Institute of Technology, Sweden.
Ricardo Britto
Ricardo Britto
Ericsson / Blekinge Institute of Technology
Software process improvementMachine LearningSearch-basedsoftware engineering
M
Muhammad Usman
Blekinge Institute of Technology, Sweden.
N
Nishrith Saini
Ericsson AB, Sweden.
D
Deepika Badampudi
Blekinge Institute of Technology, Sweden.