Too Long; Didn't Read
Code refactoring is the process of restructuring the previously written code without changing the code functionality. Refactoring does not mean adding new features or re-writing code to fix any kind of bugs. There should be a well-written test case before refactoring code, such as test cases. The benefits of doing refactor include better code coverage, better code readability and easier to maintain and upgrade the codebase. The best practices we implemented to reduce time spent on refactororing are discussed below.