Skip to content
Conference

Automated Code Review in DevOps Pipelines using Artificial Intelligence

Jul 2026 · 2026 6th International Conference on Inventive Computation and Information Technologies (ICICIT) · pp. 1182-1187 · 0 citations · 24 references

Abstract

In Ensuring fast and precise code review process has become one of the major problems of the modern DevOps world, where software development happens quickly for code reviews to be done manually. In this paper, we introduce a novel automated code review framework named AICR-DevOps, which utilizes a combination of rule-based static analysis, fine-tuned CodeBERT semantic classifier, and large language model using confidence-based aggregation. The framework architecture allows successfully combining the power of traditional program analysis approaches and artificial intelligence reasoning capabilities to achieve high review accuracy with minimized false positives. Together with GitHub Actions, the framework is capable of conducting pull request analysis instantly and constantly adapting to specific coding practices of projects by fine-tuning based on developer feedback using LoRA method. Experimentation with the proposed framework on 12,400 pull requests gathered from 40 Java and Python repositories reached 84.7% precision, 81.3% recall, and an F1-score of 82.9%, with review comments provided in 38 seconds on average. Moreover, a controlled study conducted with 48 developers showed that the acceptance rate of the developers to the framework reached 73.6%.

View source

Similar papers

Review Open access Jul 2026

A Systematic Literature Review on Automated Program Repair using Large Language Models

Current research is summarized to identify key gaps and future directions to optimize LLM based APR are proposed, to assure its reliability and scalability in real world software development.

Fatmaelzahra Hamdi, Ramadam Moawad, A. Mohsen · 0 citations
Open access 2020

Machine Learning for Code Smell Detection and Resolution

Code smells are indicative of poor software design, maintainability issues, or potential defects, and their early detection is critical for high-quality software development. Traditional detection methods rely heavily on manual inspection or rule-based static analysis, which are often time-consuming, error-prone, and limited in adaptability. This paper explores the use of machine learning techniques for automated code smell detection and resolution. By leveraging code metrics, syntactic and semantic features, and historical refactoring data, ML models can identify patterns associated with common code smells and recommend targeted resolution strategies. The proposed approach is evaluated on open-source and industrial software projects, demonstrating improvements in detection accuracy, maintainability, and developer productivity. The study highlights the potential of intelligent, data-driven approaches to enhance software quality and support continuous code improvement.

Emily Johnson · 0 citations
Preprint Aug 2026

SmellCC: A Tool for Automated Code Smells Remediation

Code smells significantly threaten software maintainability by accumulating technical debt, yet developers often lack the resources to manually address these flaws under tight release schedules. While static analysis tools like SonarQube provide precise detection, they function largely as passive alert systems, leaving the burden of refactoring on developers. To bridge this gap, we present a novel cleaning tool, namely SmellCC, a Visual Studio Code extension that augments SonarQube with an LLM-based pipeline to automatically detect and refactor Python code smells. By employing Chain-of-Thought (CoT) and few-shot learning, SmellCC provides in-place, one-click remediation for the top-10 most frequent smells, effectively preventing the accumulation of technical debt during development. Our quantitative evaluation demonstrates that our SmellCC is promising in helping developers effectively eliminate code smells (96.8\% cleaning rate) with high accuracy (i.e., 91.3\%), ensuring that the refactored code remains syntactically correct and behavior-preserving, thereby significantly improving long-term software maintainability.

Xiaoting Zhang, Yujie Zhang, Zhi-Peng Gao et al. · 0 citations
Conference Jul 2026

Understanding and Reducing Code Smells in AI-Generated Java Code Using Explainable AI and Prompt Optimization

Recently, Developers have been relying on AI tools to support them in their daily work by generating code. While the use of large language model-based AI tools has improved productivity, the quality of the generated code wasn't always optimal. In a lot of cases, the code includes design issues known as code smells, which negatively impact readability, maintainability, and future development. This paper investigates these issues in AI-generated Java code, with a focus on common object-oriented problems such as switch statements, temporary fields, and refused bequest. A structured approach is proposed that combines static analysis tools with explainable AI techniques to better understand why these problems appear. Based on the realized insights, prompts are optimized to guide the AI model towards generating cleaner and more structured code. The results showed clear improvement after the prompt optimization, where the number of detected code smells was reduced by 66%, and completely removed (100% reduction) in some cases. Overall, the study showed that improving prompt design, supported by explainable analysis, can significantly enhance the quality of AI-generated code.

Y. Younes, Yousef Elsheikh · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.