Skip to content
Open access

AI-Assisted Automated Code Refactoring and Technical Debt Reduction: Supporting Digital Knowledge Documentation and Preservation

Sep 2026 · Digital Presentation and Preservation of Cultural and Scientific Heritage · 0 citations · 11 references

TL;DR

This study evaluates whether AI-assisted refactoring prioritization can reduce technical debt more effectively than traditional rule-based static analysis, using cyclomatic complexity, maintainability index, and remediation effort as debt indicators.

Abstract

Technical debt represents a persistent challenge in software engineering, characterized by design decisions that increase long-term maintenance costs and reduce software quality. This study evaluates whether AI-assisted refactoring prioritization can reduce technical debt more effectively than traditional rule-based static analysis, using cyclomatic complexity, maintainability index, and remediation effort as debt indicators. Across a dataset of 120,000 code samples and six real Java source files, AI-assisted prioritization achieves 18%–89% greater cumulative complexity reduction compared to rule-based baselines. Beyond software quality, this work contributes to the emerging field of digital knowledge documentation by demonstrating how intelligent, structured analysis tools can preserve and improve access to complex technical information assets over time.

Read PDF

Similar papers

Review Open access Sep 2026

A Review on Technical Debt Prediction using Static Code Analysis in Open-Source Software Repositories

Technical debt describes the long-term cost that software teams take on when they choose quick solutions to save time in the short run. As a codebase grows, this debt accumulates and makes future maintenance harder and more expensive. This paper reviews ten studies on identifying, measuring and managing technical debt,...

Saiyed Mohammadmatin, S. Degadwala · 0 citations
Review Open access Aug 2026

Productivity vs. Compliance: The New Engineering Challenge of AI Coding Assistants in Regulated Codebases

A codepath-aware governance framework for AI-assisted engineering in regulated codebases, with emphasis on financial services, payments, healthcare, and other domains where software changes may affect legal, operational, privacy, and audit obligations is developed.

Ashutosh Pal · 0 citations
Aug 2026

Reuse-aware package-level fault prediction with Explainable AI

This research presents a reuse-aware fault prediction model at the package level for java applications that leverages architectural metrics to capture cohesion, dependency structures, and code reuse patterns and underscores the importance of interpretable AI in guiding quality assurance initiatives.

M. Shaikh, Sabina Akram, I. Tunio et al. · 0 citations
Review Sep 2026

Orchestrating AI-Assisted Code Remediation: Socio-Technical Bottlenecks in a Large Industrial Repository

Background: Code degradation in large, long-lived codebases is costly to remediate through manual refactoring and opportunistic clean-ups. LLM-based coding assistants can perform mechanical remediation at scale, but their impact on industrial workflows is underexplored. Objective: We investigate how massive AI-assisted...

Andreas Bexell, L. Heander, E. Söderberg · 0 citations
Review Open access Sep 2026

Reflections on the Impact Brought by Large Language Models to Software Engineering Maintenance Modes Under the Wave of Artificial Intelligence

Software maintenance occurs throughout the life cycle of the system and is relatively expensive. The Introduction of large language models is changing how software maintenance is conducted. The five areas this paper investigates for the practical applications of large language models in software maintenance are: mainte...

Wen-Qiang Zhang · 0 citations

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