---
title: "What is refactoring in software engineering"  
description: "What is refactoring in software engineering"  
author: "Rahul Roi"  
published: 2019-12-12  
updated: 2019-12-12  
canonical: https://www.mindstick.com/forum/145580/what-is-refactoring-in-software-engineering  
category: "coding standard"  
tags: ["coding standard"]  
reading_time: 1 minute  

---

# What is refactoring in software engineering

What is refactoring in [software engineering](https://www.mindstick.com/blog/11283/sei-cmm-model-software-engineering-institute-capability-maturity-model)?\
Please help me to understand.\

## Replies

### Reply by Nishi Tiwari

Refactoring can be defined as the **process of changing the internal structure of the source code without changing the external behavior of the program**. Refactoring improves objective attributes of code such as length of code, duplication, cohesion, coupling and complexity. It helps in ease of maintenance of code and understanding of code. **It uses code reusability and [reduced complexity](https://www.mindstick.com/forum/145574/what-are-coding-standards-in-software-engineering) of program.**


---

Original Source: https://www.mindstick.com/forum/145580/what-is-refactoring-in-software-engineering

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
