Turn copy-paste hotspots into shared, tested code.
code refactoring
Eliminates copy-paste duplication by refactoring detected clones into clear shared abstractions.
When to use it
Use after running jscpd to detect clones in source code.
Give it a target path in a project; it refactors detected clones, verifies their removal, and reports refactored and skipped candidates.
What you provide
No additional actions listed in the analysis.
jscpd must be runnable to identify duplications before the refactoring workflow begins.