To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour(verb)
Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License
Use "refactor" in a sentence
"It is not yet clear whether scientists will attempt to package or refactor more traditional applications (which require high bandwidth, closely-coupled communications in many important domains) in ways that are well-suited for the cloud infrastructure, or whether cloud infrastructure providers will offer options that provide hardware suited for them."
"I isolated components for reusability where I found it useful – which is part of a long term plan to refactor a large part of the code base at work."
"Now, they managed through hard work to refactor the SAME error into ALL of their products."