Analysis of Code Refactoring Impact on Software Quality

被引:9
|
作者
Kaur, Amandeep [1 ]
Kaur, Manpreet [1 ]
机构
[1] Punjab Tech Univ, Dept Comp Sci & Engn, Jalandhar, India
关键词
D O I
10.1051/matecconf/20165702012
中图分类号
S2 [农业工程];
学科分类号
0828 ;
摘要
Code refactoring is a "Technique used for restructuring an existing source code, improving its internal structure without changing its external behaviour". It is the process of changing a source code in such a way that it does not alter the external behaviour of the code yet improves its internal structure. It is a way to clean up code that minimizes the chances of introducing bugs. Refactoring is a change made to the internal structure of a software component to make it easier to understand and cheaper to modify, without changing the observable behaviour of that software component. Bad smells indicate that there is something wrong in the code that have to refactor. There are different tools that are available to identify and remove these bad smells. It is a technique that change our source code in a more readable and maintainable form by removing the bad smells from the code. Refactoring is used to improve the quality of software by reducing the complexity. In this paper bad smells are found and perform the refactoring based on these bad smell and then find the complexity of program and compare with initial complexity. This paper shows that when refactoring is performed the complexity of software decrease and easily understandable.
引用
收藏
页数:6
相关论文
共 50 条
  • [41] The impact of refactoring on maintability of Java code: A preliminary review
    Gradišnik, Mitja
    Karakatič, Sašo
    Beranič, Tina
    Heričko, Marjan
    Mauša, Goran
    Grbac, Tihana Galinac
    [J]. CEUR Workshop Proceedings, 2019, 2508
  • [42] The Characteristics and Impact of Uncompilable Code Changes on Software Quality Evolution
    He, Jincheng
    Min, Sitao
    Ogudu, Kelechi
    Shoga, Michael
    Polak, Alex
    Fostiropoulos, Iordanis
    Boehm, Barry
    Behnamghader, Pooyan
    [J]. 2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020), 2020, : 418 - 429
  • [43] Refactoring support based on code clone analysis
    Higo, Y
    Kamiya, T
    Kusumoto, S
    Inoue, K
    [J]. PRODUCT FOCUSED SOFTWARE PROCESS IMPROVEMENT, 2004, 3009 : 220 - 233
  • [44] B-Refactoring: Automatic test code refactoring to improve dynamic analysis
    Xuan, Jifeng
    Cornu, Benoit
    Martinez, Matias
    Baudry, Benoit
    Seinturier, Lionel
    Monperrus, Martin
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 76 : 65 - 80
  • [45] RefactorErl - Source Code Analysis and Refactoring in Erlang
    Bozo, Istvan
    Horpacsi, Daniel
    Horvath, Zoltan
    Kitlei, Robert
    Koszegi, Judit
    Tejfel, Mate
    Toth, Melinda
    [J]. 12TH SYMPOSIUM ON PROGRAMMING LANGUAGES AND SOFTWARE TOOLS, SPLST' 11, 2011, : 138 - 148
  • [46] An empirical study to improve software security through the application of code refactoring
    Mumtaz, Haris
    Alshayeb, Mohammad
    Mahmood, Sajjad
    Niazi, Mahmood
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 96 : 112 - 125
  • [47] A Systematic Literature Survey of Software Metrics, Code Smells and Refactoring Techniques
    Agnihotri, Mansi
    Chug, Anuradha
    [J]. JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2020, 16 (04): : 915 - 934
  • [48] An Automated Refactoring Approach to Improve IoT Software Quality
    Zhang, Yang
    Shao, Shuai
    Ji, Minghan
    Qiu, Jing
    Tian, Zhihong
    Du, Xiaojiang
    Guizani, Mohsen
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (01):
  • [49] Refactoring Techniques for Improving Software Quality: Practitioners' Perspectives
    Almogahed, Abdullah
    Omar, Mazni
    [J]. JOURNAL OF INFORMATION AND COMMUNICATION TECHNOLOGY-MALAYSIA, 2021, 20 (04): : 511 - 539
  • [50] A Classification of Refactoring Methods Based on Software Quality Attributes
    Elish, Karim O.
    Alshayeb, Mohammad
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2011, 36 (07) : 1253 - 1267