Start Submission Become a Reviewer

Reading: An Empirical Exploration of Refactoring effect on Software Quality using External Quality Fa...

Download

A- A+
dyslexia friendly

Articles

An Empirical Exploration of Refactoring effect on Software Quality using External Quality Factors

Authors:

S H Kannangara ,

University of Kelaniya, LK
About S H
Department of Industrial Management, Faculty of Science
X close

W M J I Wijayanayake

University of Kelaniya, LK
About W M J I
Department of Industrial Management, Faculty of Science
X close

Abstract

Quality software are robust, reliable and easy to maintain, and therefore reduces the cost of software maintenance. Since software systems undergo modifications, improvements and enhancements to cope with evolving requirements, quality of software can be decreased. While software system is evolving, refactoring is one of the methods which have been applied with the purpose of improving the software quality. Refactoring is defined as the process of improving the design of the existing code by changing its internal structure without affecting its external behavior, with the main aims of improving the quality of software product. Therefore, there is a belief that refactoring improves quality factors such as understandability, flexibility, and reusability. However, there is limited empirical evidence to support such assumptions.

The objective of this study is to validate/invalidate the claims that refactoring improves software quality. Experimental research approach was used to achieve the objective and ten selected refactoring techniques were used for the analysis. The overall impact of selected refactoring techniques and the impact of individual refactoring technique were assessed based on external measures namely; analyzability, changeability, time behavior and resource utilization.

After analyzing the experimental results, overall analysis ended up with the result that refactoring deteriorates the code quality. However, individual analysis shows that some refactoring techniques improve the code quality while rest is deteriorating the code quality. Furthermore, among the tested ten refactoring techniques, “Replace Conditional with Polymorphism” ranked in the highest as having high percentage of improvement in code quality and “Introduce Null Object” was ranked as worst which is having highest percentage of deteriorate of code quality among the analyzed ten refactoring techniques.

International Journal on Advances in ICT for Emerging Regions 2014 07 (02)

DOI: http://dx.doi.org/10.4038/icter.v7i2.7156

How to Cite: Kannangara, S.H. & Wijayanayake, W.M.J.I., (2015). An Empirical Exploration of Refactoring effect on Software Quality using External Quality Factors. International Journal on Advances in ICT for Emerging Regions (ICTer). 7(2), pp.1–11. DOI: http://doi.org/10.4038/icter.v7i2.7156
Published on 20 Apr 2015.
Peer Reviewed

Downloads

  • PDF (EN)

    comments powered by Disqus