arXiv 2504.10412

AI-Driven Code Refactoring: Using Graph Neural Networks to Enhance Software Maintainability

By Gopichand Bandarupalli

Published 2025-04-14

Mindmap

Browse the paper's core ideas, clusters, and relationships in a structured outline.

This study explores Graph Neural Networks (GNNs) as a transformative tool for code refactoring, using abstract syntax trees (ASTs) to boost software maintainability. It analyzes a dataset of 2 million snippets from CodeSearchNet and a custom 75000-file GitHub Python corpus, comparing GNNs against rule-based SonarQube and decision trees. Metrics include cyclomatic complexity (target below 10), coupling (target below…

View the original paper on arXiv