Code refactoring is a "technique for reorganising existing source code to improve its internal structure while preserving its external behaviour." It is the practise of altering source code in such a way that it improves its internal structure while leaving the code's external behaviour unchanged. It's a technique for cleaning up code that reduces the risk of bugs being introduced. Refactoring is a change to a software component's internal structure that makes it easier to understand and modify without affecting the software component's observable behaviour. Bad odours signal that something is amiss with the code and that it needs to be refactored. There are a variety of techniques available to identify and eliminate these foul odours. It's a strategy for making our source code more readable and maintainable by reducing the code's unpleasant odours. Refactoring is a technique for improving software quality by reducing complexity. In this work, bad smells are discovered, refactoring is performed based on these bad smells, and the complexity of the programme is determined and compared to the initial complexity. After refactoring, the complexity of our project is reduced, and the quality of our project improves. This paper demonstrates how refactoring reduces software complexity and makes it more intelligible.
Author(s) DetailsAmandeep Kaur
Computer Science and Engineering Department, Punjab Technical University, Jalandhar, India.
Manpreet Kaur
Computer Science and Engineering Department, Punjab Technical University, Jalandhar, India.
View Book :- https://stm.bookpi.org/AAER-V7/article/view/963
No comments:
Post a Comment