Refactor is the present tense of refactored.
The third-person singular simple present indicative form of refactor is refactors.
The present participle of refactor is refactoring.
The past participle of refactor is refactored.