3 papers
cs.SE2026
From Custom Logic to APIs: Understanding and Recommending API Replacement Refactorings
Bridget Nyirongo, Yanjie Jiang, Yuxia Zhang +1
Software refactoring is essential for maintaining code quality. However, API replacement refactoring, which replaces custom logic with API calls, remains underexplored. Existing re…
cs.SE2025
Wired for Reuse: Automating Context-Aware Code Adaptation in IDEs via LLM-Based Agent
Taiming Wang, Yanjie Jiang, Chunhao Dong +2
Copy-paste-modify is a widespread and pragmatic practice in software development, where developers adapt reused code snippets, sourced from platforms such as Stack Overflow, GitHub…
cs.SE2024
An Empirical Study on the Potential of LLMs in Automated Software Refactoring
Bo Liu, Yanjie Jiang, Yuxia Zhang +3
Recent advances in large language models (LLMs), make it potentially feasible to automatically refactor source code with LLMs. However, it remains unclear how well LLMs perform com…