Palash Ranjan Roy

Home / Publications / ICSME 2025 Doctoral Symposium

Towards Just-In-Time, Inclusive Clone Refactoring

Palash Ranjan Roy

2025 IEEE International Conference on Software Maintenance and Evolution (ICSME), Doctoral Symposium, pp. 884–886, 2025 · IEEE · CORE A

Best Doctoral Proposal Award

Role: Sole author.

Palash Ranjan Roy (published as Palash Roy / Palash R. Roy) · ORCID 0000-0001-9470-4233

Abstract

Code clones are a well-known source of technical debt, often degrading software maintainability. Modern AI coding assistants can unintentionally introduce clones or even license-incompatible code, posing maintenance and legal challenges. This research proposes a Large Language Model (LLM)-powered clone refactoring assistant that proactively detects duplicative code during development and suggests high-level refactorings. By bridging traditional clone detection with LLM-driven code generation or transformation, the approach aims to remove redundancies early while ensuring changes remain behavior preserving and legally compliant. The assistant will integrate into development workflows to prevent clone propagation, flag potential intellectual property risks, and incorporate developer feedback for explainable, trustworthy operation. We will evaluate its impact on code quality and developer productivity, and assess how AI enhancements influence long-term maintenance efforts.

Problem addressed

Code clones add technical debt, and AI coding assistants can unintentionally introduce clones or license-incompatible code, creating maintenance and legal risks.

Relevant to

Cite

@inproceedings{roy2025jit,
  title = {Towards Just-In-Time, Inclusive Clone Refactoring},
  url = {https://doi.org/10.1109/ICSME64153.2025.00099},
  doi = {10.1109/ICSME64153.2025.00099},
  booktitle = {2025 IEEE International Conference on Software Maintenance and Evolution (ICSME)},
  publisher = {IEEE},
  author = {Roy, Palash},
  year = {2025},
  month = {Sept},
  pages = {884--886}
}

Download BibTeX · Markdown version