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 条
  • [1] Code Refactoring and its Impact on Internal and External Software Quality: An Experimental Study
    Alawairdhi, Mohammed
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2019, 19 (06): : 12 - 17
  • [2] On the Impact of Refactoring Operations on Code Quality Metrics
    Chaparro, Oscar
    Bavota, Gabriele
    Marcus, Andrian
    Di Penta, Massimiliano
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 456 - 460
  • [3] The Impact of Refactoring to Patterns on Software Quality Attributes
    Mohammad Alshayeb
    [J]. Arabian Journal for Science and Engineering, 2011, 36 : 1241 - 1251
  • [5] On evaluating the impact of the refactoring of architectural problems on software quality
    Fontana, Francesca Arcelli
    Roveda, Riccardo
    Vittori, Stefano
    Metelli, Andrea
    Saldarini, Stefano
    Mazzei, Francesco
    [J]. PROCEEDINGS OF THE XP2016 SCIENTIFIC WORKSHOPS, 2016,
  • [6] Impact of Refactoring on External Code Quality Improvement: An Empirical Evaluation
    Kannangara, S. H.
    Wijayanayake, W. M. J. I.
    [J]. 2013 INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER), 2013, : 60 - 67
  • [7] Impact of Software Refactoring on Software Quality in the Industrial Environment: A Review of Empirical Studies
    Almogahed, Abdullah
    Omar, Mazni
    Zakaria, Nur Haryani
    [J]. PROCEEDINGS OF KNOWLEDGE MANAGEMENT INTERNATIONAL CONFERENCE (KMICE) 2018, 2018, : 229 - 234
  • [8] Impact of Metrics based Refactoring on the Software Quality: a Case Study
    Shrivastava, Suprika Vasudeva
    Shrivastava, Vishal
    [J]. 2008 IEEE REGION 10 CONFERENCE: TENCON 2008, VOLS 1-4, 2008, : 439 - +
  • [9] Improving the Quality of Software by Refactoring
    Kaur, Gurpreet
    Singh, Balraj
    [J]. 2017 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICICCS), 2017, : 185 - 191
  • [10] Software Testing and Code Refactoring: A Survey with Practitioners
    Lima, Danilo Leandro
    Santos, Ronnie de Souza
    Garcia, Guilherme Pires
    da Silva, Sildemir S.
    Franca, Cesar
    Capretz, Luiz Fernando
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 500 - 507