arXiv 2504.10412
AI-Driven Code Refactoring: Using Graph Neural Networks to Enhance Software Maintainability
By Gopichand Bandarupalli
Published 2025-04-14
Wiki summary
Explore the paper's summary, context, and related research on Papiers.
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…