Identification and Refactoring of Bad Smells to Improve Code Quality
Journal: International Journal of Scientific Engineering and Research (IJSER) (Vol.3, No. 8)Publication Date: 2015-08-05
Authors : Sandeep Kaur; Harpreet Kaur;
Page : 99-102
Keywords : Refactoring; Bad smells; Detection; Window based GUI.;
Abstract
Bad Smells are design flaws in the code that make an architectural design weaken and bad. Bad smells does not prevent our source code to show any input. There is no any effect of the bad smells on output of the source code. But due to the bad smells our source code becomes hard to modify and understand. Presentation of bad smells in the code prioritized for refactoring. Therefore detection and refactoring of these bad smells is must. But with the assistance of the refactoring we can eliminate these design flaws and convert a suboptimal into optimal code. Refactoring is used to expose the bugs from the source code. Refactoring is a technique that makes the source code of the software easier, more readable, more efficient, more extendable and more understandable by eliminating the bad smells from the source code. Even the traditional software development methods that also start with a better design, but when we want to apply some changes to that software it may lead to a suboptimal design. Software whose requirements is changed or is under specification is a sub optimal design. Although a source code also has a bad smells in it that make the source code irrelevant and difficult for the programmers.
Other Latest Articles
- Use of Honeypot and IP Tracing Mechanism for Prevention of DDOS Attack
- The Effect of Heat Treatment on the Mechanical Properties of Stainless Steel Type 304
- A New Approach for Colour Texture Segmentation Based on SRM
- Emotional Intelligence and Academic Achievement of Secondary School Students in Mathematics
- A Verified Technique for Colon Cancer Analysis with Minimum Number of Features
Last modified: 2021-07-08 15:26:54